Details
-
Bug
-
Resolution: Unresolved
-
P4: Low
-
None
-
QDS 4.7.0
-
None
-
-
QDS Berlin - 2025 Week 13/14
Description
cmake -G Ninja -DCMAKE_PREFIX_PATH=~/Qt/6.8.2/gcc_64 ../qtquickdesigner-components
When using a ~ in the CMAKE_PREFIX_PATH the process will output the following warning:
CMake Warning at CMakeLists.txt:56 (message):
Could not extract Qt version from
~/Qt/6.8.2/gcc_64/lib/cmake/Qt6/Qt6ConfigVersionImpl.cmake. Please check
if the file exists and contains the PACKAGE_VERSION.
which will lead to further warnings like this
CMake Warning at CMakeLists.txt:96 (message): STUDIO_COMPONENTS_VERSION (6.0.0) does not match the found Qt version (6.8.2).
A solution to the problem is to not use relative paths, but absolute path like the following:
cmake -G Ninja -DCMAKE_PREFIX_PATH=/home/hag/Qt/6.8.2/gcc_64 ../qtquickdesigner-components
Attachments
Issue Links
- mentioned in
-
Page Loading...