17519feadd
while the names of the compilers are actually an undocumented internal, we don't provide an actually working proper way to sequence extra compiler execution with build-time generated inputs when they are indirectly listed (as via .qrc files). Task-number: QTBUG-54299 Change-Id: I269c26512897b72706dc8b769aa47e8157c2a5c5 Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
21 lines
660 B
Plaintext
21 lines
660 B
Plaintext
qtPrepareTool(QMAKE_UIC, uic, _DEP)
|
|
|
|
isEmpty(UI_DIR):UI_DIR = .
|
|
isEmpty(QMAKE_MOD_UIC):QMAKE_MOD_UIC = ui_
|
|
|
|
uic.depends += $$QMAKE_UIC_EXE
|
|
uic.commands = $$QMAKE_UIC ${QMAKE_FILE_IN} -o ${QMAKE_FILE_OUT}
|
|
uic.depend_command = $$QMAKE_UIC_DEP -d ${QMAKE_FILE_IN}
|
|
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
|
|
|
|
!isEmpty(FORMS) {
|
|
INCLUDEPATH += $$absolute_path($$UI_DIR, $$OUT_PWD)
|
|
}
|