Installed QT 5.5.0 on Fedora22: Help me set required permission
-
@SGaist Do i have to run qmake in terminal or is it a equivalent of build?
-
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.
-
@SGaist Done, even after running qmake it gives the same error as before about missing header file.
-
Which header is missing ?
-
@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?
-
No, it's not a permission problem. Seems like you moved some stuff around that find is in qtquickcontrols/examples/quick/controls/shared
-
@SGaist I didnt move anything i installed it a while ago so i didnt do any changes or moved anything.
-
The path "/home/nishanth/gallery/main.cpp" doesn't look correct gallery should be in qtquickcontrols/examples/quick/controls/
-
@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 -
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
-
I really didnt get what to do can you please elaborate please.
-
Copy the folder name "shared" that is in the example folder /quick/controls/ in /home/nishanth/
-
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? -
AFAIC Qt Creator assumes that examples are self contained. These are a bit of a special case
16/20