I recently tried upgrading Qt to 5.2, so I uninstalled my previous version (using MaintenanceTool.app) and downloaded and installed the latest version. This completely broke him. Whenever I try to create a project, it says:
The Qt version is invalid: Qt version is not properly installed, please run make install.
And when you open a sample project, he says in general messages:
Error while parsing file /Users/thisuser/Qt/5.2.0/5.2.0/clang_64/examples/gui/analogclock/analogclock.pro. Giving up.
Could not find qmake configuration file default.
Cannot read /usr/local/Qt-5.2.0/mkspecs/macx-clang/qmake.conf: No such file or directory
Could not read qmake configuration file /usr/local/Qt-5.2.0/mkspecs/macx-clang/qmake.conf.
Project ERROR: Unknown module(s) in QT: gui core
Project ERROR: Unknown module(s) in QT: gui core
I checked this path ( /usr/local/Qt-5.2.0/mkspecs/macx-clang/), and in reality there is no such thing: there is not even a directory /usr/local/Qt-5.2.0. I already uninstalled everything again and then installed it again, but that didn't help at all. Anyone have suggestions on what to do?
My OS is OSX Lion.
source
share