Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QML and Qt Quick
  4. Shadow Build
Qt 6.11 is out! See what's new in the release blog

Shadow Build

Scheduled Pinned Locked Moved Unsolved QML and Qt Quick
2 Posts 2 Posters 943 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.
  • A Offline
    A Offline
    Anita
    wrote on last edited by
    #1

    Hello,
    What is the difference between building with shadow build checked and unchecking shadow build? Can testcases be built with checking the option of shadow build?

    jsulmJ 1 Reply Last reply
    0
    • A Anita

      Hello,
      What is the difference between building with shadow build checked and unchecking shadow build? Can testcases be built with checking the option of shadow build?

      jsulmJ Offline
      jsulmJ Offline
      jsulm
      Lifetime Qt Champion
      wrote on last edited by
      #2

      @Anita The difference is that if shadow build is activated you will get a build directory outside of your project source directory where all build artefacts will be (such as your executable). This has several advantages:

      • Your source tree is not polluted with build artefacts (especially useful when using CVS)
      • You can build for different targets with different configurations without destroying your other builds (each configuration will have its own build directory)
      • You can easily do a complete clean rebuild: simply delete build directory and build

      Tests work with shadow build also.

      https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      3

      • Login

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