Cannot #include<QQuickStyle>
Solved
QML and Qt Quick
-
@ggalt The second line of the table a the top of the class documentation gives you the exact cmake instructions
-
@SGaist - I am still on Qt5 - what is the cmake instruction for that? I get a cmake error:
find_package( Qt5 COMPONENTS Gui Widgets Quick QuickControls2 REQUIRED)
Gives:
CMake Error at /usr/lib/x86_64-linux-gnu/cmake/Qt5/Qt5Config.cmake:28 (find_package): Could not find a package configuration file provided by "Qt5QuickControls2" with any of the following names: Qt5QuickControls2Config.cmake qt5quickcontrols2-config.cmake