Changeset 93 for trunk/mkspecs


Ignore:
Timestamp:
May 1, 2006, 11:16:33 PM (19 years ago)
Author:
dmik
Message:

GNUMAKE backend:

  • Added the internal qmake variable QMAKE_DEFINES_QT (similar to DEFINES but effective only when qt, qtinc or build_qt is present in CONFIG).

Configure script:

  • Mandatory Qt defines are moved from the .qtos2defines file to the generated .qtos2config file (this makes usage of QMAKE_DEFINES_QT).
  • Added the ability to specify a list of custom Qt defines (also using QMAKE_DEFINES_QT).
  • When a custom build is performed, the .qtbuild file is automatically deleted (if exists) to avoid confusion.
  • no_mocdepend is always added to CONFIG in .qtos2config to prevent generated moc sources from being dependent on the moc executable (quite useless).
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/mkspecs/os2-g++/qmake.conf

    r90 r93  
    1616
    1717exists( $(QTDIR)\.qtos2config ) {
    18         include( $(QTDIR)\.qtos2config )
     18        include( $(QTDIR)\.qtos2config )
    1919}
    20 exists( $(QTDIR)\.build ) {
    21         include( $(QTDIR)\.build )
     20exists( $(QTDIR)\.qtbuild ) {
     21        include( $(QTDIR)\.qtbuild )
    2222}
    2323
     
    6666QMAKE_LIBDIR_QT         = $(QTDIR)\lib
    6767QMAKE_LIBDIR_QT_DEBUG   = $(QTDIR)\lib\debug
     68
     69QMAKE_DEFINES_QT        +=
    6870
    6971# As a workaround for the CMD.EXE command line length limitation (1024 chars)
Note: See TracChangeset for help on using the changeset viewer.