Problem with compilation
-
Hi,
I've just installed QT creator and tried to run my first program, but I got an error:
I need to shoose compiler. I've read a bit about this problem and I've downloaded and installed SDK (first I've removed my visual redistribution), but It still doesn't work. Could you help me to solve this problem?Here i post some screens of my problem.
http://imageshack.com/a/img853/2624/zwla.jpg
http://imageshack.com/a/img842/999/wy1n4.jpgwhat should I do to run this?
-
Hi and welcome to devnet,
You need to have a matching visual studio installed if you want to use VS Qt package
-
could you tell me how to do it?
I really do not need to use VS QT packages if it is not necessary I just want my QT creator to be working ;) -
hi
http://qt.digia.com/Product/Qt-Framework/Supported-Platforms/
Choose your setup -
I Chose, 5,3 (and I've installed this one)
I've got win 8x64 and VS 2k13but It doesn't work, as I wrote in main post. :)
ps.
It's interesting, in this screen, it is wrote:
MV C++ compiler 12, and it looks like I had MV studio 2k12, when I've got 2k13 ;)
screen:
http://imagizer.imageshack.us/a/img853/2624/zwla.jpg -
The compiler number doesn't match the VS20XX pattern, when it does it's just an incident, a confusing one, but still just an incident.
If you don't have VS installed, then just take the MinGW package
-
- MSVC 2005 -- Visual C++ 8.0
- MSVC 2008 -- Visual C++ 9.0
- MSVC 2010 -- Visual C++ 10.0
- MSVC 2012 -- Visual C++ 11.0
- MSVC 2013 -- Visual C++ 12.0
(Full list at https://en.wikipedia.org/wiki/Visual_C++ )
-
And for future releases, they've decided to leapfrog 13 (because of bad luck?) so later this year it will most likely be:
- MSVC 2015 - Visual C++ 14.0
-
I've decided to format my PC, so I will write how it goes for a while ;)
Thanks for all replays!
@SGaist
Thanks, I thought that Microsoft Visual Studio where I program in C++ is exaclty the compiler, that QT asked me for ;) As I understend it now, it is not.
Microsoft Visual Studio just contains Visual C++.But I still don't get it:
I know that for win 8, wersion q5,3 i need VS 2012 or VS 2013.
I had installed MSVC 2013 and that's why I saw Visual C++ 12 Compiler in that screen: http://imagizer.imageshack.us/a/img853/2624/zwla.jpg
But I still do not know why it didn't work if I had Visual C++ 12 Comiler ;)?Right now I'm installing drivers for my computer,
so probably I will instal QT creator 5,3 and then
as @SGaist adviced me, I will instal this package:
http://sourceforge.net/projects/mingw/files/latest/download?source=filesAs far as I understand it should work. :)
-
Hi
I've downloaded and installed QT creator, this time i've checked box for mingw, and I've just run program perfectly working,
thanks ! ;)