[solved] Qt Creator message "Qt version in not properly installed, please run make install" (Windows, precompiled libraries)
-
I've just downloaded the precompiled libraries from "http://releases.qt-project.org/qt4/source/qt-win-opensource-4.8.3-vs2010.exe":http://releases.qt-project.org/qt4/source/qt-win-opensource-4.8.3-vs2010.exe and "http://releases.qt-project.org/qt4/source/qt-win-opensource-4.8.3-mingw.exe":http://releases.qt-project.org/qt4/source/qt-win-opensource-4.8.3-mingw.exe .
In every version of QtCreator I get the error message "Qt Creator message Qt version in not properly installed, please run make install".The development system is Windows7 with current QtSDK and QtCreator 2.5.2 and QtCreator 2.6RC on top.
After some digging in this forum I fired up qmake -query
@c:\QtSDK\Desktop\Qt\4.8.3_vs2010\qmake>qmake -query
QT_INSTALL_PREFIX:C:\iwmake\build_vs2010_opensource_________________PADDING_________________
QT_INSTALL_DATA:C:\iwmake\build_vs2010_opensource_________________PADDING_________________
QT_INSTALL_DOCS:C:\iwmake\build_vs2010_opensource_________________PADDING_________________\doc
QT_INSTALL_HEADERS:C:\iwmake\build_vs2010_opensource_________________PADDING_________________\include
QT_INSTALL_LIBS:C:\iwmake\build_vs2010_opensource_________________PADDING_________________\lib
QT_INSTALL_BINS:C:\iwmake\build_vs2010_opensource_________________PADDING_________________\bin
QT_INSTALL_PLUGINS:C:\iwmake\build_vs2010_opensource_________________PADDING_________________\plugins
QT_INSTALL_IMPORTS:C:\iwmake\build_vs2010_opensource_________________PADDING_________________\imports
QT_INSTALL_TRANSLATIONS:C:\iwmake\build_vs2010_opensource_________________PADDING_________________\translations
QT_INSTALL_CONFIGURATION:C:/iwmake/build_vs2010_opensource_________________PADDING_________________
QT_INSTALL_EXAMPLES:C:\iwmake\build_vs2010_opensource_________________PADDING_________________\examples
QT_INSTALL_DEMOS:C:\iwmake\build_vs2010_opensource_________________PADDING_________________\demos
QMAKE_MKSPECS:C:\iwmake\build_vs2010_opensource_________________PADDING_________________\mkspecs
QMAKE_VERSION:2.01a
QT_VERSION:4.8.3@and
@c:\QtSDK\Desktop\Qt\4.8.3_MinGW\qmake>qmake -query
QT_INSTALL_PREFIX:C:\iwmake\build_mingw_opensource
QT_INSTALL_DATA:C:/iwmake/build_mingw_opensource
QT_INSTALL_DOCS:C:/iwmake/build_mingw_opensource/doc
QT_INSTALL_HEADERS:C:/iwmake/build_mingw_opensource/include
QT_INSTALL_LIBS:C:/iwmake/build_mingw_opensource/lib
QT_INSTALL_BINS:C:/iwmake/build_mingw_opensource/bin
QT_INSTALL_PLUGINS:C:/iwmake/build_mingw_opensource/plugins
QT_INSTALL_IMPORTS:C:/iwmake/build_mingw_opensource/imports
QT_INSTALL_TRANSLATIONS:C:/iwmake/build_mingw_opensource/translations
QT_INSTALL_CONFIGURATION:C:/iwmake/build_mingw_opensource
QT_INSTALL_EXAMPLES:C:/iwmake/build_mingw_opensource/examples
QT_INSTALL_DEMOS:C:/iwmake/build_mingw_opensource/demos
QMAKE_MKSPECS:C:/iwmake/build_mingw_opensource\mkspecs
QMAKE_VERSION:2.01a
QT_VERSION:4.8.3@So obviously those directories do not exist on my system.
All sources I found so far tell me to call "make install" like in the error message.How am I supposed to do that with a precompiled library? Is there another way to (re)set the environment?
Thanks! :-)
P.S.: the installer of those libraries wanted "C:\Qt...", even that would not fit.
-
Had no time so far to investigate any further. Just called qmake without any parameters a few seconds ago and the following two lines pop up (among others):
@
-set <prop> <value> Set persistent property
-query <prop> Query persistent property. Show all if <prop> is empty.
@So, if query pulls the properties, set seems to be the right command to change properties.
Got no Windows machine at home, so I will try this at work tomorrow. -
Oh boy, didn't see the wood for the trees...
Just take the qmake version from the bin folder and not the one in the qmake folder and you are ready to go.