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. Project Dependencies without Qt-Creator and Subdirs Project
Forum Updated to NodeBB v4.3 + New Features

Project Dependencies without Qt-Creator and Subdirs Project

Scheduled Pinned Locked Moved General and Desktop
5 Posts 2 Posters 3.8k 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.
  • W Offline
    W Offline
    walteste
    wrote on last edited by
    #1

    Hi,

    i want to add to my pro-file "A" a project dependency to another pro-file "B", that at the time of building the project A also the project B gets build. This is quite similar as the project dependencies in Qt-Creator.

    I dont want to use Qt-Creator for it, as well as subdirs is not my choice of solution.

    Can someone give me a hint on this?

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

      You might want to check out "this":http://qt-project.org/doc/qt-4.8/qmake-variable-reference.html#pre-targetdeps

      Vote the answer(s) that helped you to solve your issue(s)

      1 Reply Last reply
      0
      • W Offline
        W Offline
        walteste
        wrote on last edited by
        #3

        Well, but what do i specify then?

        PRE_TARGETDEPS = project-B.pro

        1 Reply Last reply
        0
        • K Offline
          K Offline
          koahnig
          wrote on last edited by
          #4

          [quote author="Stefan Walter" date="1358241295"]Well, but what do i specify then?

          PRE_TARGETDEPS = project-B.pro[/quote]
          Typically it could be used when project-A is using a library. You would list this library (or these libraries).

          Vote the answer(s) that helped you to solve your issue(s)

          1 Reply Last reply
          0
          • W Offline
            W Offline
            walteste
            wrote on last edited by
            #5

            [quote author="koahnig" date="1358248651"][quote author="Stefan Walter" date="1358241295"]Well, but what do i specify then?

            PRE_TARGETDEPS = project-B.pro[/quote]
            Typically it could be used when project-A is using a library. You would list this library (or these libraries). [/quote]

            This means that the PRE_TARGETDEPS is not what i am looking for, because it expects ready made libraries.

            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