Changeset 594


Ignore:
Timestamp:
Feb 23, 2010, 2:34:49 PM (15 years ago)
Author:
Dmitry A. Kuminov
Message:

qmake: Fixed: On debug_and_release platforms, qrc output files were searched in the wrong output directory while determining the list of include dependencies which resulted into a compile rule for the qrc in the right output directory file even if this file is actually included from the main source file which eventually resulted in duplicate symbols when linking [vendor bug].

Location:
trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/mkspecs/features/exclusive_builds.prf

    r208 r594  
    1010    else:appendFirstBuild = true
    1111
    12     isEmpty(QMAKE_DIR_REPLACE):QMAKE_DIR_REPLACE += OBJECTS_DIR MOC_DIR RCC_DIR
     12    QMAKE_DIR_REPLACE *= OBJECTS_DIR MOC_DIR RCC_DIR UI_DIR PRECOMPILED_DIR
    1313    lessThan(firstBuild, $$secondBuild):eval($${firstBuild}_and_$${secondBuild}_target:QMAKE_DIR_REPLACE += DESTDIR)
    1414    else:eval($${secondBuild}_and_$${firstBuild}_target:QMAKE_DIR_REPLACE += DESTDIR)
  • trunk/mkspecs/features/resources.prf

    r2 r594  
    77isEmpty(QMAKE_RESOURCE_PREFIX):QMAKE_RESOURCE_PREFIX = /tmp/
    88isEmpty(QMAKE_MOD_RCC):QMAKE_MOD_RCC = qrc
     9
     10#make sure we can include these files
     11rcc_dir_short = $$RCC_DIR
     12contains(QMAKE_HOST.os,Windows)|os2:rcc_dir_short ~= s,^.:,/,
     13contains(rcc_dir_short, ^[/\\\\].*):INCLUDEPATH += $$RCC_DIR
     14else:INCLUDEPATH += $$OUT_PWD/$$RCC_DIR
    915
    1016resource_combine {
  • trunk/src/qbase.pri

    r561 r594  
    11isEmpty(TARGET):error(You must set TARGET before include()'ing $${_FILE_})
    22INCLUDEPATH *= $$QMAKE_INCDIR_QT/$$TARGET #just for today to have some compat
    3 !isEmpty(RCC_DIR): INCLUDEPATH += $$RCC_DIR
    43isEmpty(QT_ARCH):!isEmpty(ARCH):QT_ARCH=$$ARCH #another compat that will rot for change #215700
    54TEMPLATE        = lib
Note: See TracChangeset for help on using the changeset viewer.