Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Qt Creator (not CMake) how to specify different files for different build configurations?
Forum Update on Monday, May 27th 2025

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

Scheduled Pinned Locked Moved Unsolved General and Desktop
2 Posts 2 Posters 182 Views
  • 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.
  • B Offline
    B Offline
    baziorek
    wrote on 6 Jun 2020, 18:50 last edited by
    #1

    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

    1 Reply Last reply
    0
    • S Offline
      S Offline
      SGaist
      Lifetime Qt Champion
      wrote on 6 Jun 2020, 19:20 last edited by
      #2

      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.

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      1

      1/2

      6 Jun 2020, 18:50

      • Login

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