Qt 5.0.2 how to set kit and compiler
-
thanks...Tobias Hunger
no i don't but i have installed visual studio.net 2010 ...
as i know , some compilers will install automatically when we install microsoft visual studio.net but
do you mean that i must install microsoft MSVC 2012 and then try to identify it for qt compiler manager and then run my application?
also i am looking for a perfect tutorial for managing compilers and ... in kits,qt versions,compilers tabs to build and run a project...thx -
As I said before: You need the same version of the same compiler that was used to build Qt. So, yes, you will need MSVC 2012 with that version of Qt. You could also download Qt built with MSVC 2010 though.
-
thanks...a lot...,is it necessary to identify the msvc 2012 in qt build and run options after installing msvc?
i guess that you mean installing the compiler is like installing exe files... -
Installing the compiler like downloading visual studio (or whatever else contains the compiler, I don't use windows too often;) and installing it.
Creator will pick up MSVC installations automatically. You might need to check the kits and set the compiler there though.
For android you will need to install the Android NDK and related stuff as well as a Qt version for android. There are howtos in the wiki about how to set it all up.
-
thank you tobias...
-
hi beginners
i have solved my problem...
for solving the compiler trouble and adding it for beginners in Qt field,i must say that by installing microsoft visual studio.net 2012 ,this problem will be solved...and you can export and run your application by qt 5.0.2 64bit msvc 2012 version...so bear in mind that it's better to install visual studio.net beside qt msvc version...because it automatically installs all of compilers and kits that qt needs in 64bit msvc version...good luck.. -
Also make sure to install the Microsoft debugging tools if the debugger does not work. They used to come as a separate package a while back.
Alternatively you can just install Qt built with mingw: That comes with a compiler and debugger as part of the package.
-
tnx ... I will surely do it.... but i think mingw is just for win32bit yet not for 64 bit!!!my win version is win 7 64bit...
-
Ubuntu 13.04., QT5.0.2. problems with gcc correct startig up (in Ubuntu the newest vertion gcc 4.7 installed). In "Parameters" -> "compiler" in auto detecting there is not any compiler and there is not possibility to define it, only at next submenu. And as a result after trying to compile usual console c++ application "Hello World" we see the message : g++ error : not find a file... (something about it)
-
Sorry for my message not for this question. (i didnt know rules can i ask my question. Later on decided my problem in correct way.)
best regars,
Rais.