Changeset 981 for trunk


Ignore:
Timestamp:
Aug 14, 2011, 10:02:38 PM (14 years ago)
Author:
Dmitry A. Kuminov
Message:

mkspecs/os2-g++: Always add project directory to INCLUDEPATH.

This is what qmake-based applications expect. On Unix, this is done
right in the respective qmake generator. On Windows, the compiler seems
to automatically add the directory of the file being compiled to the list of
includes, so no need to do that explicitly. More details are in
#227:comment:7.

This change makes it unnecessary to add "INCLUDEPATH = ." to .pro files in
order to fix build breaks we were sometimes suffering from on OS/2.

File:
1 edited

Legend:

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

    r980 r981  
    5252QMAKE_CXXFLAGS_EXCEPTIONS_OFF = -fno-exceptions
    5353
    54 QMAKE_INCDIR        =
     54# make sure includes from the project directory are always found
     55QMAKE_INCDIR        = .
     56
    5557QMAKE_INCDIR_QT     = $$[QT_INSTALL_HEADERS]
    5658QMAKE_LIBDIR_QT     = $$[QT_INSTALL_LIBS]
Note: See TracChangeset for help on using the changeset viewer.