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. [closed] Dependency issues with subdirs and libraries

[closed] Dependency issues with subdirs and libraries

Scheduled Pinned Locked Moved General and Desktop
3 Posts 2 Posters 546 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.
  • K Offline
    K Offline
    kloveridge
    wrote on last edited by
    #1

    I have a project that has a main application and two libraries. I have created a top level subdirs project that is supposed to bind everything together.

    Everything is working great except that if I make any modifications in either of my two libraries, they don't get compiled in the main app unless I compile twice or rebuild. Annoying.

    Here is the project file for my subdirs project:

    @cache()

    TEMPLATE = subdirs

    SUBDIRS += ../Underworld ../Horus ../Lotus

    Underworld.subdirs = Underworld
    Horus.subdirs = Horus

    Horus.depends = Underworld
    Lotus.depends = Underworld
    Lotus.depends = Horus
    @

    I got the direction to set this up from another site. But the dependency issues don't seem 100% resolved. Any help would be appreciated.

    1 Reply Last reply
    0
    • K Offline
      K Offline
      kloveridge
      wrote on last edited by
      #2

      Whoops. This issue got double posted. My first attempt seemed to fail. So I retyped under another post. But now we know otherwise ;)

      1 Reply Last reply
      0
      • EddyE Offline
        EddyE Offline
        Eddy
        wrote on last edited by
        #3

        I'm closing this one as a duplicate

        Qt Certified Specialist
        www.edalsolutions.be

        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