Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    Unsolved WebView / WebEngine do not work as standalone

    General and Desktop
    2
    6
    938
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • W
      Wowalive last edited by

      Hi guys,

      I'm trying to run the Qt WebView minibrowser example on Windows 10. It works perfectly for me until I deploy the application on windows. When I change the Qt directory to "QtHidden" it stops working. There is no error, the app just closes immediately after starting. I copied all the necessary Qt files into my Deployment folder as described here: https://wiki.qt.io/Deploy_an_Application_on_Windows

      I am using the MSVC2017 64bit Desktop Kit and Qt 5.10.1. Are there any known issues for Webview / Webengine on Windows? On other platforms it runs like a charm.

      I hope you can help me.

      Greets,
      wowalive

      1 Reply Last reply Reply Quote 0
      • SGaist
        SGaist Lifetime Qt Champion last edited by

        Hi and welcome to devnet,

        How did you deploy your application ? Using windeplyoqt ?

        Interested in AI ? www.idiap.ch
        Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

        1 Reply Last reply Reply Quote 1
        • W
          Wowalive last edited by

          No I used the approach from https://wiki.qt.io/Deploy_an_Application_on_Windows, like I did years before. -.-

          Thank you so much for the windeployqt hint. Now webview is running. Its so much faster and better to deploy with this method.

          Do you know a similar approach to deploy on android? The SSL connection via QNetworkRequest isn't working. There are problems with the app native libraries: Unautohorizied access to "libcrypto.so" and "libssl.so".

          1 Reply Last reply Reply Quote 0
          • SGaist
            SGaist Lifetime Qt Champion last edited by

            There's a dedicated page about OpenSSL on Android in Qt's documentation.

            Interested in AI ? www.idiap.ch
            Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

            1 Reply Last reply Reply Quote 1
            • W
              Wowalive last edited by

              Thanks. Since I got some problems because I'am deploying with macOS (see: https://bugreports.qt.io/browse/QTBUG-59375), I finally did it with the modified script from ekke https://github.com/ekke/android-openssl-qt.

              Thank you for the hint.

              1 Reply Last reply Reply Quote 0
              • SGaist
                SGaist Lifetime Qt Champion last edited by

                You're welcome !

                Since you have it working now please mark the thread as solved using the "Topic Tools" button so that other forum users may know a solution has been found :)

                Interested in AI ? www.idiap.ch
                Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

                1 Reply Last reply Reply Quote 0
                • First post
                  Last post