mkspecs/features/qt_functions.prf
branchGCC_SURGE
changeset 31 5daf16870df6
parent 29 b72c6db6890b
child 33 3e2da88830cd
equal deleted inserted replaced
27:93b982ccede2 31:5daf16870df6
    76     export(INCLUDEPATH)
    76     export(INCLUDEPATH)
    77     export(QMAKE_FRAMEWORKPATH)
    77     export(QMAKE_FRAMEWORKPATH)
    78     export(QMAKE_LFLAGS)
    78     export(QMAKE_LFLAGS)
    79     return(true)
    79     return(true)
    80 }
    80 }
       
    81 
       
    82 # variable, default
       
    83 defineTest(qtPrepareTool) {
       
    84     isEmpty($$1) {
       
    85         !isEmpty(QT_BUILD_TREE):$$1 = $$QT_BUILD_TREE/bin/$$2
       
    86         else:$$1 = $$[QT_INSTALL_BINS]/$$2
       
    87     }
       
    88     $$1 ~= s,[/\\\\],$$QMAKE_DIR_SEP,
       
    89     contains(QMAKE_HOST.os, Windows):!contains($$1, .*\\.exe$):$$1 = $$eval($$1).exe
       
    90     export($$1)
       
    91 }