1f30bcf336
[ChangeLog][Build System] Tools that are called by the build system and are unlikely to be called by the user are now installed to the libexec directory. This is a step towards easier co-installability of different Qt versions. Pick-to: 6.1 Task-number: QTBUG-88791 Change-Id: Id19575b5ba27795f7715e4ea6a09391b26dd4942 Reviewed-by: Kai Koehne <kai.koehne@qt.io>
21 lines
713 B
Plaintext
21 lines
713 B
Plaintext
qtPrepareLibExecTool(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_UIC_FLAGS ${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 dep_lines dep_existing_only
|
|
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)
|
|
}
|