Qmake project mode "problem"
-
Hi all, recently i've discovered that qmake can auto generate a Qt project file parsing a directory. i'e searched on web but didn't find any tutorial, so some one can explain me how to do that?? i would like to import a project and let qmake build the project for me.
thanks in advance!
-
Just run qmake help...
You need to run this in your project directory:
@
qmake -project
@ -
You need to have qmake in PATH. If you want instructions, you need to tell me what OS are you on and how have you installed Qt.
-
Why oh why are pople using Windows? It's a mystery to me.
Ok, on with the show: either add "C:\Qt\4.8.4\bin\qmake" to PATH in Control Panel->System->Advanced->Environmental Variables (this will make this change globally).
On in cmd (this will only be valid for a single session. When you close cmd.exe, the change is gone):
@
export PATH=C:\Qt\4.8.4\bin\qmake;%PATH%
qmake -project
@ -
Sorry, I'm too unix-centic.
@
set PATH=C:\Qt\4.8.4\bin\qmake;%PATH%
qmake -project
@For your second question - please open a new thread for this.