Installing Compiler
-
Hi All,
I install Qt 5.1.1 for Windows 32-bit (VS 2012) but even any example doesn't build because of no compiler.
To testing examples which compiler can I install and how can I setup QT5 for that compiler?Thanks.
-
Hi and welcome to devnet,
You must install VisualStudio 2012. Since you don't have a compiler installed, you could also use the MinGW package which includes the MingGW compiler.
Happy coding !
-
Thank you SGalst,
I install Min GW but I couldn't make the settings for compiling.
Can you help me to how I will make settings?Regards
Levent -
What do you mean by "I couldn't make the settings for compiling" ?
-
In qt creator go to Tools->Build & Run->Tool Chains click on Add and locate your compiler.
-
Which excel file I need to show compiler?
Sorry I'm very new in this :( -
go to the C\MinGW\bin and select compiler gc++.exe Btw i m not using MinGW my setup is working with MSVC so I am not sure about this setting. I tried it long ago.
-
Sorry which exe file I wanted to ask
-
:O too newbie to find an exe in folder. I couldn't get your last question really sorry. I think you are struggling after clicking in Add?
So click on Add select MinGW now in lower section of the dialog there is a button Browse Compiler path click on it. Now go to your MinGW installation folder where in bin you will find g++.exe
HTH -
If you have MSVC already installed then try to uninstall Qt Creator and reinstall again it may be automatically detect tool chains available on your system.
-
Although "this link":http://qtitkvtkhelp.blogspot.in/2012/11/qt-installation-prerequisite-1.html is for 4.8.3 but hopefully help