Configure qt module with cmake fails
Solved
Installation and Deployment
-
hello,
i need the svg module additionally and try to configure this with the cmake-gui.
unfortunately i get a failure and have no clue why.CMake Error at /opt/homebrew/lib/cmake/Qt6/QtFeature.cmake:1135 (message): Feature force_asserts is already defined to be "OFF" and should now be set to "ON" when importing features from Qt6::Core. Call Stack (most recent call first): /opt/homebrew/lib/cmake/Qt6Core/Qt6CoreConfig.cmake:118 (qt_make_features_available) /opt/homebrew/lib/cmake/Qt6/Qt6Config.cmake:177 (find_package) CMakeLists.txt:21 (find_package)
how can i set
Feature force_asserts
toON
like it is wished by cmake? -
@Quorn-Julio
dont use cmake-gui.
simple execute (in a build directory, can also be a new folder):<QTDIR>\bin\qt-configure-module <module-src-path> cmake --build .
it already takes care of everything