Unsolved Qt creator missing examples, lubuntu
-
@jsulm sorry I should of explained that more fully, I downloaded the examples in a tar file from source, and the documentation said they were expected to be located in the the doc directory, which is why I moved the downloaded items there. I did nothing extrainious to the apt actions of installing the examples etc. Hope this helps
-
@peterpies Did you install QtCreator using apt? If the examples packages are installed they should actually show up in QtCreator.
-
@jsulm said in Qt creator missing examples, lubuntu:
@peterpies Did you install QtCreator using apt? If the examples packages are installed they should actually show up in QtCreator.
You didn't read from the beginning, did you? :)
-
@aha_1980 I see that Qt was installed using apt, but don't see anything related to QtCreator.
-
@jsulm and the examples are part of Qt, not of Creator. So if he don't install them, they will simply be not there.
-
@aha_1980 said in Qt creator missing examples, lubuntu:
and the examples are part of Qt
I know. My point is that the distribution specific QtCreator build may look somewhere else for examples packaged by same distribution.
-
@jsulm please let me explain more fully how it was all installed, as I may be confusing people and I believe this is ignorance and not your failings in any way.
I did an upgrade full of lubuntu from 19.10 to 20.04, via the full system upgrade method, and not reinstall from live iso. During this process part of the install, installs qt5 complete, including creator. After install qt all components including creator were available in programming section of desktop. Designer works, creator starts upon problems, tutorials are available BUT NO EXAMPLES. So looked around found location of examples for version and downloaded via tar, extracted and moved examples folder to doc folder as suggested by documentation. Checked version in creator as suggested by documentation if examples are missing, this stated qmake is auto configured but no indication of file or location. Hence searched more and installed doc and examples via apt as can be seen. Still have same problem no examples seen in creator. Testing building interface just basic with designer all seemed ok. As can be seen from the screen grab I posted of apt cache it appears more or less the same as yours, including qtbase etc. Sorry if I have not provided adequate info., please state anything else you require and I will obtain it immediately to aid your analysis of this issue. Thanks once again -
@peterpies I don't have a solution for this problem, but you can open the examples manually in QtCreator ("File/Open File or Project..."). You just need to know where those are. You can find out doing:
apt-file list qtbase5-examples
Same for other Qt packages with examples.
If you found the location of an example open its pro file in QtCreator. -
@jsulm thanks for help and honesty, I was going to try the build but wanted to find out which qmake it would use first, I presumed it would build with the default value know to qt. I will do as you suggest and get back to you if that’s ok
-
@peterpies jsulm, look like some progress, have located all the QT setup system variables, and inserted the qmake located there to the version section of creator, now the examples show up in creator, have not tested them yet but will and report back, thanks for the right push
-
@peterpies said in Qt creator missing examples, lubuntu:
to find out which qmake it would use first
Which qmake is used is defined by the Kit you're using.
-
@jsulm , that is what I assumed, I thought when it said auto configure that it would get the correct one for desktop etc. I fear that this whole kit install does not have the correct paths/assignments set correctly, but, I will keep checking as this type of problem was reported in an earlier version where headers and the like where not found, but present in another directory. Thanks once again for your help it’s driving me to at least understand some of the framework of qt
-
In my case, the examples only show up when I run "sudo qtcreator". The problem now is how to make them show up without "sudo".