Configuration Kit for qt qt creator version 5.2.0 [SOLVED]
-
Hi,
I seek your help for a program I am trying to compile. I have a project study on the laser game, and I was responsible for creating the game interface, and I want to do with Qt, I do not know this software, but you told me about that she facilitate my speed to create the interface. Right now I'm learning environment mode, I made a simple code of understanding, the test here:#include <QApplicationStateChangeEvent>
#include <QPushButton>int main(int argc, char*argv[])
{
QApplication app(argc,argv);
QPushButton bouton("Salut les Zéros, la forme ?");
bouton.show();return app.exec();
}
but it returns me this problem that Qt requires the configuration Kit, I do not know what to do, I tried to read other forum, and the solutions they gave, it does not work not. Please help me, give me the steps to do, I thank you.
-
Hi,
At http://qt-project.org/downloads , there are many packages. For example, "Qt 5.2.0 for Windows 32-bit (MinGW 4.8, OpenGL, 689 MB)", "Qt 5.2.0 for Windows 64-bit (VS 2012, 590 MB) ", and others.
Please tell us which one you downloaded.
Also, what compiler are you using?
-
I took the package " Qt online installer for Windows(13 MB) ", and i have Windows 7 with system type 32-bit.
-
[quote author="SALA-BANAKISSA" date="1390995629"]I took the package " Qt online installer for Windows(13 MB) ", and i have Windows 7 with system type 32-bit.[/quote]When you ran the online installer, which Qt package did you download? The options were:
- Qt -> Qt 5.2.0 -> MinGW 4.8 (32-bit)
- Qt -> Qt 5.2.0 -> msvc2010 (32-bit)
- etc.
If you can't remember, go to the folder where you install Qt and run MaintenanceTool.exe and select "Package Manager".
-
I had taken when installing packages
Qt -> Qt 5.2.0 -> MinGW 4.8 (32-bit)
Qt -> Qt 5.2.0 -> msvc2012 (32-bit)you had to pack " Qt -> Qt 5.2.0 -> msvc2010 (32-bit) " ?
-
You should take just one, depending on what compiler you want to use.
Do you already have a compiler?
-
Yes I have a compiler, is that of MinGW 4.8 (32-bit). What do i do now ?
-
I removed the MinGW 4.8 (32-bit) compiler to let msvc2012 (32-bit) I have chosen and this is what they told me :
" 14:58:55: Exécution des étapes pour le projet test...
14:58:55: Configuration inchangée, étape qmake sautée.
14:58:55: Débute : "mingw32-make.exe"
qtcreator_ctrlc_stub: Command line failed: mingw32-make.exe
14:58:55: Le processus "mingw32-make.exe" s'est terminé avec le code -1.
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"
14:58:55: Temps écoulé : 00:00. " -
[quote]I removed the MinGW 4.8 (32-bit) compiler to let msvc2012 (32-bit) I have chosen[/quote]If you chose the MSVC 2012 package, then you need the MSVC 2012 compiler. Have you installed it? You can download it from http://www.microsoft.com/en-au/download/details.aspx?id=34673
[quote]14:58:55: Débute : “mingw32-make.exe” [/quote]You removed MinGW, but your project is still configured to use MinGW. You need to fix this.
Follow these steps to clean your settings:
Close Qt Creator.
Go to your project folder and delete the .pro.user file.
Restart Qt Creator.
Open your project, and make sure the MSVC 2012 kit is selected.
-
Hi! Sorry for the delay and the long silence, I just make your recommendation, yes I chose the package MSVC 2012 and no I do not have the MSVC 2012 compiler, so I had not installed. Here I just installed and it works, thank you for your help, I was able to issue the configuration kit.
-
You're welcome :) Happy coding!
Please edit your original post and add "[SOLVED]" to the title. That will let other people know that your problem has been 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.