Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt Creator and other tools
  4. QMAKE: Project clean directory tree
Forum Updated to NodeBB v4.3 + New Features

QMAKE: Project clean directory tree

Scheduled Pinned Locked Moved Qt Creator and other tools
4 Posts 2 Posters 6.5k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • P Offline
    P Offline
    Peppy
    wrote on last edited by
    #1

    Hi guys, I am working on new project, and I want to have clean directory tree. My directory tree looks like this example:
    @
    Project/
    Project.pro
    Make/
    Default.release
    Subproject/
    Debug.Makefile
    Release.Makefile
    // other subproject's makefiles
    Bin/
    Debug/
    Release/
    Src/
    Project/
    Subproject/
    // and so on...
    Lib/
    Debug/
    Release/
    Tmp/
    Moc/
    Res/
    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?

    1 Reply Last reply
    0
    • T Offline
      T Offline
      tobias.hunger
      wrote on last edited by
      #2

      Moved to tools forum.

      1 Reply Last reply
      0
      • P Offline
        P Offline
        Peppy
        wrote on last edited by
        #3

        Probably hard question.

        //EDIT:
        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.

        1 Reply Last reply
        0
        • P Offline
          P Offline
          Peppy
          wrote on last edited by
          #4

          Is there any way to change OUT_PWD via cmd?

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

          I've tried this:
          @qmake.exe -makefile make\Makefile@

          1 Reply Last reply
          0

          • Login

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • Users
          • Groups
          • Search
          • Get Qt Extensions
          • Unsolved