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. Installed QT 5.5.0 on Fedora22: Help me set required permission
Forum Update on Monday, May 27th 2025

Installed QT 5.5.0 on Fedora22: Help me set required permission

Scheduled Pinned Locked Moved General and Desktop
linuxfedorapermissionrootwriteopt
20 Posts 2 Posters 5.6k 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.
  • S Offline
    S Offline
    SGaist
    Lifetime Qt Champion
    wrote on 16 Jul 2015, 13:40 last edited by
    #4

    Go to the project panel and check the shadow build path. It's pointing to something like /opt/where_the_example_is_located/build-MyExample-Debug_etc. Change the path before build-MyExample-Debug-etc. to a place where you can write and you should be good to go

    Interested in AI ? www.idiap.ch
    Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

    N 1 Reply Last reply 16 Jul 2015, 13:52
    0
    • S SGaist
      16 Jul 2015, 13:40

      Go to the project panel and check the shadow build path. It's pointing to something like /opt/where_the_example_is_located/build-MyExample-Debug_etc. Change the path before build-MyExample-Debug-etc. to a place where you can write and you should be good to go

      N Offline
      N Offline
      nishu-tryinghard
      wrote on 16 Jul 2015, 13:52 last edited by nishu-tryinghard
      #5

      @SGaist Shadow build path is set to /home/user where it is writable. And i get "some_file.h no such directory or file" error if i run.

      1 Reply Last reply
      0
      • S Offline
        S Offline
        SGaist
        Lifetime Qt Champion
        wrote on 16 Jul 2015, 13:54 last edited by
        #6

        Did you re-run qmake after changing the path ?

        Interested in AI ? www.idiap.ch
        Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

        N 1 Reply Last reply 16 Jul 2015, 13:57
        0
        • S SGaist
          16 Jul 2015, 13:54

          Did you re-run qmake after changing the path ?

          N Offline
          N Offline
          nishu-tryinghard
          wrote on 16 Jul 2015, 13:57 last edited by
          #7

          @SGaist Do i have to run qmake in terminal or is it a equivalent of build?

          1 Reply Last reply
          0
          • S Offline
            S Offline
            SGaist
            Lifetime Qt Champion
            wrote on 16 Jul 2015, 13:59 last edited by
            #8

            You can do that from the Build menu.

            No it's not the equivalent of a build, qmake is a project manager (like cmake, QBS etc.). It set things up for you so then you can do builds.

            Interested in AI ? www.idiap.ch
            Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

            N 1 Reply Last reply 16 Jul 2015, 14:01
            0
            • S SGaist
              16 Jul 2015, 13:59

              You can do that from the Build menu.

              No it's not the equivalent of a build, qmake is a project manager (like cmake, QBS etc.). It set things up for you so then you can do builds.

              N Offline
              N Offline
              nishu-tryinghard
              wrote on 16 Jul 2015, 14:01 last edited by
              #9

              @SGaist Done, even after running qmake it gives the same error as before about missing header file.

              1 Reply Last reply
              0
              • S Offline
                S Offline
                SGaist
                Lifetime Qt Champion
                wrote on 16 Jul 2015, 14:01 last edited by
                #10

                Which header is missing ?

                Interested in AI ? www.idiap.ch
                Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

                N 1 Reply Last reply 16 Jul 2015, 14:04
                0
                • S SGaist
                  16 Jul 2015, 14:01

                  Which header is missing ?

                  N Offline
                  N Offline
                  nishu-tryinghard
                  wrote on 16 Jul 2015, 14:04 last edited by
                  #11

                  @SGaist /home/nishanth/gallery/main.cpp:41: error: qtquickcontrolsapplication.h: No such file or directory

                  Dont you think all these issues are because of permission issues?

                  1 Reply Last reply
                  0
                  • S Offline
                    S Offline
                    SGaist
                    Lifetime Qt Champion
                    wrote on 16 Jul 2015, 14:11 last edited by
                    #12

                    No, it's not a permission problem. Seems like you moved some stuff around that find is in qtquickcontrols/examples/quick/controls/shared

                    Interested in AI ? www.idiap.ch
                    Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

                    N 1 Reply Last reply 16 Jul 2015, 14:29
                    0
                    • S SGaist
                      16 Jul 2015, 14:11

                      No, it's not a permission problem. Seems like you moved some stuff around that find is in qtquickcontrols/examples/quick/controls/shared

                      N Offline
                      N Offline
                      nishu-tryinghard
                      wrote on 16 Jul 2015, 14:29 last edited by
                      #13

                      @SGaist I didnt move anything i installed it a while ago so i didnt do any changes or moved anything.

                      1 Reply Last reply
                      0
                      • S Offline
                        S Offline
                        SGaist
                        Lifetime Qt Champion
                        wrote on 16 Jul 2015, 14:30 last edited by
                        #14

                        The path "/home/nishanth/gallery/main.cpp" doesn't look correct gallery should be in qtquickcontrols/examples/quick/controls/

                        Interested in AI ? www.idiap.ch
                        Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

                        N 1 Reply Last reply 16 Jul 2015, 14:36
                        0
                        • S SGaist
                          16 Jul 2015, 14:30

                          The path "/home/nishanth/gallery/main.cpp" doesn't look correct gallery should be in qtquickcontrols/examples/quick/controls/

                          N Offline
                          N Offline
                          nishu-tryinghard
                          wrote on 16 Jul 2015, 14:36 last edited by
                          #15

                          @SGaist Ya i did explain why it is at /home/nishanth/.
                          When i select a example it gives a notification saying this [IMG]http://i62.tinypic.com/2h5u3p3.png[/IMG]
                          After which i makes a copy at /home/nishanth

                          1 Reply Last reply
                          0
                          • S Offline
                            S Offline
                            SGaist
                            Lifetime Qt Champion
                            wrote on 16 Jul 2015, 14:42 last edited by SGaist
                            #16

                            Ok, then you need to also copy the "shared" folder at the same place.

                            I though you only changed the shadow build path not copied the whole example

                            Interested in AI ? www.idiap.ch
                            Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

                            1 Reply Last reply
                            0
                            • N Offline
                              N Offline
                              nishu-tryinghard
                              wrote on 16 Jul 2015, 14:48 last edited by
                              #17

                              I really didnt get what to do can you please elaborate please.

                              1 Reply Last reply
                              0
                              • S Offline
                                S Offline
                                SGaist
                                Lifetime Qt Champion
                                wrote on 16 Jul 2015, 14:50 last edited by
                                #18

                                Copy the folder name "shared" that is in the example folder /quick/controls/ in /home/nishanth/

                                Interested in AI ? www.idiap.ch
                                Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

                                1 Reply Last reply
                                0
                                • N Offline
                                  N Offline
                                  nishu-tryinghard
                                  wrote on 16 Jul 2015, 14:59 last edited by nishu-tryinghard
                                  #19

                                  I had to copy the contents of shared folder "Examples/quick/control/shared" to the example folder in my home directory.
                                  Here home directory is set as my project directory.
                                  Ty very much for helping me.
                                  But dont you think all these should work out of the box?

                                  1 Reply Last reply
                                  0
                                  • S Offline
                                    S Offline
                                    SGaist
                                    Lifetime Qt Champion
                                    wrote on 16 Jul 2015, 15:12 last edited by
                                    #20

                                    AFAIC Qt Creator assumes that examples are self contained. These are a bit of a special case

                                    Interested in AI ? www.idiap.ch
                                    Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

                                    1 Reply Last reply
                                    0

                                    13/20

                                    16 Jul 2015, 14:29

                                    • Login

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