diff options
author | Alexey Rusakov <Kitsune-Ral@users.sf.net> | 2022-09-07 22:11:51 +0200 |
---|---|---|
committer | Alexey Rusakov <Kitsune-Ral@users.sf.net> | 2022-09-09 18:17:22 +0200 |
commit | a3ab7dc4bc7cd538d922ea69d2dad158e7bc9770 (patch) | |
tree | 210668ca3bb10a25b13b1cb2ca68219b101ec7c5 /README.md | |
parent | 16350ce5c6fc020474c6980e3e72ab369e8b33f4 (diff) | |
download | libquotient-a3ab7dc4bc7cd538d922ea69d2dad158e7bc9770.tar.gz libquotient-a3ab7dc4bc7cd538d922ea69d2dad158e7bc9770.zip |
README: add a troubleshooting case with mixed Qt 5/6
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 14 |
1 files changed, 14 insertions, 0 deletions
@@ -173,6 +173,20 @@ by setting `Quotient_INSTALL_TESTS` to `OFF`. "Qt5Widgets", but CMake did not find one. ``` then you need to set the right `-DCMAKE_PREFIX_PATH` variable, see above. + +- If `cmake` fails with a message similar to: + ``` + CMake Error at /usr/lib64/cmake/Qt6Core/Qt6CoreVersionlessTargets.cmake:37 (message): + Some (but not all) targets in this export set were already defined. + + Targets Defined: Qt::Core + + Targets not yet defined: Qt::CorePrivate + ``` + then you likely have both Qt 5 and Qt 6 on your system, and your client code + uses a different major version than Quotient. Make sure you use the client + version that matches libQuotient (e.g. you can't configure Quaternion 0.0.95 + with libQuotient 0.7 in Qt 6 mode). - If you use GCC and get an "unknown declarator" compilation error in the file `qtconcurrentthreadengine.h` - unfortunately, it is an actual error in Qt 5.15 |