forked from lxqt/qtermwidget
-
Notifications
You must be signed in to change notification settings - Fork 69
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
QMAKE_POST_LINK doesn't work in Qt 5.5. (#10)
Replace QMAKE_POST_LINK with more extensive usage of INSTALLS.
- Loading branch information
Showing
1 changed file
with
14 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -25,12 +25,6 @@ OTHER_FILES += \ | |
test-app/test-app.qml \ | ||
src/qmldir | ||
|
||
# Copy the files useful to the plugin in DESTDIR | ||
QMAKE_POST_LINK = $(COPY_DIR) $$PWD/lib/color-schemes $$DESTDIR && \ | ||
$(COPY_DIR) $$PWD/lib/kb-layouts $$DESTDIR && \ | ||
$$QMAKE_COPY $$PWD/src/qmldir $$DESTDIR && \ | ||
$$QMAKE_COPY $$PWD/src/QMLTermScrollbar.qml $$DESTDIR | ||
|
||
######################################### | ||
## INTALLS | ||
######################################### | ||
|
@@ -49,4 +43,17 @@ assets.path += $$INSTALL_DIR/$$PLUGIN_IMPORT_PATH | |
qmldir.files += $$PWD/src/qmldir | ||
qmldir.path += $$INSTALL_DIR/$$PLUGIN_IMPORT_PATH | ||
|
||
INSTALLS += target qmldir assets | ||
colorschemes.files = $$PWD/lib/color-schemes/* | ||
colorschemes.path = $$INSTALL_DIR/$$PLUGIN_IMPORT_PATH/color-schemes | ||
colorschemes2.files = $$PWD/lib/color-schemes/historic/* | ||
colorschemes2.path = $$INSTALL_DIR/$$PLUGIN_IMPORT_PATH/color-schemes/historic | ||
|
||
kblayouts.files = $$PWD/lib/kb-layouts/* | ||
kblayouts.path = $$INSTALL_DIR/$$PLUGIN_IMPORT_PATH/kb-layouts | ||
kblayouts2.files = $$PWD/lib/kb-layouts/historic/* | ||
kblayouts2.path = $$INSTALL_DIR/$$PLUGIN_IMPORT_PATH/kb-layouts/historic | ||
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong.
shr-project
|
||
|
||
scrollbar.files = $$PWD/src/QMLTermScrollbar.qml | ||
scrollbar.path = $$INSTALL_DIR/$$PLUGIN_IMPORT_PATH | ||
|
||
INSTALLS += target qmldir assets colorschemes colorschemes2 kblayouts kblayouts2 scrollbar |
This seems to be causing install failures (at least with Qt 5.15)
Error copying /OE/build/luneos-master/webos-ports/tmp-glibc/work/core2-64-webos-linux/qmltermwidget/0.14.1+gitAUTOINC+59f967d5e1-r0/git/lib/kb-layouts/historic/vt100.keytab to /OE/build/luneos-master/webos-ports/tmp-glibc/work/core2-64-webos-linux/qmltermwidget/0.14.1+gitAUTOINC+59f967d5e1-r0/image/usr/lib/qml/QMLTermWidget/kb-layouts/historic/vt100.keytab: Destination file exists