Nominate our 2022 Qt Champions!

Very confused on how to install

  • Hi. I'm a relatively new programmer and I hope you bear with me through this post :-).
    In my programming class at school we are using Qt Creator to make our projects. A Qt Gui application to be specific. I decided to work on it right now so I downloaded Qt Creator but when I try to open the project file, it tells me "no valid kits found". I go to create a new project and I don't even see Qt Gui Application in the list.
    Do I have to install libraries? If yes, what libraries do I need to use C++ along with Qt's default language? I'm running a 64 bit Windows 7.

  • Moderators

    Hi, and welcome to the Qt Dev Net!

    Qt is a C++ and QML library.

    Qt Creator is an Integrated Development Environment (IDE). It is a program that combines your code editor, libraries, compiler, help viewer, debugger, etc. to improve your workflow.

    To build a Qt program, you need to install a C++ compiler and the Qt libraries. The IDE does NOT provide these; in general, you need to install these tools and then tell the IDE where to find them.

    In your case, this is what you should do:

    Uninstall your standalone copy of Qt Creator

    Download and install the Qt 5.2.0 for Windows 32-bit (MinGW 4.8, OpenGL, 689 MB) bundle (or pick a different bundle if you want to use a different compiler that you've already installed)

    Launch Qt Creator from this bundle. It should now have auto-detected your Qt libraries and your compiler.

    Note 1: All bundles at the top of contain the Qt libraries AND the Qt Creator IDE. The MinGW bundle is special: It contains the MinGW compiler suite too.

    Note 2: In the latest version of Qt Creator, "Qt Gui Application" has been renamed "Qt Widgets Application".

  • Thanks!
    Trying that as soon as possible. My bandwidth is quite limited so I can't download it all at once.

Log in to reply