diff options
author | Cristian Adam <cristian.adam@qt.io> | 2022-09-15 13:32:04 +0200 |
---|---|---|
committer | Cristian Adam <cristian.adam@qt.io> | 2022-09-15 13:21:49 +0000 |
commit | 1323ad395a3a3d6824a34454e4d48fe24c939dc0 (patch) | |
tree | 7fb0a57ff122d4151c370a102aaa7e6911572ce7 /README.md | |
parent | e57b797342e24bf2edf3f67411863bc1f8bc284d (diff) | |
download | qt-creator-1323ad395a3a3d6824a34454e4d48fe24c939dc0.tar.gz |
README: Add notes regarding correct Qt CMAKE_PREFIX_PATH
Users pass the value for Qt in `CMAKE_PREFIX_PATH` too deep like:
c:/Qt/6.2.4/msvc2019_64/lib/cmake/Qt6 and CMake can't find
all the components and weird errors are generated.
Task-number: QTCREATORBUG-28178
Change-Id: Icef7aef9e0933bd326ebd904623aac80c9f8e8c8
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -66,6 +66,9 @@ Note that if you install Qt via the online installer, the path to Qt must include the version number and compiler ABI. The path to the online installer content is not enough. +Note that `/path/to/Qt` doesn't imply the full path depth like: +`$USER/Qt/6.2.4/gcc_64/lib/cmake/Qt6`, but only `$USER/Qt/6.2.4/gcc_64`. + See [instructions](#getting-llvmclang-for-the-clang-code-model) on how to get LLVM. @@ -85,6 +88,11 @@ Note that if you install Qt via the online installer, the path to Qt must include the version number and compiler ABI. The path to the online installer content is not enough. +Note that `\path\to\Qt` doesn't imply the full path depth like: +`c:\Qt\6.2.4\msvc2019_64\lib\cmake\Qt6`, but only `c:/Qt/6.2.4/msvc2019_64`. +The usage of slashes `/` is intentional, since CMake has issues with backslashes `\` +in `CMAKE_PREFX_PATH`, they are interpreted as escape codes. + See [instructions](#getting-llvmclang-for-the-clang-code-model) on how to get LLVM. |