[Solved]Qt generic project
-
wrote on 17 May 2011, 15:12 last edited by
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)...
-
wrote on 17 May 2011, 19:43 last edited by
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.
-
wrote on 17 May 2011, 19:48 last edited by
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...
-
wrote on 17 May 2011, 21:32 last edited by
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.
-
wrote on 17 May 2011, 22:06 last edited by
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.
-
wrote on 18 May 2011, 09:23 last edited by
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/
...
@ -
wrote on 18 May 2011, 09:43 last edited by
Oh, school... it is no reasonable sized project then:-)
-
wrote on 18 May 2011, 09:54 last edited by
And hardly any sensible project requirements :-)
-
wrote on 18 May 2011, 11:04 last edited by
Yes, it's silly, but what can I do?! Just do it as they want...
-
wrote on 18 May 2011, 16:45 last edited by
qmake has the -o switch to specify where the output should go. Maybe this can work for you.
20/20