[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Search methods added to the WebView control


On 18/4/25 02:31, Claus Dietrich wrote:
2. Currently we load the HTML into the WebView (gb.qt5.webview) with

    WebViewDocView.Url = "file:///" & Application.Path &/ "program_doc/ doc.html"


By using Application.Path you're effectively hard coding the path to the webpage as "wherever the application is". For that to work you'd have to distribute the webpage with the executable, to be placed in the same folder as the executable.

Does putting the Webpage & files within the Appimage in the same folder as the executable not work?

--
Regards
Denis


Follow-Ups:
Re: Search methods added to the WebView controlClaus Dietrich <claus.dietrich@xxxxxxxxxx>
References:
Search methods added to the WebView controlBenoît Minisini <benoit.minisini@xxxxxxxxxxxxxxxx>
Re: Search methods added to the WebView controlClaus Dietrich <claus.dietrich@xxxxxxxxxx>
Re: Search methods added to the WebView controlClaus Dietrich <claus.dietrich@xxxxxxxxxx>
Re: Search methods added to the WebView controlBenoît Minisini <benoit.minisini@xxxxxxxxxxxxxxxx>
Re: Search methods added to the WebView controlClaus Dietrich <claus.dietrich@xxxxxxxxxx>
Re: Search methods added to the WebView controlClaus Dietrich <claus.dietrich@xxxxxxxxxx>