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. Sample C /C++ code for "SUBDIRS" ?
Forum Updated to NodeBB v4.3 + New Features

Sample C /C++ code for "SUBDIRS" ?

Scheduled Pinned Locked Moved Unsolved General and Desktop
1 Posts 1 Posters 131 Views 3 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.
  • A Offline
    A Offline
    Anonymous_Banned275
    wrote on last edited by Anonymous_Banned275
    #1

    https://wiki.qt.io/SUBDIRS_-_handling_dependencies

    After RTFM above I have some understanding how make/ qmake manipulates the individual projects. Now I need to put the projects together in code and I am kind-of stuck. I feel the best way is to have "lead dog " main project (window) with calls to subprojects .
    In C terminology - include / define a function so the main can work with it.
    How do I implement similar scheme in SUBDIRS ?

    In very rudimentary words:

    include sub-project
    ....
    include sub-project

    (run) main project

    I could just add sub-project files to main project but that would defeat the whole SUBDIRS concept.

    Any hint will be appreciated.

    Any opposing views ?

    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