Qt creator not working/compiling

  • i have installed Qt online installer in my windows 10 system. now i got qt creator,Qt designer,Qt assistant,Qt linguistic installed of Qt 5.5 and 5.4 versions in my system in c:/Qt.
    now i am trying to open example in qt assistant then i am getting following error . please help

    20:13:28: Configuration is faulty. Check the Issues view for details.
    Error while building/deploying project analogclock (kit: Desktop Qt 5.5.1 MSVC2012 32bit)
    When executing step "Make"

  • Moderators

    Since you're using (kit: Desktop Qt 5.5.1 MSVC2012 32bit) do you have Visual Studio 2012 installed too?

  • no i have not installed msvs 2012. should i install vs2012 in my system??
    please tell some alternative to access only Qt creator in my system.

  • Moderators

    Qt Creator is only an IDE. You can access it all you want but you need a compiler to compile a program and you installed Qt version that uses Visual Studio 2012 compiler.
    Your options now are:

    • Install Visual Studio 2012 (not any other version!)
    • Go to your Qt installation directory and run MaintenanceTool.exe. Select add/remove components and on the list that comes up select (deselect everything! else): Qt -> Qt 5.5 ->MinGW 4.9.2 32bit, Qt->Tools->MinGW 4.9.2. This will install Qt Creator, Qt library compiled with MinGW compiler and the MinGW compiler itself. You won't need Visual Studio if you choose this option.

  • can't i use only Qt creator to develop Qt code in windows system.

  • Moderators

    Again - Qt Creator is just an IDE. Basically a text editor, like Notepad. Just with more options.

    You need a compiler to compile code. There are two major compilers on Windows that you can choose from: MSVC or MinGW.
    MSVC is shipped as part of Visual Studio and you need to install Visual Studio separately to get it.
    MinGW can be installed from Qt's online installer if you select the options I mentioned in my previous post.

  • i hAve just installed microsoft visual c++ 2012, will this help to any instant.

    i have run the maintaince tool in Qt directory in my C:/Qt folder, then i got add or remove then i checked and clicked next. now it is showing a preparing meta information downloading with progress bar like that from long time. any suggestions . can you help me through team viewer . about this issue.

  • Moderators

    I said you have a choice. Don't do both!
    If you installed VS2012 then you've got all you need for option 1.
    You don't need the maintenance tool. That is only if you choose MinGW over Visual Studio.

  • else i have a Ubuntu os running in my virtual machine configured with qt for embedded target. please help me to create Ubuntu as a target system (Linux) to develop a application

  • can you please help me in team viewer. i am trying this from 15 days to fix, its urgent for me please.

  • Thank u so much @chris for your support. i got my Qt compiling my code

Log in to reply