BUG: fix #3324: KDE3Macros.cmake didn't find Qt designer plugins when
running uic (the kde plugin dir wasn't used) Alex
This commit is contained in:
parent
0634447892
commit
0afe72e908
|
@ -163,13 +163,14 @@ MACRO(KDE3_ADD_UI_FILES _sources )
|
|||
|
||||
ADD_CUSTOM_COMMAND(OUTPUT ${_header}
|
||||
COMMAND ${QT_UIC_EXECUTABLE}
|
||||
ARGS -nounload -o ${_header} ${CMAKE_CURRENT_SOURCE_DIR}/${_current_FILE}
|
||||
ARGS -L ${KDE3_LIB_DIR}/kde3/plugins/designer -nounload -o ${_header} ${CMAKE_CURRENT_SOURCE_DIR}/${_current_FILE}
|
||||
DEPENDS ${_tmp_FILE}
|
||||
)
|
||||
|
||||
ADD_CUSTOM_COMMAND(OUTPUT ${_src}
|
||||
COMMAND ${CMAKE_COMMAND}
|
||||
ARGS
|
||||
-DKDE_UIC_PLUGIN_DIR:FILEPATH=${KDE3_LIB_DIR}/kde3/plugins/designer
|
||||
-DKDE_UIC_EXECUTABLE:FILEPATH=${QT_UIC_EXECUTABLE}
|
||||
-DKDE_UIC_FILE:FILEPATH=${_tmp_FILE}
|
||||
-DKDE_UIC_CPP_FILE:FILEPATH=${_src}
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
|
||||
|
||||
EXECUTE_PROCESS(COMMAND ${KDE_UIC_EXECUTABLE}
|
||||
-nounload -tr tr2i18n
|
||||
-L ${KDE_UIC_PLUGIN_DIR} -nounload -tr tr2i18n
|
||||
-impl ${KDE_UIC_H_FILE}
|
||||
${KDE_UIC_FILE}
|
||||
OUTPUT_VARIABLE _uic_CONTENTS
|
||||
|
|
Loading…
Reference in New Issue