QT Starthilfe benötigt
Verfasst: 2. September 2010 13:56
Guten Tag zusammen,
bei meinem ersten Gehversuch mit QT kam es zu einem interessanten Problem: Der Bild-Prozess ist ohne Fehler/Warnings durchgelaufen . Nur bei der Ausführung wird im Start mit der Fehlermeldung:
- IDE: Code::Blocks 10.05
- MingW: 4.4.1
- QT: 4.6.3 (MingW Installpaket, LGPL)
Installationsverzeichnis: MingW: "C:\app\tools\CodeBlocks\MinGW"
Installationsverzeichnis: QT: "C:\app\tools\qt"
Die Exe liegt unter: ""C:\Documents and Settings\z142872\My Documents\qt_test\01_Test\bin\Debug\01_Test.exe""
Die mein.cpp ist wie folgt:
Das wird wie folgt compiliert:
Grüße, Kevin
bei meinem ersten Gehversuch mit QT kam es zu einem interessanten Problem: Der Bild-Prozess ist ohne Fehler/Warnings durchgelaufen . Nur bei der Ausführung wird im Start mit der Fehlermeldung:
Mein Setup:"Die Anwendung konnte nicht gestartet werden, weil MSVCP80.dll nicht gefunden wurde."
- IDE: Code::Blocks 10.05
- MingW: 4.4.1
- QT: 4.6.3 (MingW Installpaket, LGPL)
Installationsverzeichnis: MingW: "C:\app\tools\CodeBlocks\MinGW"
Installationsverzeichnis: QT: "C:\app\tools\qt"
Die Exe liegt unter: ""C:\Documents and Settings\z142872\My Documents\qt_test\01_Test\bin\Debug\01_Test.exe""
Die mein.cpp ist wie folgt:
Code: Alles auswählen
#include <QApplication>
#include <QFont>
#include <QPushButton>
int main(int argc, char* argv[])
{
QApplication app(argc, argv);
QPushButton quit("Quit");
quit.resize(75, 30);
quit.setFont(QFont("Times", 18, QFont::Bold));
QObject::connect(&quit, SIGNAL(clicked()), &app, SLOT(quit()));
quit.show();
return app.exec();
}
Wie kriege ich das kleine "Hello World" zum laufen???Compiling: main.cpp
Linking console executable: bin\Debug\01_Test.exe
Output size is 178,25 KB
Process terminated with status 0 (0 minutes, 0 seconds)
0 errors, 0 warnings
Grüße, Kevin