Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
Building and Compiler?
Kiatro last edited by
I am very new to the Qt framework and it is my first time actually downloading this SDK and I have come upon an error.
After looking on documentation on this framework online I had made a very simple Gui program with this SDK and I was trying to run it when it gave me an error:
":-1: error: Qt Creator needs a compiler set up to build. Configure a compiler in the kit options."
When I installed this program I thought it defined a compiler but something must have gone wrong, so I went into the settings and I was faced with this:
It hadn't seen to detect any of my kits or compilers and every time I try and create new ones they either aren't compatible with the version of make hundreds of errors while building simple .cpp's.
Can someone please run me through how to successfully setup kits and compilers with the SDK because I am getting no where:c
An example of a compiler error:
":-1: error: Symbolic links not supported: disabling -L."
Do you have 64 bit MS Visual Studio installed? It ships with the compiler you need.
koahnig last edited by
welcome to devnet
This could be a problem of mismatch between downloaded versions and teh compilers installed.
What compilers do you have installed?
What is the actual pre-build version you have installed?
qxoz last edited by
This should be enough for compiling with your Qt package version:
"MSVC2012 Express for Desktop":http://www.microsoft.com/en-us/download/details.aspx?id=34673
But for beginners i'd recomend use:
"Qt 5.1.0 for Windows 32-bit (MinGW 4.8, OpenGL, 666 MB) ":http://download.qt-project.org/official_releases/qt/5.1/5.1.0/qt-windows-opensource-5.1.0-mingw48_opengl-x86-offline.exe
which contains all nessesary tools inside.