9

I've installed QtCreator in Kubuntu 15.10 through apt-get and it say my computer doesn't have the required Qt Kit and can be installed through Qt Maintenance Tool.

But I don't think I have Qt Maintenance Tool in my start menu and didn't found it in Synaptic.

3 Answers3

6

Install Qt development packages qt5-default qtdeclarative5-dev through apt-get.

Velkan
  • 3,681
  • 3
    The versions of these packages provided with Ubuntu 19.10 do not contain the Qt Maintenance Tool. Can't find it in any of the Qt5 Ubuntu packages. – tanius May 28 '20 at 22:20
3

I found the maintenance tool binary for my installation at /opt/Qt5.7.0/MaintenanceTool on Ubuntu 14.04.

I found it by using the locate tool:

sudo apt-get install mlocate
sudo updatedb
locate -i maintenance | grep -i qt

Anyways, using the maintenance tool with the apt provided package was a rabbit hole with other problems. I ended up installing a fresh version of QtCreator from the universal linux binary install provided at qt.io installing into $HOME/Qt. Uses of that maintenance tool actually do work and I can upgrade Qt Versions easily.

  • location and/or existence of it varies upon version, and upon OS, it's yet another one of those things I dislike about qt. If only they had a solid config tool for the kits it would have been my choice, unfortunately politics, yes good old politics in the meticulous licensing and ownership of various components including qtcreator itself that make the whole thing more complex than it ever should have been :( Its sad we basically lost 2 decades of progress thanks to politics and licensing, maybe even more to come :( :( – osirisgothra Oct 27 '24 at 20:27
  • Answers the question by OP and worked great on Ubuntu 24.04 LTS – richelbilderbeek Aug 13 '25 at 06:41
1

Just add a Kit of your own choice in:

Tools > Options > Build & Run > Kits > (press) Add (button on the right side) > (give the Unnamed kit a name, or not, your choice) > Apply | OK

Note: The default kit, which comes pre-installed didn't work for me. So I recreated one.

You can select compiler kits, tools, platform, version of qt and anything else for your kit if you need to.

Secko
  • 111
  • 1
    To clarify, for Qt Creator installed via apt-get as by the OP, this answer only works for the Kit for desktop Qt development. Because that's the Qt version installed by apt. To develop for Android and the like, you need a Qt version compiled for Android. And that is only available within the Qt Maintenance Tool or when using the installer from the Qt website. – tanius May 29 '20 at 15:14
  • @tanius yes, this was not meant as an answer for Android. – Secko May 29 '20 at 15:16
  • I did do that, however such kit has exclamation sign with a pop up mentioning an incompatible version. Looking at screenshots on this page the one field I didn't change (which apparently what causes problems) is Qt version. Somehow to make it work you need to create a (in case of webassembly development) Qt x.xx.xx WebAssembly version, but how to do so is completely unclear. – Hi-Angel Sep 01 '24 at 18:39