qt4 prog
-
hab prib mit qt4 wie mache ich ein hallo qt prog in qt 4 bitte um code?
-
#include <QtGui> int main(int argc, char *argv[]) { QApplication app(argc, argv); QLabel* juhu = new QLabel(); juhu->setText("juhu"); juhu->show(); return app.exec(); } danach: qmake -project qmake make
-
thx hab halt qt3 glernt und hatte probs mit migration auf qt4
-
wen sagst du´s ich hänge seit 2 monaten dabei programme von qt3.2 auf qt4 zu portieren .... und wenn man die supportklassen raushaben will ist das echt ne menge aufwand
-
Wile E. Coyote schrieb:
#include <QtGui>
int main(int argc, char argv[])
{
QApplication app(argc, argv);
QLabel juhu = new QLabel();
juhu->setText("juhu");
juhu->show();return app.exec();
}danach: qmake -project
qmake
makeer wollte kein juhu programm sondern ein hallo Qt programm berichtigung:
#include <QtGui> int main(int argc, char *argv[]) { QApplication app(argc, argv); QLabel* juhu = new QLabel(); juhu->setText("hallo Qt"); juhu->show(); return app.exec(); }
*kich*