Die Suche ergab 3 Treffer

von mighty_scoop
25. Juni 2007 16:17
Forum: Qt Programmierung
Thema: Qt-Application in fremdes C++ Prog einbinden
Antworten: 4
Zugriffe: 2753

erstmal danke fuer die Antwort ... du könntest z.B. den qt-code in eine klasse packen und davon dann ne instanz erstellen [...] ja, das hab ich mir so in die Richtung auch gedacht ... wenn ich jetzt include mainWindow.h im code habe und dann versuche eine Instanz davon zu erstellen, bekomme ich die ...
von mighty_scoop
25. Juni 2007 15:12
Forum: Qt Programmierung
Thema: Qt-Application in fremdes C++ Prog einbinden
Antworten: 4
Zugriffe: 2753

Eine Qt-Applikation ist ein Programm wie jedes andere auch. Hab mit dem Einbinden von "Fremdcode" leider noch keine Erfahrung ... also, um eine QT-App zu starten brauch ich eine main Function mit z.B. QApplication app(argc, argv); MainWindow mainWin; mainWin.show(); return app.exec(); Die...
von mighty_scoop
25. Juni 2007 13:34
Forum: Qt Programmierung
Thema: Qt-Application in fremdes C++ Prog einbinden
Antworten: 4
Zugriffe: 2753

Qt-Application in fremdes C++ Prog einbinden

Hallo zusammen, ich bin neu hier und habe auch mal gleich eine Frage. Ich habe eine virtuelle 3D Welt programmiert (in C++) und wuerde gerne, wenn ich auf ein Object in der Welt klicke, eine Qt-Application starten. Das mit der ObjektKollision und dem Klicken ist natuerlich alles klar ... nur weiss i...