Unsolved cmake configuration & qt version
-
I am trying to resolve this error on cmake:
my version of qt:
i've realised that i'm using 4.11.1, is it producing an error because its the wrong version number? thank you
-
It says
Qt Creator Ver. 4.11.1
Your Qt Version is 5.14.1 as written in the next line.Did you only install Qt Creator or do you have any other version of Qt installed?
-
Thank you for your response, i also installed Qt component 5.9.9
-
@Pl45m4 said in cmake configuation & qt version:
Your Qt Version is 5.14.1 as written in the next line.
Not necesserily. It's the version which was used to build Qt.
-
@tracy_nk What CMake version do you use?
-
@tracy_nk To help you, we need more informations like:
- you have installed Qt Creator 4.11.1 (which was build with Qt 5.14.1), but this is only an IDE. So what Qt Kit do you have installed?
- which CMake version are you using? Are you using CMake 3.16.0, which is available with Qt Maintenance Tool?
-
I'm assuming I have Qt 5.9.9 based on the picture below:
I'm using CMakke 3.16.0-rc3
-
@tracy_nk Take a look at this: https://doc.qt.io/qt-5/cmake-get-started.html
Try to set CMAKE_PREFIX_PATH as described there. -
Ah, good to know.
Thought, if you download just Qt Creator, you get the Qt version which is shown in this aboutDialog.