Changeset 572


Ignore:
Timestamp:
Feb 15, 2010, 7:53:45 PM (15 years ago)
Author:
Dmitry A. Kuminov
Message:

qmake: Perform hackish path substutition magic on OS/2 as well as on Win32 to make sure that generated additional include paths needed by moc and uic are correct (closes #134).

Location:
trunk/mkspecs/features
Files:
2 edited

Legend:

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

    r561 r572  
    9797#make sure we can include these files
    9898moc_dir_short = $$MOC_DIR
    99 contains(QMAKE_HOST.os,Windows):moc_dir_short ~= s,^.:,/,
     99contains(QMAKE_HOST.os,Windows):moc_dir_short ~= s,^.:,/,
    100100contains(moc_dir_short, ^[/\\\\].*):INCLUDEPATH += $$MOC_DIR
    101101else:INCLUDEPATH += $$OUT_PWD/$$MOC_DIR
  • trunk/mkspecs/features/uic.prf

    r561 r572  
    3737!isEmpty(FORMS)|!isEmpty(FORMS3) {
    3838    ui_dir_short = $$UI_HEADERS_DIR
    39     contains(QMAKE_HOST.os,Windows):ui_dir_short ~= s,^.:,/,
     39    contains(QMAKE_HOST.os,Windows):ui_dir_short ~= s,^.:,/,
    4040    contains(ui_dir_short, ^[/\\\\].*):INCLUDEPATH += $$UI_HEADERS_DIR
    4141    else:INCLUDEPATH += $$OUT_PWD/$$UI_HEADERS_DIR
     
    112112image_collection.CONFIG += combine
    113113image_collection.name = UIC3 Image collection in ${QMAKE_FILE_OUT}
    114 !win32 {
     114!win32 {
    115115    image_collection.commands = $$QMAKE_UIC3 -embed $$TARGET ${QMAKE_FILE_IN} -o ${QMAKE_FILE_OUT}
    116116    silent:image_collection.commands = @echo uic3 -embed ${QMAKE_FILE_IN} && $$image_collection.commands
Note: See TracChangeset for help on using the changeset viewer.