mkspecs/features/qt_functions.prf
changeset 29 b72c6db6890b
parent 3 41300fa6a67c
child 33 3e2da88830cd
equal deleted inserted replaced
25:e24348a560a6 29:b72c6db6890b
    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 }