http://doc.trolltech.com/4.3/tutorial-t1.html
Qt Tutorial 1 - Hello World!
Der Code ist sehr simpel:
Code: Alles auswählen
#include <QApplication>
#include <QPushButton>
int main(int argc, char *argv[])
{
QApplication app(argc, argv);
QPushButton hello("Hello world!");
hello.resize(100, 30);
hello.show();
return app.exec();
} ausführen soll. Bei mir auf dem PC gibt es nach der Installation vonWhen you run the application, you will see a small window...
"qt-win-opensource-4.3.3-mingw.exe"
in "Start" > "Alle Programme" > "Qt by Trolltech v4.3.3(Open Source)":
Und keines dieser Programme startet das obige Beispielprogramm "Hello World", geschweige denn, dass ich es überhaupt laden kann.Assistant.lnk
Designer.lnk
Examples and Demos.lnk
Linguist.lnk
OpenSource Notice.lnk
Qt 4.3.3 (Build Debug Libraries).lnk
Qt 4.3.3 Command Prompt.lnk
Qt Readme.lnk
Trolltech.com.lnk
Uninstall Qt OpenSource 4.3.3.lnk
Was fehlt noch? Reicht Qt4 alleine nicht aus? Leider finde ich in der Qt4 Dokumentation nichts, was mir hier weiterhelfen würde!
Ein Qt4-Grünschnabel dankt Euch schon jetzt für Euere Hilfe ,
siggi