QT Creator 2.8 and custom project folders

  • Hi all.
    I'm new on this forum, and I don't know how to look for my doubt.

    I'd like to use qt-creator 2.8.1 for my apps but I'd like to give my project template folders.

    That is I'd like to make a project template made by this folders

    src // all source files (.h .cpp .ui)
    build // all intermediate files (.o/.obj, moc_, )
    bin // final build

    Is it possible to do that with some QT Creator project wizard?

    I can do this with CMake or bakefile, but I'd like to use directly with qmake.

    Best regards,

  • Damn

    I have'nt see the preview and the project_root is unreadable.

    src // I put all sources here (.c .cpp .h .ui)
    bin // The final files (.exe, .lib .dll)
    build // the intermediated files (.o .obj moc_.)

    This is the right form

  • Lifetime Qt Champion

    Hi and welcome to devnet,

    To do such customizations with qmake, you should take a look at qmake's manual in Qt's source. All variables needed are described (DESTDIR, MOC_DIR etc.)

  • Thank you for the answer.
    I’ll read all about qmake.

    There is a wizard which allows me to do that at the initial project setup?


  • Lifetime Qt Champion

    No there's not

    Currently most people use the shadow build option and don't play with this stuff anymore except when they have old not yet ported projects. However I would recommend using shadow builds, this way you don't have any generated files in your source tree and you can simplify your project structure

Log in to reply

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.