Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
Cannot find demos and examples after install
CraigNZ last edited by
I downloaded QT SDK 1.1.3 and installed (Windows). I then run QT Creator which opens with Welcome screen. I click on Building and Running an Example Application which asks me to check the "Show Examples and Demos" box (which I did) and then search for Toys: Clocks. But when I do that nothing comes up.
I then read the tutorial for getting started and it says to open the start menu, open Qt SDK and look for Demos and Applications but there is no entry.
Did I install the wrong application? Or did I not choose somewhere to install the demos and applications? If so, how do I get the QtDemo program to run so I can look at the demos and examples?
Anticross last edited by
I install qt-win-opensource-4.7.4-vs2008 on windows Xp and it works fine. I have Assistant, Designer, Examples and Demos, Linguist there. And I also install qt visual studio adding.
Guest last edited by
I have this same issue, did you resolve yours?
gwicks last edited by
Under Start->All Programs->Qt SDK, click and start up the "Maintain Qt SDK" utility. Choose the "Package Manager" button, click "Next". This will bring up "Select Components", which will show a expanding tree-view for the components you can pick from. Since you want demos and examples, select Qt SDK->Miscellaneous->Qt Examples, and the rest will be fine.
That part of the Package Manager utility works for the demos, examples.
Still wish it work for all of the other components. <sigh>
texas last edited by
I had the same problem. I got the examples working by selecting Tools->Options->Build&Run->Qt Versions and then setting the Qt version to where Qt's qmake.exe is located.
I am using Qt 4.8.1 and QtCreator 2.5.81. This may be different. I built it ground up from source.
Adam Weingarten last edited by
I used the solution that user "texas" suggested 7 years ago - it worked.
I'll just add the nitty-gritty details of what I did...
I had the same problem on Windows 7.
How I solved this:
I open QT Creator.
I select menu-option [Tools]
From there I select [Options...]
From there I select the [Kits] option on the left-hand side
I select the tab [QT Versions]
I click The [Add...] button: to add the QT version that I am using...
... I am presented with a windows-explorer screen to select something...
... I go to the main directory on which QT is installed (in my case: C:\Qt)...
... In the explorer "Search" I enter 'qmake' (without the quotes)...
... There is a single 'qmake.exe' file displayed - I double-click it!...
... I press [Apply], then [OK].
Walla - it works! I now have examples!