dear qmake

i can haz understanding? I'm trying to rebuild a package with gcc-4.6 instead of (default) gcc-4.5. Sounds easy, huh? Not today, not with qmake :( Setting CC=gcc-4.6 CXX=g++-4.6 on the command-line does not help. Neither does exporting these in debian/rules. Let's fire up Google, I think I remember qmake tends to prepend EVERYTHING with QMAKE_... Right, official documentation says it's QMAKE_CC and QMAKE_CXX. Setting those on the command-line does ... not help. debian/rules? Nope! Okay, let's do it the qmake-way, set it in the main .pro file which basically just calls a bunch of other .pro files (one for each component of the project). Guess what? It does not help. You have to set these in each and every .pro file! Rly? Is this what I have a build-system for? </rant> Now, seriously, what's the proper way to override stuff like this in qmake? Any pointers appreciated.

Comments

No comments.
Send your comments to evgeni+blogcomments@golov.de and I will publish them here (if you want).