HELP!!!! Getting started - Build failure...
-
wrote on 24 Sept 2014, 14:43 last edited by
[quote author="andsun" date="1411539322"]
Hi raimeida,Tried as suggested, though no success.
Added QMAKE_MAC_SDK = macosx10.9 to my projects .pro file (shouldn't it go into the project template for .pro? )Also added “export SDKROOT=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk” in my .bas_profile file using nano
Just change of error message ;(
In Qt I get "error: [ui_mainwindow.h] Trace/BPT trap: 5"
Also tried to restart after I removed the .pro.user file and debug folders with no success
[/quote]Looks like a different kind of problem. Maybe you need to reconfigure your project settings. Did you "clean & qmake " before rebuild ?
[quote author="andsun" date="1411539322"]
and in NetBeans its another on the std includes!!???:
main.cpp:8:10: fatal error: 'QtGui/QApplication' file not found
#include <QtGui/QApplication>Come across the last one before in Linux and just changed it to #include <QApplication> and problem solved there. Sorry to say but not here on Mac
Any ideas?[/quote]
This is a code problem. Looks like your code was written for Qt4 and you are updating to Qt5. I suggest to read some docs related to migration from Qt4 to Qt5.
21/21