Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. WebView / WebEngine do not work as standalone
Qt 6.11 is out! See what's new in the release blog

WebView / WebEngine do not work as standalone

Scheduled Pinned Locked Moved Unsolved General and Desktop
6 Posts 2 Posters 1.4k Views 1 Watching
  • 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 Offline
    W Offline
    Wowalive
    wrote on last edited by
    #1

    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
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      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
      1
      • W Offline
        W Offline
        Wowalive
        wrote on last edited by
        #3

        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
        0
        • SGaistS Offline
          SGaistS Offline
          SGaist
          Lifetime Qt Champion
          wrote on last edited by
          #4

          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
          1
          • W Offline
            W Offline
            Wowalive
            wrote on last edited by
            #5

            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
            0
            • SGaistS Offline
              SGaistS Offline
              SGaist
              Lifetime Qt Champion
              wrote on last edited by
              #6

              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
              0

              • Login

              • Login or register to search.
              • First post
                Last post
              0
              • Categories
              • Recent
              • Tags
              • Popular
              • Users
              • Groups
              • Search
              • Get Qt Extensions
              • Unsolved