Qt Designer:pas de compilation!
Bonjour::oops:
je suis nouveau en programmation Qt,j'ai commencé par lire la documentation.
j'ai realisé un boite de dialogue avec le Desinger je l'ai enregistré sous gotocelldialog.ui dans un repertoire qotocell et j'ai y ajouté ,grace à un editeur de texte notepad++ ,un fichier main.cpp ,voici mon fichier
Code:
1 2 3 4 5 6 7 8 9 10 11 12 13
|
#include <QApplication>
#include <QDialog>
#include "ui_gotocelldialog.h"
int main(int argc, char *argv[])
{
QApplication app(argc, argv);
Ui::GoToCellDialog ui;
QDialog *dialog = new QDialog;
ui.setupUi(dialog);
dialog->show();
return app.exec();
} |
j'ai compilé :qmake -project ,qmake,make
les messages d'erreurs suivants sont alors affichés sur mon ecran:
C:\MinGW\bin\..\lib\gcc\mingw32\3.4.2\..\..\..\..\mingw32\bin\ld.exe: cannot fin
d -lqtmain
collect2: ld returned 1 exit status
mingw32-make[1]: *** [release\gotocell.exe] Error 1
mingw32-make[1]: Leaving directory `C:/Documents and Settings/celano/Bureau/goto
cell'
mingw32-make: *** [release] Error 2
je ne comprend pas ce message ,ni comment faire pour regler ce probleme,alors que je traine depuis une semaine sans trouver de l'aide.
merci de m'eclaircir sur ce point .merci infiniment