Important: Please read the Qt Code of Conduct -

Qt Creator (not CMake) how to specify different files for different build configurations?

  • My question is described here, but nobody on stack overflow answered for really long time. Maybe it is impossible. If it is please help me

  • Lifetime Qt Champion

    Hi and welcome to devnet,

    When you want to have tests for your project, you would usually use the SUBDIR template so that you can add tests as sub-project as much as needed. You can follow Qt's model for that. It keeps the source cleanly separated and you can easily add new tests.

Log in to reply