Tuesday, August 21, 2012

Windows: CMake can't find QT? Whaaaattttt....

I got this error while checking out a project.

I found the solution on StackOverflow (http://stackoverflow.com/questions/9933939/cmake-not-finding-qt4).

Plain and simple: add the path "C:\QtSDK\Desktop\Qt\4.8.0\msvc2010\bin" to your advanced system settings PATH variable.

If you're using Qt 4.8.1 or w/e else change it accordingly. Just make sure you get the msvc2010\bin path.

No comments:

Post a Comment