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. Multi-Level SUBDIRS Project Dependencies
QtWS25 Last Chance

Multi-Level SUBDIRS Project Dependencies

Scheduled Pinned Locked Moved Unsolved General and Desktop
subdirsdependenciesproject files
2 Posts 2 Posters 993 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.
  • P Offline
    P Offline
    pcdangio
    wrote on 20 Sept 2016, 00:47 last edited by
    #1

    I have a multi-level SUBDIRS project that I am having trouble trying to define dependencies for. Take for example the following project structure:

    • Project A (subdirs)
      • Project A.1 (subdirs)
        • Project A.1.1 (lib)
        • Project A.1.2 (app)
      • Project A.2 (subdirs)
        • Project A.2.1 (lib)
        • Project A.2.2 (app)
      • Project A.3 (subdirs)
        • Project A.3.1 (lib)
        • Project A.3.2 (app)

    Now lets say the app in Project A.3.2 depends on the library from Project A.1.1. How do I go about setting the dependencies in the SUBDIRS projects? I know in a SUBDIRS project you can set the dependencies for immediate subdirectory projects... but that only works for Projects on the same level of depth. How do I set up dependencies for SUBDIRS projects that go beyond one level of depth?

    1 Reply Last reply
    0
    • V Offline
      V Offline
      VRonin
      wrote on 20 Sept 2016, 07:05 last edited by
      #2

      You can set Project A.3 (subdirs) to depend on Project A.1 (subdirs) of course this create a problem if Project A.1.2 (app) depends on Project A.3.1 (lib)

      "La mort n'est rien, mais vivre vaincu et sans gloire, c'est mourir tous les jours"
      ~Napoleon Bonaparte

      On a crusade to banish setIndexWidget() from the holy land of Qt

      1 Reply Last reply
      2

      2/2

      20 Sept 2016, 07:05

      • Login

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