Fixed old style of installs with qt supported mechanism

This commit is contained in:
0xFEEDC0DE64
2018-01-09 20:49:56 +01:00
parent 69aeb182de
commit 1f0c5ea7d4

View File

@@ -1,13 +1,9 @@
THEMES += themes/dark_theme.qss
themesInstall.path = $${DESTDIR}/themes
themesInstall.files = themes/dark_theme.qss
INSTALLS += themesInstall
copy_themes.input = THEMES
copy_themes.output = $${DESTDIR}/themes/${QMAKE_FILE_BASE}${QMAKE_FILE_EXT}
copy_themes.commands = $${QMAKE_COPY} ${QMAKE_FILE_IN} ${QMAKE_FILE_OUT}
copy_themes.CONFIG += no_link
QMAKE_EXTRA_COMPILERS += copy_themes
PRE_TARGETDEPS += compiler_copy_themes_make_all
DARK_THEME_RESOURCES += themes/dark_theme/checkbox_indeterminate_disabled.png \
darkThemeInstall.path = $${DESTDIR}/themes/dark_theme
darkThemeInstall.files = themes/dark_theme/checkbox_indeterminate_disabled.png \
themes/dark_theme/radio_unchecked.png \
themes/dark_theme/up_arrow.png \
themes/dark_theme/branch_closed-on.png \
@@ -47,21 +43,10 @@ DARK_THEME_RESOURCES += themes/dark_theme/checkbox_indeterminate_disabled.png \
themes/dark_theme/radio_unchecked_focus.png \
themes/dark_theme/down_arrow.png \
themes/dark_theme/right_arrow.png
INSTALLS += darkThemeInstall
copy_dark_theme_resouces.input = DARK_THEME_RESOURCES
copy_dark_theme_resouces.output = $${DESTDIR}/themes/dark_theme/${QMAKE_FILE_BASE}${QMAKE_FILE_EXT}
copy_dark_theme_resouces.commands = $${QMAKE_COPY} ${QMAKE_FILE_IN} ${QMAKE_FILE_OUT}
copy_dark_theme_resouces.CONFIG += no_link
QMAKE_EXTRA_COMPILERS += copy_dark_theme_resouces
PRE_TARGETDEPS += compiler_copy_dark_theme_resouces_make_all
STRIPLAYOUTS += strips/bookingstartstrip.ui \
stripLayoutsInstall.path = $${DESTDIR}/strips
stripLayoutsInstall.files = strips/bookingstartstrip.ui \
strips/bookingendstrip.ui \
strips/timeassignmentstrip.ui
copy_striplayouts.input = STRIPLAYOUTS
copy_striplayouts.output = $${DESTDIR}/strips/${QMAKE_FILE_BASE}${QMAKE_FILE_EXT}
copy_striplayouts.commands = $${QMAKE_COPY} ${QMAKE_FILE_IN} ${QMAKE_FILE_OUT}
copy_striplayouts.CONFIG += no_link
QMAKE_EXTRA_COMPILERS += copy_striplayouts
PRE_TARGETDEPS += compiler_copy_striplayouts_make_all
INSTALLS += stripLayoutsInstall