I build a second configuration of a Qt build (statically linked libraries) in a folder (D:\staticqt\qt-win-commercial-src-4.2.2) and want to link to it. So I add a Qt build to Tools->Options->Qt->Builds at this path. And then I set the "Default Qt Version" to this build.
Now, is the QTDIR environment variable supposed to change to where I point this? Because it doesn't seem to be happening; it still assumes QTDIR is at C:\Qt\4.2.2.
So I have to hardcode the directory into compile paths if I want it to compile and link correctly. Yuck. There must be a better way...
Bookmarks