Tuesday, August 7, 2012

Computer Science-Qt build update

Once again I misinterpreted a lot of what was written about the couldn't find Qt issue. The main parts are to ensure that Qt is completely installed, and to add this to the path.
PATH=$PATH:filepath/to/QtSDK/Desktop/Qt/4.8.1/gcc/bin
Once this is done, source it or restart your computer. Then you should be able to execute the commands correctly. For example to build XCode files you can use:
cmake -g XCode /filepath/to/src/

This should definitely allow things to work out on a mac. This location contains the correct bin, with the correct version of qmake, unlike the previous areas.

No comments:

Post a Comment