Missing libraries QtQuick
-
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?
-
@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?
-
Thank you, I tested again and these are the results:
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?
-
@Matthew0x In maintenance tool expand the Qt version you installed, there should be at least QtWebEngine.
-
I think that I found my answer
https://wiki.qt.io/Qt_6.0.0_Modules
Not supported.
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...