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. Adding the compilation of a non Qt application in the build chain.

Adding the compilation of a non Qt application in the build chain.

Scheduled Pinned Locked Moved Unsolved General and Desktop
2 Posts 2 Posters 396 Views
  • 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.
  • L Offline
    L Offline
    Lolo67
    wrote on last edited by
    #1

    Hello,

    I do have a Qt based project composed by several Qt applications and Qt based librairies.

    The are basically organized like this:

    src - src.pro
    src - apps - apps. pro
    src - apps - app1 - app1.pro
    src - apps - app2 - app2.pro
    src - libs - libs.pro
    src - libs - lib1 - lib1.pro
    src - libs - lib2 - lib2.pro

    The src.pro, apps.pro, libs.pro files are describing the different build-chain dependencies.

    Now I would like to add the build of a non Qt based application in the build chain - in my case a go application

    src - src.pro
    src - apps - apps. pro
    src - apps - app1 - app1.pro
    src - apps - app2 - app2.pro
    src - backend - goapp
    src - libs - libs.pro
    src - libs - lib1 - lib1.pro
    src - libs - lib2 - lib2.pro

    Is there a possiblity to write a goapp.pro file (under src - backend - goapp - goapp.pro) to describe how this non Qt application can be compiled and added to the compilation chain?

    aha_1980A 1 Reply Last reply
    0
    • L Lolo67

      Hello,

      I do have a Qt based project composed by several Qt applications and Qt based librairies.

      The are basically organized like this:

      src - src.pro
      src - apps - apps. pro
      src - apps - app1 - app1.pro
      src - apps - app2 - app2.pro
      src - libs - libs.pro
      src - libs - lib1 - lib1.pro
      src - libs - lib2 - lib2.pro

      The src.pro, apps.pro, libs.pro files are describing the different build-chain dependencies.

      Now I would like to add the build of a non Qt based application in the build chain - in my case a go application

      src - src.pro
      src - apps - apps. pro
      src - apps - app1 - app1.pro
      src - apps - app2 - app2.pro
      src - backend - goapp
      src - libs - libs.pro
      src - libs - lib1 - lib1.pro
      src - libs - lib2 - lib2.pro

      Is there a possiblity to write a goapp.pro file (under src - backend - goapp - goapp.pro) to describe how this non Qt application can be compiled and added to the compilation chain?

      aha_1980A Offline
      aha_1980A Offline
      aha_1980
      Lifetime Qt Champion
      wrote on last edited by
      #2

      @Lolo67

      Yes this should be possible - depending on how the app is compiled it should be more or less simple.

      Take a look at QtCreators wizards: You can select File > New File or Project > Non-Qt Project and have Plain C and Plain C++ Application there. This might be a good start.

      Qt has to stay free or it will die.

      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