Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    [closed] Dependency issues with subdirs and libraries

    General and Desktop
    2
    3
    462
    Loading More Posts
    • 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
      kloveridge last edited by

      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 Reply Quote 0
      • K
        kloveridge last edited by

        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 Reply Quote 0
        • E
          Eddy last edited by

          I'm closing this one as a duplicate

          Qt Certified Specialist
          www.edalsolutions.be

          1 Reply Last reply Reply Quote 0
          • First post
            Last post