Windy Weather

Windy Weather Website

  • Contact me
  • My Bio
  • Skills and Tools

Qt Development for Windows

Posted by windyweather on October 10, 2017
Posted in: Development Tools, Helpful Hints, Windows.

AS_000340.jpg
I’m a long time user of the Qt Development Framework. But every few years, it seems to change hands and everything about how to install it changes.

I recently installed it on Linux Mint, and while it looks like it is built in, the install was anything but simple.

But now I’d like to add a feature to one of my personal programs for Windows, so here we go again. I started by trying to look up a recent YouTube video on the subject and while it was only a year or so old, and all the domains were active, it failed miserably after the install in the same way that the Linux install failed. It was unable to find a valid “Kit”. A Kit for Qt is a set of definitions so that the IDE – integrated Development Environment – can find the other tools like compilers, framework libraries, debugger and make program. Well the Youtube video I found had the same problem. The install looked like it worked, but it brought along no tools, framework or valid kits.

Well I’ve solved that, so I’m making a post here so that I remember, and maybe it will help you too.

Installation of Qt Tools and Framework

You probably want the Open Source tools. After all, unless you have $250 per month per developer, I’m guessing you want the free version, which requires you make your source available.

You’ll probably need to sign up on the site, and I have a bunch of different email addresses I use depending on the type of site I’m visiting, which I get from gmx.com, and I use LastPass to create and save all those pesky passwords. Just say you want the Open Source or GPL licensed version of the software.

Qt_-_Download_Open_Source_Step_3_-_2017-10-10_06.09.55.png

This is the link to the open source code that I found. Don’t use the “Online Installer”. It downloads QtCreator, but none of the other stuff. The Windows installer that is about 2.2GB is the right one. The one I got was named qt-opensource-windows-x86-5.9.2.exe.

 

 

 

AS_000317.jpg

Once that downloads, install it to your HD. It defaults to somewhere like: C:\Qt.

During the install it looks like this:

AS_000320
AS_000321
AS_000318
AS_000319

Be sure and check to see that the right tools and frameworks are selected. Note the check boxes that I used in case the defaults are different.  MinGW is an Open Source compiler suite for Windows. The VS options are for Visual Studio, which unless you are a Microsoft Developer, you don’t have.

Once the install finishes you can fire up QtCreator and build a test project. Here’s the little Hello World project that I built.

AS_000322
AS_000323
AS_000324
AS_000325
AS_000326
AS_000327
AS_000328
AS_000329
AS_000330
AS_000331

Notice that the kit is filled in for the Widget project. Now you can build your GUI, type some code into the slots – code that is run when you do something on the GUI, and build the code to run it.

AS_000334
AS_000335
AS_000336

After the program ran I noticed that the window title was wrong, so I went back and fixed it.

AS_000337
AS_000338
AS_000339

I haven’t tried the debugger, so I’ll try that later.

So if you are trying to use QtCreator to build a Desktop project on Windows 10, and you are getting “No Valid Kits”, this is how to fix it.

Cheers and enjoy,

:ww

Related

Posts navigation

← Wow – Hurray! Level 100
Wow – Rescue Doggie →
  • Search Site

  • Calendar

    October 2017
    S M T W T F S
    « Sep   Nov »
    1234567
    891011121314
    15161718192021
    22232425262728
    293031  
  • My Sites

    • TheWindyweather at YouTube
    • WindyWeather at SourceForge
    • WindyWeather on Smugmug
  • 2Moons 3ds max Art Bug Info Computers Development Tools Evaluations Final Fantasy XIV Games Guild Wars Guild Wars 2 Helpful Hints Home Projects Humor Jade Dynasty Linux Mini Systems MMOs Mods and Fixes Opinion Photography Second Life Security Shareware Site History Support Questions Tera Video Web Tools World of Warcraft
  • Topics

    • Art
      • 3D CAD Software
      • 3ds max
        • RTRE
        • scripting
      • Fractals
      • Movies
    • Audiophile
    • Computers
      • Artificial Intelligence
      • Bug Info
      • Databases
      • Development Tools
      • Evaluations
      • Exploits
      • LibreOffice
      • Linux
      • Mini Systems
      • Mods and Fixes
      • Open Office
      • OpenGL
      • Playstation 3
      • Printing
      • Second Life
      • Security
      • Shareware
      • Smart Phones
      • Tutorials
      • Video Editing
      • Web Tools
    • EBooks
    • Games
      • Game Testing
      • MMOs
        • 2Moons
        • Aion
        • Allods
        • Aura Kingdom
        • Dekaron
        • Elder Scrolls Online
        • Ether Saga
        • Final Fantasy XIV
        • Guild Wars
        • Guild Wars 2
        • Jade Dynasty
        • Tera
        • WildStar
        • World of Warcraft
    • Helpful Hints
    • Home Projects
    • Humor
    • Legal Issues
    • Opinion
    • Pets
    • Photography
    • Privacy
    • Satire
    • Short Fiction
    • Site History
    • Support Questions
    • Uncategorized
    • Video
      • HDMI
      • Vizio
    • Windows
    • WWC Business
Blog at WordPress.com.
Cancel