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. [Solved] Cant get libraries to compile when modified without double compile
Forum Updated to NodeBB v4.3 + New Features

[Solved] Cant get libraries to compile when modified without double compile

Scheduled Pinned Locked Moved General and Desktop
2 Posts 1 Posters 511 Views 1 Watching
  • 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 a top level workspace that configures everything into a single project subdirs template.

    I can make modifications in the application and it compiles as expected. My trouble is in the libraries. When I make a modification in a library, I have to either compile it twice or rebuild all. Its as though the libraries are one compile behind. Not sure how to fix this.

    Here's the top level workspace subdirs .pro file:

    @cache()

    TEMPLATE = subdirs

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

    Underworld.subdirs = Underworld
    Horus.subdirs = Horus

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

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

      Ok, here's what fixed it...

      @
      cache()

      TEMPLATE = subdirs
      CONFIG += ordered <--this was what I needed

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

      @

      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