I try to compile application:
Qt Code:
#include <QtCore> #include <QCoreApplication> int main(int argc, char **argv) { app.exec(); }To copy to clipboard, switch view to plain text mode
and receive this error:
cc1plus: error: unrecognized command line option "-arch"
How i can solve it?
---
macosx 10.6
gcc version 4.5.0 20100211 (experimental) (GCC) from macports
qt 4.6.2, compile with gcc version 4.2.1 (Apple Inc. build 5646)
Bookmarks