Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. International
  3. Chinese
  4. The default order of compile multiple sub-projects
Forum Updated to NodeBB v4.3 + New Features

The default order of compile multiple sub-projects

Scheduled Pinned Locked Moved Unsolved Chinese
2 Posts 2 Posters 303 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.
  • T Offline
    T Offline
    Three-Body
    wrote on 4 Mar 2025, 07:59 last edited by
    #1

    I have multiple sub-projects in one of my QT projects. If I don't set CONFIG += ordered in the pro file, and I don't use SUBDIRS to set compilation dependencies, what rules does Qt use by default to determine the compilation order of subprojects?

    J 1 Reply Last reply 4 Mar 2025, 08:18
    0
    • T Three-Body
      4 Mar 2025, 07:59

      I have multiple sub-projects in one of my QT projects. If I don't set CONFIG += ordered in the pro file, and I don't use SUBDIRS to set compilation dependencies, what rules does Qt use by default to determine the compilation order of subprojects?

      J Offline
      J Offline
      jsulm
      Lifetime Qt Champion
      wrote on 4 Mar 2025, 08:18 last edited by
      #2

      @Three-Body You posted in English in Chinese forum. Please use correct forum.

      I think if you do not define dependencies between the projects the order will be undefined and on multi-core and/or multi-cpu machines they will be built in unspecified and probably non-reproducible order.

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

      1 Reply Last reply
      0

      1/2

      4 Mar 2025, 07:59

      • 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