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. Missing libraries QtQuick
QtWS25 Last Chance

Missing libraries QtQuick

Scheduled Pinned Locked Moved Unsolved QML and Qt Quick
qtquickwebsocketwebengineview
5 Posts 2 Posters 1.2k 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
    Matthew0x
    wrote on last edited by
    #1

    Hello,

    I am not sure whether I am trying to do something in a wrong way, or perhaps it is how things are...

    My project/idea involves communication over local network and I wanted to try out libraries like:

    #include <QWebEngineView>
    #include <QtWebSockets/QtWebSockets>
    #include <qtwebengineglobal.h>

    Neither of them was found...

    They're libraries from publicly available guides about Qt.
    Are they available only in Qt Designer??

    https://doc.qt.io/qt-5/qtwebengine-webengine-minimal-example.html
    This guide is using it in Qt Quick, then Qml objects are imported into a file.

    https://doc.qt.io/qt-5/qtwebsockets-index.html
    This guide does the same thing.

    What's wrong?

    jsulmJ 1 Reply Last reply
    0
    • M Matthew0x

      Hello,

      I am not sure whether I am trying to do something in a wrong way, or perhaps it is how things are...

      My project/idea involves communication over local network and I wanted to try out libraries like:

      #include <QWebEngineView>
      #include <QtWebSockets/QtWebSockets>
      #include <qtwebengineglobal.h>

      Neither of them was found...

      They're libraries from publicly available guides about Qt.
      Are they available only in Qt Designer??

      https://doc.qt.io/qt-5/qtwebengine-webengine-minimal-example.html
      This guide is using it in Qt Quick, then Qml objects are imported into a file.

      https://doc.qt.io/qt-5/qtwebsockets-index.html
      This guide does the same thing.

      What's wrong?

      jsulmJ Offline
      jsulmJ Offline
      jsulm
      Lifetime Qt Champion
      wrote on last edited by
      #2

      @Matthew0x said in Missing libraries QtQuick:

      What's wrong?

      QWebEngine - is a separate module (you need to select it in Qt Maintenance Tool to install)

      Do you have

      QT += websockets
      QT += webengine
      

      in your pro file?

      https://forum.qt.io/topic/113070/qt-code-of-conduct

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

        Thank you, I tested again and these are the results:

        388d1006-5332-4e5e-9e58-b92c7bb3125b-image.png

        a9803e17-c0f0-40e8-afc8-d9d4ce56fdff-image.png

        107eadc9-621f-4a33-8cfd-16d4fe4e61a6-image.png

        I tried again to find any modules called webengine or websockets in the maintain tool, but I can't find these.
        The version of Qt I am currently using is 6.0.2, because I thought that it was a good idea to pick the newest branch with QML.

        Is it any of these?
        d9bbd50e-aabe-4dc0-a08d-9684ec910216-image.png

        jsulmJ 1 Reply Last reply
        0
        • M Matthew0x

          Thank you, I tested again and these are the results:

          388d1006-5332-4e5e-9e58-b92c7bb3125b-image.png

          a9803e17-c0f0-40e8-afc8-d9d4ce56fdff-image.png

          107eadc9-621f-4a33-8cfd-16d4fe4e61a6-image.png

          I tried again to find any modules called webengine or websockets in the maintain tool, but I can't find these.
          The version of Qt I am currently using is 6.0.2, because I thought that it was a good idea to pick the newest branch with QML.

          Is it any of these?
          d9bbd50e-aabe-4dc0-a08d-9684ec910216-image.png

          jsulmJ Offline
          jsulmJ Offline
          jsulm
          Lifetime Qt Champion
          wrote on last edited by
          #4

          @Matthew0x In maintenance tool expand the Qt version you installed, there should be at least QtWebEngine.

          https://forum.qt.io/topic/113070/qt-code-of-conduct

          1 Reply Last reply
          0
          • M Offline
            M Offline
            Matthew0x
            wrote on last edited by
            #5

            I think that I found my answer

            https://wiki.qt.io/Qt_6.0.0_Modules

            Not supported.

            7fb19ebb-b687-401d-ada4-2a18e374bf8b-image.png

            Thanks for help. I guess I will have to try to rollback.
            I wanted to write a small simple app for (for now) my own use, but the functionalities seem to be pretty restricted on Qt 6.0 then...

            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