Solved QQuickView not recognized as a class
-
I have a very strange issue, i've included #include <QQuickView> in my header file, and tried including in my cpp file AND tried both at the same time and Qt does not seem to recognize it as a file or class. I'm trying to use QML in one of my QWidget's frames and QQuickView would enable me to do that (allegedly). Is there a package I'm missing?
-
@abanksdev
Hi
and you have
QT += qml
QT += quick
in .pro file ?(if not, run qmake after adding it )
The docs always list modules needed for a given class
-
#include <QQmlApplicationEngine> is also not recognized nor is #include <QQuickView>
-
@abanksdev
Hi
and you have
QT += qml
QT += quick
in .pro file ?(if not, run qmake after adding it )
The docs always list modules needed for a given class
-