Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QML and Qt Quick
  4. Not works QtWebEngine
Qt 6.11 is out! See what's new in the release blog

Not works QtWebEngine

Scheduled Pinned Locked Moved Solved QML and Qt Quick
4 Posts 2 Posters 946 Views
  • 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.
  • M Offline
    M Offline
    Mikeeeeee
    wrote on last edited by
    #1

    Hi!
    Not works QtWebEngine.
    If I do this in .pro-file:

    QT += quick qml network positioning location webengine
    

    I get error: Unknown module(s) in QT: webengine
    If I do this in .pro-file:

    QT += quick qml network positioning location 
    

    and this in qml-file:

    import QtWebEngine 1.9
    

    I get error:
    QQmlApplicationEngine failed to load component
    qrc:/main.qml:7 module "QtWebEngine" is not installed
    How to fix this?

    KroMignonK 1 Reply Last reply
    0
    • M Mikeeeeee

      Hi!
      Not works QtWebEngine.
      If I do this in .pro-file:

      QT += quick qml network positioning location webengine
      

      I get error: Unknown module(s) in QT: webengine
      If I do this in .pro-file:

      QT += quick qml network positioning location 
      

      and this in qml-file:

      import QtWebEngine 1.9
      

      I get error:
      QQmlApplicationEngine failed to load component
      qrc:/main.qml:7 module "QtWebEngine" is not installed
      How to fix this?

      KroMignonK Offline
      KroMignonK Offline
      KroMignon
      wrote on last edited by
      #2

      @Mikeeeeee It would be great if you detail which version of Qt Kit you are using (not Qt Creator!)
      And then, check if you have select Qt Web Engine to be installed, for example I don't have select it:
      0_1561562714247_522fc847-126f-4f23-b113-274569de01a6-image.png

      It is an old maxim of mine that when you have excluded the impossible, whatever remains, however improbable, must be the truth. (Sherlock Holmes)

      1 Reply Last reply
      1
      • M Offline
        M Offline
        Mikeeeeee
        wrote on last edited by
        #3

        Worked with the MSVC 2019 compiler, but how does it compile for android and iOS?

        KroMignonK 1 Reply Last reply
        0
        • M Mikeeeeee

          Worked with the MSVC 2019 compiler, but how does it compile for android and iOS?

          KroMignonK Offline
          KroMignonK Offline
          KroMignon
          wrote on last edited by
          #4

          @Mikeeeeee said in Not works QtWebEngine:

          but how does it compile for android and iOS?

          According to documentation https://doc.qt.io/qt-5/qtwebengine-platform-notes.html#, Android is not supported.

          It is an old maxim of mine that when you have excluded the impossible, whatever remains, however improbable, must be the truth. (Sherlock Holmes)

          1 Reply Last reply
          2

          • Login

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