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. Keeping the normal build system of my project...?
QtWS25 Last Chance

Keeping the normal build system of my project...?

Scheduled Pinned Locked Moved Unsolved General and Desktop
autotoolsmakeqmakebuild
3 Posts 3 Posters 1.3k 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.
  • D Offline
    D Offline
    delt
    wrote on 20 Nov 2015, 03:22 last edited by
    #1

    Hello everyone, new user here from Montréal, Canada.

    I'm programming a small game in C (not C++), the project uses standard autotools / gnu make for build management. The project has a somewhat modular approach, with the UI code being one module that has several "sub-modules", one for each interface type possible. Right now, only a bare-bones textmode interface and a GTK3 interface are implemented. I kind of lost patience with GTK3's problems with portability, so i'm strongly considering adding a QT interface.

    The problem is with the build system: i'm not writing "a QT application", i'm using QT as one of the possible interface types for my application. So, i'd really like to keep my build system as-is, and not switch everything to qmake. What i'd consider ideal is to use qmake to compile (but not link) the QT component, and then link that from autotools/make. Is this possible?

    Thanks very much for any advice.

    1 Reply Last reply
    0
    • D Offline
      D Offline
      debian
      wrote on 20 Nov 2015, 06:09 last edited by
      #2

      CMake

      1 Reply Last reply
      0
      • S Offline
        S Offline
        SGaist
        Lifetime Qt Champion
        wrote on 20 Nov 2015, 23:42 last edited by
        #3

        Hi and welcome to devnet,

        While it might be doable, I'd recommend using a build manager either CMake like suggested by @debian, QBS or qmake. You'll have an easier way to handle your project and its submodules (not to mention that it will also make your life easier if changing OS to build your project).

        Note that you can use qmake for non-Qt project without a problem.

        Interested in AI ? www.idiap.ch
        Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

        1 Reply Last reply
        0

        3/3

        20 Nov 2015, 23:42

        • Login

        • Login or register to search.
        3 out of 3
        • First post
          3/3
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • Users
        • Groups
        • Search
        • Get Qt Extensions
        • Unsolved