summaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorCristian Adam <cristian.adam@qt.io>2022-09-15 13:32:04 +0200
committerCristian Adam <cristian.adam@qt.io>2022-09-15 13:21:49 +0000
commit1323ad395a3a3d6824a34454e4d48fe24c939dc0 (patch)
tree7fb0a57ff122d4151c370a102aaa7e6911572ce7 /README.md
parente57b797342e24bf2edf3f67411863bc1f8bc284d (diff)
downloadqt-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.md8
1 files changed, 8 insertions, 0 deletions
diff --git a/README.md b/README.md
index 50c10733d6..50dd9152a0 100644
--- a/README.md
+++ b/README.md
@@ -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.