March 1, 2011

Peppy Peppy
Lab Rat
338 posts

QMAKE: Project clean directory tree


Hi guys, I am working on new project, and I want to have clean directory tree. My directory tree looks like this example:

  1. Project/
  3.         Make/
  4.              Default.release
  5.              Subproject/
  6.                        Debug.Makefile
  7.                        Release.Makefile
  8.                        // other subproject's makefiles
  9.         Bin/
  10.             Debug/
  11.             Release/
  12.         Src/
  13.              Project/
  14.              Subproject/
  15.              // and so on...
  16.         Lib/
  17.            Debug/
  18.            Release/
  19.         Tmp/
  20.             Moc/
  21.             Res/
  22.         Res/

That’s my problem, cause I don’t have any idea to do this via qmake. Yes, I know Make (GNU Make) (it’s pretty simple) and it’s simple, but how can I manually add my own makefiles into the project file?

3 replies

March 1, 2011

Tobias Hunger Tobias Hunger
Ant Farmer
3387 posts

Moved to tools forum.

March 1, 2011

Peppy Peppy
Lab Rat
338 posts

Probably hard question.

I think I jump over the qmake and just I’ll run Mingw32-make (from command line)…it’s not very clever, but I think that’s the best solution.

March 2, 2011

Peppy Peppy
Lab Rat
338 posts

Is there any way to change OUT_PWD via cmd?

(It seems like I am asking myself, sorry guys…)

I’ve tried this:

  1. qmake.exe -makefile make\Makefile

  ‹‹ QVFB tool - How to build it if not present on my linux platform ?      Qt Dev Environment on a non-64-bit Mac ››

You must log in to post a reply. Not a member yet? Register here!