Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. Qt creator missing examples, lubuntu
Qt 6.11 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 6.0k 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.
  • 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 Extensions
                        • Unsolved