Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
Qt5.9 cannot parsing .pro file
I installed a new version of Qt(5.9.2).
In QtCreator, It can't open Qt project when I choose Qt5.9.2.
There is the error information.
/usr/local/Qt5.9.2/mkspecs/features/toolchain.prf(70): system(execute) requires one or two arguments.
Project ERROR: Cannot run compiler 'g++'. Maybe you forgot to setup the environment?
Error while parsing file /home/wuyin/workspace_v2.2/unispim/tools/unispy-updater-daemon/unispy_updater_daemon.pro. Giving up.
I also have Qt5.6 and Qt4 in my system, Does it caused error.
@chris_rookie Please check your 5.9.2 (this isn't a new Qt version by the way) Kit in QtCreator. It looks like it is not configured properly. Also what is your OS and GCC version?
My Qtcreator version information is 'Qt Creator 4.0.2 based on Qt 5.6.1'.
And I configured as following picture.
I set through Tools->Options->Build & Run ->Kit -> Manual -> Qt version
OS is Ubuntu.
GCC version is : gcc version 5.4.0 20160609 (Ubuntu 5.4.0-6kord1~16.04.5).
should I install a new version of QtCreator.
@chris_rookie Sorry, but in that picture I cannot see your Kit configuration, it provides me the same information you already provided in your first post. Are there any warnings/errors in your Kit (yellow exclamation mark or red sign)?
I saw the warnings.
the information is qmlscene uninstalled.
but I also saw it in qt5.6, 5.6 works well.
@chris_rookie And the compiler is set properly in the Kit?
It works just after I change the Qt version to 5.6.