Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

When executing step "Make"



  • I'm using QT creator mingw 3.6.0
    when i try compiling my program
    the compiler says
    "qt creator needs a compiler set up to build. configure a compiler in the kit options."
    but when i try configuring the compilers in Build & Run
    qt cant detect my Dev c++ 4.9.9.2
    nor cant manual it and set the dev c++.exe to qt
    how can i fix this??? I completely don't know how to fix this


  • Lifetime Qt Champion

    Hi,

    What's that Dev c++ ?

    Like already wrote in your other thread. You have to use a compiler matching the one used to build Qt. Since you are writing that you are using MinGW then why not use that compiler ? It's provided by Qt's online installer.



  • An IDE for c++ with mingw compiler.
    When i do the compiler manually, should i browse the .exe of dev c++ ???


  • Lifetime Qt Champion

    Something's not clear. You are using Qt Creator and you want to use the MinGW version of Dev-CPP when you can have MinGW installed directly with Qt ?



  • Pardon me for my senseless question, I just learned today from my prof that i don't actually need to have dev cpp to use qt mingw but right now, A different type error came out when i try to make a project on qt quick application. it says " cannot open file 'shell32.lib"


  • Lifetime Qt Champion

    First thing then:

    What exact version of Qt did you install ?



  • Qt Creator 3.6.0
    Based on Qt 5.5.1 (MSVC 2013, 32 bit)


  • Lifetime Qt Champion

    That's Qt Creator information.

    I'd like the version of Qt you are currently using.


  • Lifetime Qt Champion

    SGaist wanted to know the Qt version not QtCreator version (which does not matter).
    You can see which Qt version you use in your Kit configuration.



  • Qt 5.4.2 MSVC2012 OpenGL 32bit
    am i right ??

    i used the qt-opensource-windows-x86-mingw492-5.5.1 installer tho


  • Lifetime Qt Champion

    Then double check that. You can't mix and match compilers on Windows they are not compatible one with the other.



  • All i can see is for MSVC 2012 and 2013 32/64 bit and no for mingw
    (the kits that im using is the Qt 5.4.2 MSVC 2012 OpenGL 32bit (default) -debugger GNU gdb 7.8 for mingw 4.9.2 32bit)


  • Lifetime Qt Champion

    Then you didn't install Qt like you think you did. The MinGW installer doesn't install Qt for Visual Studio.

    So if you're only interested in MinGW, you should cleanup your install. If you need several versions of Qt then use the Online Installer.

    Last thing, don't install several versions of MinGW, it's usually a receipt for great headaches. Use the one provided by the installer.



  • Ohhh i see, What if I'm interested at QT Quick Apps and QT Canvas 3D App, what kind of QT should i download to be able to use QT creator for my project in school?


  • Lifetime Qt Champion

    All of them can do that. It's up to you to know what compiler you want to use and if you need a 64bit vs 32bit version of your application.

    Check what your school is using and get the same version for you.

    On a side note, it's Qt. QT stands for Apple QuickTime which you might also be interested in.


Log in to reply