Graphical Effects for Qt, with original features but for Qt6, ported from qt/qtgraphicaleffects
-
Clone qtgraphicaleffects repo to your project
-
Add following lines to your CMakeLists.txt
add_subdirectory(QtGraphicalEffects) # where 'QtGraphicalEffects' is the path to QtGraphicalEffects
# These two lines make Qt Creator recognize QGE QML module.
list(APPEND QML_DIRS "${CMAKE_CURRENT_BINARY_DIR}/") # As above
set(QML_IMPORT_PATH "${QML_DIRS}" CACHE STRING "Qt Creator 4.1 extra qml import paths")
- Add following lines to your
main.cpp
// QQmlApplicationEngine engine;
// to make sure QGE module can be found at runtime.
engine.addImportPath(app.applicationDirPath());
(TODO)
Following Qt, it's licensed under both BSD and FDL.