Compiler Issue



  • My question is if QT comes with a compiler at all. I chose to download "Qt 5.1.0 for Windows 32-bit (MinGW 4.8, OpenGL, 666 MB) " Well seeing that it says MinGW I assume that it comes with a compiler. Inside the program, however, I still have to manually find a compiler to attach. I ask because it's become difficult to manually download the visual studio compiler and SDK. I cannot run the installer for the SDK because I apparently "Don't have Visual C++ redist installed"... then I cannot run the installer for the redist because it tells me I already have it installed ... Anyhow. I'm wondering heavily if my install is completely devoid of a compiler, or if I just simply need to find the compiler lodged somewhere in the files.

    Edit: I forgot to mention that the only "kit" that shows up is the default and it doesn't have a compiler linked to it. That's what takes me to the compiler tab in which there are no defaults. Nothing is automatically detected.


  • Moderators

    MSVC packages do not contain the compiler (due to licensing). MinGW packages do have the compiler bundled, and if it does not show up in Qt Creator automatically - you've just found a bug :)

    You can specify the compiler yourself, it should be somewhere in the installation directory (sorry I can't tell you exactly where, but I'm building Qt myself, and usually on Linux, so I don't really know the details).



  • Well there are quit a lot of files and folders here. I have no idea where to find it. Do you know the name of it? Is it just MinGW.exe or something like that? Maybe I could just serach it.


  • Moderators

    [quote author="GhostRayne" date="1373432763"]Well there are quit a lot of files and folders here. I have no idea where to find it. Do you know the name of it? Is it just MinGW.exe or something like that? Maybe I could just serach it.[/quote]The compiler is g++.exe -- it should be in somewhere like "mingw\bin"


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.