Qt version is not properly installed
We got a pre-compiled Qt 4.7.4 SDK from my workmate. We copied it to my Ubuntu 12.04 LTS and use Qt creator 2.7.1 to add a new Qt version. When I select the qmake, Qt creator said "Qt version is not properly installed...".
After surfing the internet, someone mentioned the root cause in the below link.
http://qt-project.org/forums/viewthread/6044
Basically, this is because the Qt creator cannot find the Qt headers and binaries by reading the path specified by QT_INSTALL_BINS and QT_INSTALL_HEADERS. We can know what they are by specifying "qmake -query".
The paths showed from above command is different to the pre-compiled Qt 4.7.4 SDK, so we make a symbolic link to it. After this change, the Qt creator can read the correct Qt headers and binaries.
So, problem solved.
After surfing the internet, someone mentioned the root cause in the below link.
http://qt-project.org/forums/viewthread/6044
Basically, this is because the Qt creator cannot find the Qt headers and binaries by reading the path specified by QT_INSTALL_BINS and QT_INSTALL_HEADERS. We can know what they are by specifying "qmake -query".
The paths showed from above command is different to the pre-compiled Qt 4.7.4 SDK, so we make a symbolic link to it. After this change, the Qt creator can read the correct Qt headers and binaries.
So, problem solved.
留言
張貼留言