Results 1 to 2 of 2

Thread: use GNU make entirely and bypass qmake?

  1. #1
    Join Date
    Apr 2008
    Posts
    5
    Qt products
    Qt3
    Platforms
    Unix/X11 Windows

    Default use GNU make entirely and bypass qmake?

    I build my program using GNU make to control the overall build process. For the Qt code, I spawn a sub-process which ends up doing a qmake to generate a sub-Makefile from a pre-existing .pro file.

    Recently, I've enhanced/simplified my Makefile by removing all references to source files, include files, and object files. All these things are now automatically generated on the fly. The only thing remaining is the Qt portion.

    Is there a standard set of Makefile rules that one can use in a Makefile and thus completely bypass qmake?

    I realise that doing a "qmake -project" will generate a .pro file with all the entries for source, include, and object files automatically generated. The problem is that the automatically generated .pro file does not contain settings as I need them to integrate everything into my build.

  2. #2
    Join Date
    Aug 2008
    Posts
    19
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: use GNU make entirely and bypass qmake?

    Have you considered using CMake? It's simple and powerful enough for the KDE folks, and it eliminates the need for qmake. It's probably better than you current dynamic Makefile.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.