2013-06-13 16:12:07 +00:00
|
|
|
qtPrepareTool(QMAKE_UIC, uic, _DEP)
|
2011-04-27 10:05:43 +00:00
|
|
|
|
|
|
|
isEmpty(UI_DIR):UI_DIR = .
|
|
|
|
isEmpty(QMAKE_MOD_UIC):QMAKE_MOD_UIC = ui_
|
|
|
|
|
2017-07-31 14:20:53 +00:00
|
|
|
contains(TEMPLATE, .*lib):dll: QMAKE_UIC_FLAGS += -no-stringliteral
|
|
|
|
|
2016-06-23 09:50:39 +00:00
|
|
|
uic.depends += $$QMAKE_UIC_EXE
|
2017-07-31 14:20:53 +00:00
|
|
|
uic.commands = $$QMAKE_UIC $$QMAKE_UIC_FLAGS ${QMAKE_FILE_IN} -o ${QMAKE_FILE_OUT}
|
2013-06-13 16:12:07 +00:00
|
|
|
uic.depend_command = $$QMAKE_UIC_DEP -d ${QMAKE_FILE_IN}
|
2012-12-06 14:38:46 +00:00
|
|
|
uic.output = $$UI_DIR/$${QMAKE_MOD_UIC}${QMAKE_FILE_BASE}$${first(QMAKE_EXT_H)}
|
|
|
|
uic.input = FORMS
|
|
|
|
uic.variable_out = GENERATED_FILES
|
|
|
|
uic.CONFIG += no_link target_predeps
|
|
|
|
uic.name = UIC ${QMAKE_FILE_IN}
|
|
|
|
silent:uic.commands = @echo uic ${QMAKE_FILE_IN} && $$uic.commands
|
|
|
|
QMAKE_EXTRA_COMPILERS += uic
|
|
|
|
INCREDIBUILD_XGE += uic
|
2011-04-27 10:05:43 +00:00
|
|
|
|
2012-12-06 14:38:46 +00:00
|
|
|
!isEmpty(FORMS) {
|
2012-12-06 14:35:19 +00:00
|
|
|
INCLUDEPATH += $$absolute_path($$UI_DIR, $$OUT_PWD)
|
2011-04-27 10:05:43 +00:00
|
|
|
}
|