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. add another executable to project

add another executable to project

Scheduled Pinned Locked Moved Solved General and Desktop
4 Posts 3 Posters 1.0k Views 2 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.
  • Z Offline
    Z Offline
    Zii_
    wrote on last edited by
    #1

    Hi,

    I was wondering is it possible to add another executable file to your .pro file? like when your compiling your app, it creates the main executable defined in TARGET. is it possible to add another target executable within the same project for something like an updater of sorts.

    Thanks,
    Zii

    1 Reply Last reply
    0
    • Chris KawaC Offline
      Chris KawaC Offline
      Chris Kawa
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi, welcome to the forum.
      With qmake this can be achieved by using a subdirs project. Basicaly you have a .pro file for your app, another for the updater and then a third, top-level subdirs project that builds them both and manages dependencies.

      Z 1 Reply Last reply
      2
      • yuvaramY Offline
        yuvaramY Offline
        yuvaram
        wrote on last edited by
        #3

        Hi @Zii_

        Try this

        https://forum.qt.io/topic/86539/what-is-the-right-way-to-share-common-code-across-qt-project

        Yuvaram Aligeti
        Embedded Qt Developer
        : )

        1 Reply Last reply
        0
        • Chris KawaC Chris Kawa

          Hi, welcome to the forum.
          With qmake this can be achieved by using a subdirs project. Basicaly you have a .pro file for your app, another for the updater and then a third, top-level subdirs project that builds them both and manages dependencies.

          Z Offline
          Z Offline
          Zii_
          wrote on last edited by
          #4

          @Chris-Kawa said in add another executable to project:

          Hi, welcome to the forum.
          With qmake this can be achieved by using a subdirs project. Basicaly you have a .pro file for your app, another for the updater and then a third, top-level subdirs project that builds them both and manages dependencies.

          i'll look into this. thanks.

          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