Organizing the code
-
Start with design and planing first... and not with coding...
-
yeah but the different screens are part of diferent parts of the project. I mean all the screens and respective code for these screens are segregated to all those four folders and i want that all those four folders will be run in a single project....
-
[quote author="AcerExtensa" date="1336634911"]Start with design and planing first... and not with coding... [/quote]
All screens and coding are already done but all are in different projects...I want them to be under a single project...It is like how to make a directory structure for a large project.
-
bq. It is like how to make a directory structure for a large project.
Create project and insert subprojects....
I really don't understand what you actually want?
You need to organize some projects under one solution? Or you need new project which can make use of and control some existing projects? -
if you a have a large project with many different different components how would you arrange them or organize them so that you have only one executable to run all of them
-
- One main exe + sub-executables controlled through QProcess + command line arguments(if it only need them on start), or controlled through events or something like this(pipes, QtSingleApplication , etc...)
or
- Main app(exe) + "plugins":http://qt-project.org/doc/qt-4.8/plugins-howto.html(dll)
-
I am doing for a window platform
-
bq. window platform
you mean windows platform? Or X11? It doesn't mater... booth options will work on WIN & X11 platforms.
-
Till now I tried to make sub-directories for each and every components including Main, but I am not able to write Main.pro. I am not able to understand how to link all these directories in main.pro file.
Can anyone is there any proper documentation for it or can anyone throw some light on this topic
thanks a lot to all of those who replied to this post
-
Have you read "this":http://qt-project.org/doc/qt-4.8/qmake-project-files.html documentation?