Site icon TechGit

How To Fix Qt Creator Doesn't Show Examples and "No Valid Kits Found"

screenshot_20170705_235110-1-9279170

screenshot_20170705_235110-1-9279170
I encountered these two issues on Neon GNU/Linux with KDE Plasma 5.10.3 on Qt Creator 4.3.0 & Qt Framework 5.9. When I installed Creator from Neon repo (not Ubuntu repo), it shows no examples at all and also it failed to create new Qt Widget project saying “No Valid Kits Found”. I solved these issues by simple workarounds below:

To Solve “No Examples” Issue

This problem arises because merely installing Creator doesn’t install the examples files themselves. So, install them by command line:

sudo apt-get install qtbase5-examples qtbase5-doc-html

 

To Solve “No Kits” Issue

This solved by installing qt5-default package:

sudo apt-get install qt5-default

and restarting Creator should give you both the Examples and ability to create new projects.

Result

If you performed both workarounds above, you should see Creator shows examples now:
screenshot_20170705_232200-3195372
and it can make new project (Qt Widget) now:
screenshot_20170705_232353-1256892

Extras

Here the details of installed Creator on my system. We know that all packages here come from Neon repo (not Ubuntu repo) with very-very latest versions:
qtbase5-examples:
master@master:~$ apt-cache policy qtbase5-examples
qtbase5-examples:
Version table:
*** 5.9.0-0neon+16.04+xenial+build18 500
500 http://archive.neon.kde.org/user xenial/main amd64 Packages
qtbase5-doc-html:
master@master:~$ apt-cache policy qtbase5-doc-html
qtbase5-doc-html:
Version table:
*** 5.9.0-0neon+16.04+xenial+build18 500
500 http://archive.neon.kde.org/user xenial/main amd64 Packages
500 http://archive.neon.kde.org/user xenial/main i386 Packages
500 http://archive.neon.kde.org/user xenial/main all Packages
qtcreator:
master@master:~$ apt-cache policy qtcreator
qtcreator:
Version table:
*** 4.3.0-0neon+16.04+xenial+build7 500
500 http://archive.neon.kde.org/user xenial/main amd64 Packages
qt5-default:
master@master:~$ apt-cache policy qt5-default
qt5-default:
Version table:
*** 5.9.0-0neon+16.04+xenial+build19 500
500 http://archive.neon.kde.org/user xenial/main amd64 Packages

References

 

Source

FacebookTwitterTumblrRedditLinkedInHacker NewsDiggBufferGoogle ClassroomThreadsXINGShare
Exit mobile version