Fusion Style
-
Hi all,
Using this example I added the line
QQuickStyle::setStyle("Fusion");
to the main.cpp but I get this error:
error: 'QQuickStyle' has not been declaredI tried including
#include <QQuickStyle>
but it didn't sort the problem out!
Any idea, please? -
This is my main.cpp (regarding the caveat you mentioned):
A question. When we see somethings like:
as the requirements of using a feature, we need to follow them. That is, I should add that line in the CMakeLists.txt file of the project. Right?
@qcoderpro said in Fusion Style:
I should add that line in the CMakeLists.txt file of the project. Right?
yes
-
Read the docs: https://doc.qt.io/qt-6/qquickstyle.html there are some caveats specified there.
-
Read the docs: https://doc.qt.io/qt-6/qquickstyle.html there are some caveats specified there.
This is my main.cpp (regarding the caveat you mentioned):
A question. When we see somethings like:
as the requirements of using a feature, we need to follow them. That is, I should add that line in the CMakeLists.txt file of the project. Right?
-
This is my main.cpp (regarding the caveat you mentioned):
A question. When we see somethings like:
as the requirements of using a feature, we need to follow them. That is, I should add that line in the CMakeLists.txt file of the project. Right?
@qcoderpro said in Fusion Style:
I should add that line in the CMakeLists.txt file of the project. Right?
yes