Changeset 93 for trunk/os2-doc


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/os2-doc/doc.html

    r89 r93  
    342342    <kbd>debug</kbd> keywords in the <code>CONFIG</code> statement.</p>
    343343
    344     <p>21. The <code>VERSION</code> project variable is copied by qmake (as
    345     is) to the generated makefile. Note that its value does not affect the
    346     name of the generated DLL target anymore (for projects with the
    347     <kbd>lib</kbd> template and with the <kbd>dll</kbd> keyword in
     344    <p>21. The <code>VERSION</code> project variable is copied by
     345    <kbd>qmake</kbd> (as is) to the generated makefile. Note that its value
     346    does not affect the name of the generated DLL target anymore (for projects
     347    with the <kbd>lib</kbd> template and with the <kbd>dll</kbd> keyword in
    348348    <code>CONFIG</code>), as opposed to other qmake backends. Appending a
    349349    version number to the DLL name could implicitly lead to running out of the
     
    352352    be used by qmake compiler specifications to embed the version to the
    353353    generated DLL file itself (as the GCC specification does).</p>
     354
     355    <p>22. Added the internal qmake variable <code>QMAKE_DEFINES_QT</code>. It
     356    is intended to list a set of C/C++ defines to be used during compilation
     357    of C/C++ sources when either <kbd>qt</kbd>, <kbd>qtinc</kbd> or
     358    <kbd>build_qt</kbd> is present in the <code>CONFIG</code> statement. Using
     359    this variable instead of <code>DEFINES</code> keeps non-Qt projects free
     360    from Qt-only related defines (otherwise added to every Makefile generated
     361    by <kbd>qmake</kbd> from any project file).</p>
    354362  </body>
    355363</html>
Note: See TracChangeset for help on using the changeset viewer.