qt 4.0.1 compilieren
-
also ich hab qt 4.0.1 mit der exe installiert und variablenm gesetzt (path , inclkude..etc.)
und dan mit
MSVC 98 autoren versiondabei is die fehlermeldung :
E:\LIB\QT4\4\include\QtCore/../../src/corelib/tools/qchar.h(29) : error C2146: Syntaxfehler : Fehlendes ';' vor Bezeichner 'QtCoreModule' E:\LIB\QT4\4\include\QtCore/../../src/corelib/tools/qchar.h(29) : fatal error C1004: Unerwartetes Dateiende gefunden
also bei dem macro
QT_MODULE()
wo is der fehler?
#include <qstring> #include <qapplication> #include <qpushbutton> int main(int argc, char **argv) { QApplication app(argc, argv); QPushButton quit("Hello World!"); quit.resize(300, 40); quit.setFont(QFont("Arial", 18, QFont::Bold)); QObject::connect(&quit, SIGNAL(clicked()), &app, SLOT(quit())); quit.show(); return app.exec(); }
-
das ist doch gar nicht für MSVC geeignet.
-
hab auch beides instakliiert msvc und MINGW aber die auttoeinstellung von qmakespec war win32-msvc