Bienvenue sur le forum !

Si vous souhaitez rejoindre la communauté, cliquez sur l'un de ces boutons !

Qt 5 : 5.9.1 - Qt Creator : 4.3.1 - Qt Installer : 2.0.3 - JOM : 1.1.2 - Qt Build suite : 1.7.0 - VS Qt 5 : 2.0.0

[Qt3] Compilation

Je viens de tester un petit projet avec designer-qt3.
Lorsque je compile, c'est l'erreur. Faut-il définir la class de la fenêtre principale (dlgMain dans mon cas)? si oui, où ?



dlgmain.ui.h:14: error: ‘dlgMain’ has not been declared
dlgmain.ui.h: In function ‘void addItem()’:
dlgmain.ui.h:16: error: ‘leItem’ was not declared in this scope
dlgmain.ui.h:18: error: ‘lbItem’ was not declared in this scope
dlgmain.ui.h:22: error: ‘leItem’ was not declared in this scope
dlgmain.ui.h: At global scope:
dlgmain.ui.h:25: error: ‘dlgMain’ has not been declared
dlgmain.ui.h: In function ‘void removeItem()’:
dlgmain.ui.h:27: error: ‘lbItes’ was not declared in this scope
dlgmain.ui.h:28: error: ‘lbItem’ was not declared in this scope
dlgmain.ui.h: At global scope:
dlgmain.ui.h:33: error: ‘dlgMain’ has not been declared
dlgmain.ui.h: In function ‘void init()’:
dlgmain.ui.h:35: error: ‘lbItem’ was not declared in this scope
dlgmain.ui.h:36: error: ‘leItem’ was not declared in this scope
main.cpp: In function ‘int main(int, char**)’:
main.cpp:12: error: ‘dlgMain’ was not declared in this scope
main.cpp:12: error: ‘m’ was not declared in this scope
main.cpp:12: error: expected type-specifier before ‘dlgMain’
main.cpp:12: error: expected `;' before ‘dlgMain’
make: *** [.obj/main.o] Erreur 1
Connectez-vous ou Inscrivez-vous pour répondre.