Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Qt Examples not showing up on Qt Creator 5.6.1 (build from sources)

Qt Examples not showing up on Qt Creator 5.6.1 (build from sources)

Scheduled Pinned Locked Moved Solved General and Desktop
examples 5.6.1build from sourmissing files
6 Posts 3 Posters 7.7k 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.
  • E Offline
    E Offline
    Ekki
    wrote on 14 Jun 2016, 04:45 last edited by
    #1

    Hi, I builded Qt 5.6.1 from sources, but the examples are missing when I open Qt Creator, tried locking for them on the sources but don't know where they are.

    Also I tried installing qtbase5-examples but still they don't show, searched the internet with no results. Can you point me out in the right direction? Thanks

    R M 2 Replies Last reply 14 Jun 2016, 05:08
    0
    • E Ekki
      14 Jun 2016, 04:45

      Hi, I builded Qt 5.6.1 from sources, but the examples are missing when I open Qt Creator, tried locking for them on the sources but don't know where they are.

      Also I tried installing qtbase5-examples but still they don't show, searched the internet with no results. Can you point me out in the right direction? Thanks

      R Offline
      R Offline
      Ratzz
      wrote on 14 Jun 2016, 05:08 last edited by Ratzz
      #2

      @Ekki
      Have you tied this http://askubuntu.com/questions/450983/ubuntu-14-04-qtcreator-qt5-examples-missing

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

      --Alles ist gut.

      E 1 Reply Last reply 14 Jun 2016, 12:31
      2
      • E Ekki
        14 Jun 2016, 04:45

        Hi, I builded Qt 5.6.1 from sources, but the examples are missing when I open Qt Creator, tried locking for them on the sources but don't know where they are.

        Also I tried installing qtbase5-examples but still they don't show, searched the internet with no results. Can you point me out in the right direction? Thanks

        M Offline
        M Offline
        micland
        wrote on 14 Jun 2016, 11:08 last edited by micland
        #3

        @Ekki said:

        Hi, I builded Qt 5.6.1 from sources, but the examples are missing when I open Qt Creator, tried locking for them on the sources but don't know where they are.

        Did you specify -make examples when calling configure for Qt? AFAIR the examples are not built and installed by default... (I have currently no access to my self built Qt but I think the examples are located in $QTDIR/examples)

        E 1 Reply Last reply 14 Jun 2016, 13:39
        1
        • R Ratzz
          14 Jun 2016, 05:08

          @Ekki
          Have you tied this http://askubuntu.com/questions/450983/ubuntu-14-04-qtcreator-qt5-examples-missing

          sudo apt-get install qtbase5-examples qtbase5-doc-html
          E Offline
          E Offline
          Ekki
          wrote on 14 Jun 2016, 12:31 last edited by Ekki
          #4

          @Ratzz yes, I tried that but still not showing, besides, whats the porpuse of building from sources if I have to install pre-builds anyway. But thanks for replying.

          1 Reply Last reply
          0
          • M micland
            14 Jun 2016, 11:08

            @Ekki said:

            Hi, I builded Qt 5.6.1 from sources, but the examples are missing when I open Qt Creator, tried locking for them on the sources but don't know where they are.

            Did you specify -make examples when calling configure for Qt? AFAIR the examples are not built and installed by default... (I have currently no access to my self built Qt but I think the examples are located in $QTDIR/examples)

            E Offline
            E Offline
            Ekki
            wrote on 14 Jun 2016, 13:39 last edited by
            #5

            @micland For building, things are handled a bit differently, I found the solution, and will post below, thanks

            1 Reply Last reply
            0
            • E Offline
              E Offline
              Ekki
              wrote on 14 Jun 2016, 13:45 last edited by Ekki
              #6

              After doing some research on the source files, since all the tutorials on the internet seem to focus on getting the help working with pre-builds, I found out you have to make the documentation seperatly.

              When you build Qt from sources, the Qt components, the IDE (Qt Creator) and the documentation are separate things, and you need to build each one, here are the links for the wiki for each one:

              Qt base: https://wiki.qt.io/Building_Qt_5_from_Git
              Qt Creator: https://wiki.qt.io/Building_Qt_Creator_from_Git
              Qt Documentation: http://wiki.qt.io/Building_Qt_Documentation

              In short, to get the help working you need to go to qt5 and run make docs:

              cd ~/qt5
              make docs

              This will build everything, that solved the problem

              EDIT: Found the source of the problem, I didn't pay attention in the configure command provided in this guide "https://wiki.qt.io/Building_Qt_5_from_Git":

              ./configure -developer-build -opensource -nomake examples -nomake tests -no-gtkstyle -confirm-license

              It recommended that because it's faster, but left out the examples and the tests, I should have used it like:

              ./configure -developer-build -opensource -nomake tests -no-gtkstyle -confirm-license

              With that you get everything :)

              1 Reply Last reply
              1

              6/6

              14 Jun 2016, 13:45

              • Login

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