[Solved]Qt generic project
-
wrote on 16 May 2011, 13:55 last edited by
Could you explain me what is the "Generic project" for? (Latest Qt SDK)
-
wrote on 16 May 2011, 14:31 last edited by
Where you read this?
Can you explain in details the problem? -
wrote on 16 May 2011, 17:17 last edited by
I read it in Qt SDK Documentation at "Home" page is below link to "Generic Project" or something like that...
-
wrote on 16 May 2011, 20:53 last edited by
Just "check the documentation":http://doc.qt.nokia.com/qtcreator-snapshot/creator-project-generic.html.
-
wrote on 16 May 2011, 21:38 last edited by
Yes, that I've read earlier. But It's able to connect with Qt SDK/API ?? In order to make my own project tree structure as I wish to do and apply Qt framework ?
So my meaning (of this generic project) is: Create your own project structure with your source files and add some makefiles which you write yourself and set up it as wish you want, add to QtCreator main make and build it installed compillers...
(as I requested "here":http://developer.qt.nokia.com/forums/viewthread/4147/)
Is my meaning of generic project correct or not??
[EDIT: fixed link, Volker]
-
wrote on 17 May 2011, 06:28 last edited by
It is a Makefile based project... you can do whatever you can do with the buildsystem of your choice.
-
wrote on 17 May 2011, 10:21 last edited by
That's nice...I'll try it in near future...I hope it will be much more funny :)...I am excited...
-
wrote on 17 May 2011, 14:42 last edited by
You can also read "Advanced qmake usage" for the project definition
-
wrote on 17 May 2011, 15:00 last edited by
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).
-
wrote on 17 May 2011, 15:09 last edited by
[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.
-
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.
1/20