Configuration Kit for qt qt creator version 5.2.0 [SOLVED]
-
I'd like to know, I notice that I miss some libraries such as QPushButton; compiling my program, send me info:
<<
" 11:52:30: Exécution des étapes pour le projet test...
11:52:30: Débute : "C:\Qt\5.2.0\msvc2012\bin\qmake.exe" C:\Users\Etudiant\Documents\qt\test\test.pro -r -spec win32-msvc2012 "CONFIG+=debug" "CONFIG+=declarative_debug" "CONFIG+=qml_debug"
11:52:31: Le processus "C:\Qt\5.2.0\msvc2012\bin\qmake.exe" s'est terminé normalement.
11:52:31: Débute : "C:\Qt\Tools\QtCreator\bin\jom.exe"
C:\Qt\Tools\QtCreator\bin\jom.exe -f Makefile.Debug
cl -c -nologo -Zm200 -Zc:wchar_t -Zi -MDd -GR -W3 -w34100 -w34189 -EHsc -DUNICODE -DWIN32 -DQT_QML_DEBUG -DQT_DECLARATIVE_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -DQT_OPENGL_ES_2 -DQT_OPENGL_ES_2_ANGLE -I"..........\Qt\5.2.0\msvc2012\include" -I"..........\Qt\5.2.0\msvc2012\include\QtGui" -I"..........\Qt\5.2.0\msvc2012\include\QtANGLE" -I"..........\Qt\5.2.0\msvc2012\include\QtCore" -I"debug" -I"." -I"..........\Qt\5.2.0\msvc2012\mkspecs\win32-msvc2012" -Fodebug\ @C:\Users\Etudiant\AppData\Local\Temp\main.obj.3000.0.jom
main.cpp
..\test\main.cpp(2) : fatal error C1083: Impossible d'ouvrir le fichier includeÿ: 'QPushButton'ÿ: No such file or directory
jom: C:\Users\Etudiant\Documents\qt\build-test-Desktop_Qt_5_2_0_MSVC2012_32bit-Debug\Makefile.Debug [debug\main.obj] Error 2
jom: C:\Users\Etudiant\Documents\qt\build-test-Desktop_Qt_5_2_0_MSVC2012_32bit-Debug\Makefile [debug] Error 2
11:52:33: Le processus "C:\Qt\Tools\QtCreator\bin\jom.exe" s'est terminé avec le code 2.
Erreur lors de la compilation/déploiement du projet test (kit : Desktop Qt 5.2.0 MSVC2012 32bit)
Lors de l'exécution de l'étape "Make"
11:52:33: Temps écoulé : 00:02.how I can settle this problem?
-
Your .pro file needs to include the Qt Widgets module.
How did you create your project?
-
Ok I'll edit my original message and put solved, thank you again to you!
-
I created the project normally by following the normal recommendations, where you want to come?
-
[quote author="SALA-BANAKISSA" date="1391425698"]I created the project normally by following the normal recommendations, where you want to come?[/quote]Whose recommendations did you follow? Please describe what you did.
-
[quote author="SALA-BANAKISSA" date="1391425698"]I created the project normally by following the normal recommendations, where you want to come?[/quote]Whose recommendations did you follow?
Please describe what you did.
-
voici le lien des recommandations que j'ai suivi : " http://fr.openclassrooms.com/informatique/cours/programmez-avec-le-langage-c/introduction-a-qt "
it is on this site I followed the procedure for creation of a project on Qt. -
That site is very old. It talks about Qt 4, and a very old version of Qt Creator. Did you notice that your Qt Creator looks very different from the screenshots on that site?
Follow this one instead: http://qt-project.org/doc/qt-5/gettingstartedqt.html
-
Yes I just noticed that my Qt Creator is very different from screen captures this site. Thank you for that link, what I will not follow the recommendations contained therein.
-
I would like to thank you for your help, then I can start my programming, Qt is a wonderful discovery for me, it's very affordable.
-
You are welcome :)
Happy coding!