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 311 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 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?

    jsulmJ 1 Reply Last reply
    0
    • T Three-Body

      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?

      jsulmJ Offline
      jsulmJ Offline
      jsulm
      Lifetime Qt Champion
      wrote on 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

      • Login

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