[Solved]Qt generic project
-
You can also read "Advanced qmake usage" for the project definition
-
Chuck.Gao: You are waaay off with your comment: The generic project does not even use qmake (well, in theory it could generate the Makefiles run by the "generic project" using qmake, but that would make no sense at all).
-
[quote author="Tobias Hunger" date="1305644453"]Chuck.Gao: You are waaay off with your comment: The generic project does not even use qmake (well, in theory it could generate the Makefiles run by the "generic project" using qmake, but that would make no sense at all).[/quote]
Thanks Tobias, i miss understanding the topic. And i find the detailed information in Assistant.
-
QMAKE is for me deprecated. It has no way how to change makefile output dir, and for this reason, it is out of my task...
The latest SDK which I downloaded, has come with jom.exe file (I would like to know more about this executable)...
-
Peppy: Why would you care where the output of the build system is written to? That is a implementation detail of the build system. Use shadow building if you do not want to have temporary build files litter your source directory.
Or are you talking about where the stuff gets installed to? That can be set with qmake.
-
That just my meaning, that sources shouldn't be mixed with makefiles, but it is my opinion... I have a bad habit from Visual C++, where everything has own place, you know...
I will have to change my project tree structure and spend more time with project planning...
-
Peppy: That is what shadow building is for. You create a empty directory next to the one holding the sources and everything qmake or make creates goes there.
-
I not know anybody with a project of reasonable size who uses homebrewn Makefiles these days. They are a nightmare to maintain and are in no way cross platform.
-
School projects at college requires (the same or simillar) structure as I mentioned in another topic (linked above)...
They need something like that:
@
project/
| - src/ // <-- sources
| - make/ // <-- makefile
| - bin/
| - doc/
| - examples/
...
@ -
Oh, school... it is no reasonable sized project then:-)
-
And hardly any sensible project requirements :-)
-
Yes, it's silly, but what can I do?! Just do it as they want...
-
qmake has the -o switch to specify where the output should go. Maybe this can work for you.