TipiWiki2

[ CuTe ]

edit | Recent Changes | Find Page | All Pages | Front Page |

Erstes Qt Programm (Linux)

#include <qmsgbox.h>
#include <qapp.h>
int main( int argc, char **argv )
{
   QApplication a(argc, argv);
   return QMessageBox::message("Attention", "Hello, world!");
}
dann eine projekt-Datei erstellen mit qmake
qmake -project test.pro
und nochmal, um das make-File zu generieren
qmake
dann mit make erzeugen. Das war's!