Qt5Compat not installed
-
@chairman
As per Qt Docs import statementimport Qt5Compat.GraphicalEffects
https://doc-snapshots.qt.io/qt6-dev/graphicaleffects5.html
in order to link against the module in cmake
find_package(Qt6 COMPONENTS Core5Compat REQUIRED)
target_link_libraries(mytarget PUBLIC Qt6::Core5Compat)
https://doc.qt.io/qt-6/qtcore5-index.html -
Pleas re-read your post and ask yourself if someone without your own knowledge can really understand what your problem is.
-
@chairman
As per Qt Docs import statementimport Qt5Compat.GraphicalEffects
https://doc-snapshots.qt.io/qt6-dev/graphicaleffects5.html
in order to link against the module in cmake
find_package(Qt6 COMPONENTS Core5Compat REQUIRED)
target_link_libraries(mytarget PUBLIC Qt6::Core5Compat)
https://doc.qt.io/qt-6/qtcore5-index.html -
-
Thanks, it worked with C++ by adding below line
in project.pro, unfortunately python project don't create this file.
But incase anyone else has a python workaround please share.QT += core5compat