G++-4.2: No such file or directory
-
I think the underlying issue is the Creator defaults to the macx-g++42 make spec. So Tobias' suggestion to override that with macx-g++ is probably the best solution for now. The only resources that I know of are here in the forum.
-
Thanks guys. I tried, but I honestly do not know how to do what you suggest. To "override that with macx-g++". Qt Creator's preferences doesn't seem to show anything like that so I'm guessing what you're suggesting requires more advance command line stuff.
I tried Tobias' link, but a login is required for that (the one for this forum doesn't work for me).
I can develop on my Windows machine for now.
-
Also "check here":http://developer.qt.nokia.com/forums/viewthread/12592/: Another thread about this topic, with a better explanation on how to override the mkspec.
-
Just submitted a review here, this seems to solve the problem: http://codereview.qt-project.org/#change,11297
-
... and I just submitted the fix to the 2.4 branch. Thanks Miroslav for testing!
-
My pleasure :-)
-
To solve the problem:
When upgrading from 10.6 to 10.7, you can not uninstall Xcode to upgrade just because the g + + -4.2 to install xcode 4.2.
The steps are:
1 - keep the xcode 3.2, I'm not wrong.
install xcode 4.2 and above.PS: If you uninstall the xcode 3.2 and xcode 4.2 install to make any kind of build in QT, you'll get errors (g + + -4.2 no such directory) or something like that.
2 - After upgrading to the Lion remains with the xcode 3.2, install the xcode 4.2 and 3.2 does not uninstall after install QT.
-
So I'm having the same issue, has this been resolved yet? I'm also running Mac OSX 10.7.2 with XCode 4.2.1
I tried following this link: http://codereview.qt-project.org/#change,11297 But it requires a username and password. Any help without having to do a clean install would be much appreciated,
-
I just add macx-g++ and error disappeared, but then make or g++ doesn't see all Qt classes, macros and etc.... Building from Qt creator, Mac Os 10.7, XCode 4.2
Any advice ?
-
here with the spec macx-g++ that's not work!
-
Hi!
[quote author="alpha_one_x86" date="1331383665"]here with the spec macx-g++ that's not work![/quote]
Could you give a few more details on what exactly is not working?
-
I have drop the MAC SDK version, because Qt 4.8 not work with xcode3, and with xcode4 SDK version is minimum 10.6