Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt
  • Unsolved
Collapse
qtws26_logo

The Qt Event of the Year: Qt World Summit 2026

Save Your Spot >
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. Qt creator missing examples, lubuntu
Qt 6.12 LTS is out! See what's new in the release blog

Qt creator missing examples, lubuntu

Scheduled Pinned Locked Moved Unsolved Installation and Deployment
17 Posts 4 Posters 8.1k Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • P peterpies

    @aha_1980 Thanks very much for your prompt reply, QT5 is installed with lubuntu, I did install the docs, examples and development after. I moved the examples to the doc directory. It stated in Qt doc to check version if no examples are seen which I did, all kits state autodetected no indication of files actually used. Hope this helps. I ran the command you used above and yes indicates similar.

    labelme-examples - Image Polygonal Annotation with Python, examples
    csoundqt-examples - example scores for csoundqt
    libqcustomplot-doc - Qt C++ widget for plotting - documentation and examples
    libqglviewer-doc - OpenGL 3D viewer library - documentation and examples
    libqhttpengine-examples - HTTP server for Qt applications - examples
    mathgl - library for scientific graphs (utilities and examples)
    pyqt5-examples - Examples and demos for PyQt5
    python-pyqt5.qwt-doc - Python Qwt6 technical widget library, documentation and examples
    python-qtawesome-doc - documentation and examples for QtAwesome
    qelectrotech-examples - examples files for qelectrotech
    qt3d5-examples - Qt 5 3d examples
    qt5serialport-examples - Qt 5 serial port examples
    qtbase5-examples - Qt 5 base examples
    qtcharts5-examples - Qt chart examples
    qtconnectivity5-examples - Qt 5 Connectivity examples
    qtdatavisualization5-examples - Examples for Qt 5 Data Visualization module
    qtdeclarative5-examples - Qt 5 declarative examples
    qtgamepad5-examples - Qt 5 Gamepad examples
    qtlocation5-examples - Qt 5 Location and Positioning examples
    qtmultimedia5-examples - Examples for Qt 5 Multimedia module
    qtnetworkauth5-examples - online account access for Qt apps - Examples
    qtquickcontrols2-5-examples - Qt 5 Qt Quick Templates 2 examples
    qtquickcontrols5-examples - Qt 5 Quick Controls examples
    qtremoteobjects5-examples - Qt Remote Objects examples
    qtscript5-examples - Qt 5 script examples
    qtscxml5-examples - Qt SCXML examples
    qtsensors5-examples - Qt 5 sensors examples
    qtserialbus5-examples - Qt 5 Serialbus serial bus access examples
    qtspeech5-examples - Speech library for Qt - Examples
    qtsvg5-examples - Qt 5 SVG examples
    qttools5-examples - Qt 5 tools examples
    qtvirtualkeyboard5-examples - Qt virtual keyboard examples
    qtwayland5-examples - Qt 5 Wayland examples
    qtwebchannel5-examples - Web communication library for Qt - Examples
    qtwebengine5-examples - Qt WebEngine - Examples
    qtwebsockets5-examples - Examples for Qt 5 Web Sockets module
    qtwebview5-examples - display web content in a QML application - Examples
    qtxmlpatterns5-examples - Qt 5 XML patterns examples

    I do hope this helps, thanks in advance for your assitance

    jsulmJ Offline
    jsulmJ Offline
    jsulm
    Lifetime Qt Champion
    wrote on last edited by
    #4

    @peterpies said in Qt creator missing examples, lubuntu:

    I moved the examples to the doc directory

    Why?

    https://forum.qt.io/topic/113070/qt-code-of-conduct

    P 1 Reply Last reply
    1
    • jsulmJ jsulm

      @peterpies said in Qt creator missing examples, lubuntu:

      I moved the examples to the doc directory

      Why?

      P Offline
      P Offline
      peterpies
      wrote on last edited by
      #5

      @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

      jsulmJ 1 Reply Last reply
      0
      • P peterpies

        @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

        jsulmJ Offline
        jsulmJ Offline
        jsulm
        Lifetime Qt Champion
        wrote on last edited by
        #6

        @peterpies Did you install QtCreator using apt? If the examples packages are installed they should actually show up in QtCreator.

        https://forum.qt.io/topic/113070/qt-code-of-conduct

        aha_1980A 1 Reply Last reply
        0
        • jsulmJ jsulm

          @peterpies Did you install QtCreator using apt? If the examples packages are installed they should actually show up in QtCreator.

          aha_1980A Offline
          aha_1980A Offline
          aha_1980
          Lifetime Qt Champion
          wrote on last edited by
          #7

          @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? :)

          Qt has to stay free or it will die.

          jsulmJ 1 Reply Last reply
          1
          • aha_1980A aha_1980

            @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? :)

            jsulmJ Offline
            jsulmJ Offline
            jsulm
            Lifetime Qt Champion
            wrote on last edited by
            #8

            @aha_1980 I see that Qt was installed using apt, but don't see anything related to QtCreator.

            https://forum.qt.io/topic/113070/qt-code-of-conduct

            aha_1980A 1 Reply Last reply
            0
            • jsulmJ jsulm

              @aha_1980 I see that Qt was installed using apt, but don't see anything related to QtCreator.

              aha_1980A Offline
              aha_1980A Offline
              aha_1980
              Lifetime Qt Champion
              wrote on last edited by
              #9

              @jsulm and the examples are part of Qt, not of Creator. So if he don't install them, they will simply be not there.

              Qt has to stay free or it will die.

              jsulmJ 1 Reply Last reply
              0
              • aha_1980A aha_1980

                @jsulm and the examples are part of Qt, not of Creator. So if he don't install them, they will simply be not there.

                jsulmJ Offline
                jsulmJ Offline
                jsulm
                Lifetime Qt Champion
                wrote on last edited by
                #10

                @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.

                https://forum.qt.io/topic/113070/qt-code-of-conduct

                P 1 Reply Last reply
                1
                • jsulmJ jsulm

                  @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.

                  P Offline
                  P Offline
                  peterpies
                  wrote on last edited by
                  #11

                  @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

                  jsulmJ 1 Reply Last reply
                  0
                  • P peterpies

                    @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

                    jsulmJ Offline
                    jsulmJ Offline
                    jsulm
                    Lifetime Qt Champion
                    wrote on last edited by
                    #12

                    @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.

                    https://forum.qt.io/topic/113070/qt-code-of-conduct

                    P 1 Reply Last reply
                    0
                    • jsulmJ jsulm

                      @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.

                      P Offline
                      P Offline
                      peterpies
                      wrote on last edited by
                      #13

                      @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

                      P jsulmJ 2 Replies Last reply
                      0
                      • P peterpies

                        @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

                        P Offline
                        P Offline
                        peterpies
                        wrote on last edited by
                        #14

                        @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

                        1 Reply Last reply
                        0
                        • P peterpies

                          @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

                          jsulmJ Offline
                          jsulmJ Offline
                          jsulm
                          Lifetime Qt Champion
                          wrote on last edited by
                          #15

                          @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.

                          https://forum.qt.io/topic/113070/qt-code-of-conduct

                          P 1 Reply Last reply
                          0
                          • jsulmJ jsulm

                            @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.

                            P Offline
                            P Offline
                            peterpies
                            wrote on last edited by
                            #16

                            @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

                            1 Reply Last reply
                            0
                            • CazumbiC Offline
                              CazumbiC Offline
                              Cazumbi
                              wrote on last edited by
                              #17

                              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".

                              1 Reply Last reply
                              0

                              • Login

                              • Login or register to search.
                              • First post
                                Last post
                              0
                              • Categories
                              • Recent
                              • Tags
                              • Popular
                              • Users
                              • Groups
                              • Search
                              • Get Qt
                              • Unsolved