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. No examples for QT Creator in Linux Mint installation . . .
Forum Updated to NodeBB v4.3 + New Features

No examples for QT Creator in Linux Mint installation . . .

Scheduled Pinned Locked Moved Installation and Deployment
9 Posts 5 Posters 9.9k Views 1 Watching
  • 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.
  • L Offline
    L Offline
    lmitcham
    wrote on last edited by
    #1

    I used the Linux Mint (Maya) Synaptic Package Manager to install qt4-designer, qt4-dev-tools, qt4-linguist-tools, qt4-qmake, qt-sdk, qt4-qmlviewer, and qtcreator.

    However, when I open Qt-Creator and click on "Demos and Examples", in the Welcome widow, there are no examples. What have I missed?

    1 Reply Last reply
    0
    • T Offline
      T Offline
      tobias.hunger
      wrote on last edited by
      #2

      No idea. Maybe the packages did not install the examples? Or they did not put them into the place creator expects them to be?

      1 Reply Last reply
      0
      • L Offline
        L Offline
        leituni
        wrote on last edited by
        #3

        Try to install package qt4-doc or qt5-doc. I installed group qt on Arch Linux and it was missing the examples too, but by default it does not installs qt doc, which contains all examples.

        1 Reply Last reply
        0
        • S Offline
          S Offline
          snake8080
          wrote on last edited by
          #4

          Does someone have a real answer to this? I have same issue. What I notice is I am root, the examples are there and buildable. If I logomn as my normal user, I cannot get the examples...how to fix this?

          1 Reply Last reply
          0
          • L Offline
            L Offline
            leituni
            wrote on last edited by
            #5

            First, go get your humility you forgot. "real answer?".

            Second, don't use root.

            Third, when you install qt doc package, it is installed at /usr/share/doc/qt/examples. (I think this is the path, I'm on OS X now). Go to this folder as normal user and copy the example you want and paste it to your home folder (/home/noobuser).

            This is the real answer. If you don't understand now, I can make a step-by-step of how to compile a example for you. =)

            1 Reply Last reply
            0
            • S Offline
              S Offline
              snake8080
              wrote on last edited by
              #6

              Hmmm very funny...this is the the "real answer"
              http://qt-project.org/forums/viewthread/25260

              Its gets tiring seeing answers over and over about "just do this" and it never works...yes I know...there are > N ways to skin something.

              And yes using root is not right. thanks..

              1 Reply Last reply
              0
              • L Offline
                L Offline
                leituni
                wrote on last edited by
                #7

                Next time, add a little bit of humility and you can go far. Otherwise, your life will be full of "how to do? This doesn't work... cry cry cry".

                1 Reply Last reply
                0
                • S Offline
                  S Offline
                  snake8080
                  wrote on last edited by
                  #8

                  Did you look at the post I sent or just respond with this?
                  Does what was said in the post work?

                  Ill look at your posts so I can get examples of humilty or do I need to google that?

                  1 Reply Last reply
                  0
                  • J Offline
                    J Offline
                    jansc
                    wrote on last edited by
                    #9

                    I had the same problem on Linux Mint 17.2. This did the trick for me:

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

                    1 Reply Last reply
                    1

                    • Login

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