Important: Please read the Qt Code of Conduct -

[SOLVED]can't build...problem with compiler

  • Hello there,

    I'm a new user of qt creator.....i have just intalled it on my computer and doing the tutorials, but it happens that, even the exemples, they don't run properly,

    Everything i try shows this on the COMPILE OUTPUT

    16:12:23: Running steps for project calqlatr...
    16:12:25: Starting: "C:\Qt\Qt5.2.0\5.2.0\msvc2012_64\bin\qmake.exe" C:\Qt\Qt5.2.0\5.2.0\msvc2012_64\examples\quick\demos\calqlatr\ -r -spec win32-msvc2012 "CONFIG+=debug" "CONFIG+=declarative_debug" "CONFIG+=qml_debug"
    16:12:28: The process "C:\Qt\Qt5.2.0\5.2.0\msvc2012_64\bin\qmake.exe" exited normally.
    16:12:28: Configuration is faulty. Check the Issues view for details.
    Error while building/deploying project calqlatr (kit: Desktop Qt 5.2.0 MSVC2012 64bit)
    When executing step 'Make'
    16:12:28: Elapsed time: 00:05

    i don't like bother people asking...but i tried everything i could. I have downloaded and installed the MinGW,
    but nothing happens...

    what i could say to help you to help me is....i go in the build&run menu, in the tool options.....and when i choose a compiler....there is no path there......then i thought i should put some path address.

    Somebody could help me out with's basically a problem with compiler....


    qt version - 5.2.0
    windows 8

    other information o don`t even know how to get it.

  • welcome to devnet

    Do you have a compiler installed and which one?

    The error messages you are providing are for an MSVC 2012 64 bit compiler. If you want to use this compiler you need to install separately. Either you have already a licensed version or you need to download an free express version from MS site. Make sure that you have installed the proper version since MS compilers are not compatible between different versions.

    Further down you are referring to MinGW which refers to yet another compiler. The MinGW is an opensource compiler freely available. You can install directly through Qt SDK maintenance tool.

  • okay let's see if i got this straight.

    i need to install the compiler...wich i have already done(the MinGW thing), but, i don`t really know if it's a free version....i believe it is! how could i make sure of it?

    But, as i said, i believe i didn't make the proper link between qt creator and the MinGW compiler....and for that i have to set an adress on the i right?

    and this tool you mentioned...i haven't found...

    in summary i have installed the MinGW(i got it from a site...soundsource or something like that)...and now i have it on my hd...then i choose MinGW on the compiler screen...but i don`t know wich file(in the MinGW directory ) i should put in the path blank....there are many different files....wich one is the right one?

    i would like to say sorry if my questions are being stupids...and i apreciate a lot your help

  • Lifetime Qt Champion


    What you are currently doing is trying to use the MinGW compiler to build software using a Qt version that was made with Microsoft's compiler (i.e. Visual Studio).

    To stay with MinGW, the simple quick road now would be to:

    Uninstall the MinGW you installed

    Uninstall the Qt version you have

    Download the Qt MinGW package (it also contains the MinGW compiler)

    Install that Qt version

    Enjoy Qt

  • Moderators

    You can not use mingw with libraries that were built using MSVC2012 or the other way around. In fact not even MSVC of different versions are compatible with each other:-/

    You can either keep Qt-for-MSVC2012 and install MSVC2012 (IIRC that is part of the current Windows SDK if you do not want to buy it) or you can install a Qt-for-Mingw. In that case I would recommend going with the compiler included in that version in favor of using yours. MinGWs binaries from different providers sometimes are also incompatible with each other.

    Sorry, this is a huge mess, but I do not see how we can improve the situation.

  • Actually you guys are helping a lot...
    i was expecting a kind of advide like this....uninstall everything...and try again...

    i thought, when i get the program installed giving me problems, i would have done something wrong.....

    so, just to put all the informations togheter....i want to go the proper and easier way!

    unistall everything (qt 5.2 and MinGW)

    then i should download

    qt MinGW package(where?)

    same qt version of the qt MinGW package(this site, right?)

    then i can go doing my apps....

    that's right???

    PS - i want to make the easier way for now...later i might get into more difficult things...but, this MSCV 2012 64 isn't a free program??

  • Lifetime Qt Champion

    "Here": is the current (5.2.0) MinGW Qt the one that includes the MinGW compiler.

    It's the easier way. As for 64 bit unless you require some specific feature like larger RAM handling, you can safely go for 32 right now.

    Microsoft generally proposes Visual Studio in an Express edition which is free (with some limitation e.g. no plugin) But you will have to install it yourself (better do it before installing a VS Qt version, it makes things easier)

  • Now the Qt is working!!!!
    thanks a lot SGalst, Tobia and Koahnig.

Log in to reply