mirror of
https://bitbucket.org/librepilot/librepilot.git
synced 2025-02-21 11:54:15 +01:00
Windows packaging: fix MinGW DLL locations for Qt 4.8.1+ (4.8.0 compatible)
This commit is contained in:
parent
f5af60af3e
commit
fc51680e6c
@ -9,9 +9,7 @@ equals(copydata, 1) {
|
|||||||
win32:CONFIG(release, debug|release) {
|
win32:CONFIG(release, debug|release) {
|
||||||
|
|
||||||
# copy Qt DLLs and phonon4
|
# copy Qt DLLs and phonon4
|
||||||
QT_DLLS = libgcc_s_dw2-1.dll \
|
QT_DLLS = phonon4.dll \
|
||||||
mingwm10.dll \
|
|
||||||
phonon4.dll \
|
|
||||||
QtCore4.dll \
|
QtCore4.dll \
|
||||||
QtGui4.dll \
|
QtGui4.dll \
|
||||||
QtNetwork4.dll \
|
QtNetwork4.dll \
|
||||||
@ -27,6 +25,13 @@ equals(copydata, 1) {
|
|||||||
data_copy.commands += $(COPY_FILE) $$targetPath(\"$$[QT_INSTALL_BINS]/$$dll\") $$targetPath(\"$$GCS_APP_PATH/$$dll\") $$addNewline()
|
data_copy.commands += $(COPY_FILE) $$targetPath(\"$$[QT_INSTALL_BINS]/$$dll\") $$targetPath(\"$$GCS_APP_PATH/$$dll\") $$addNewline()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# copy MinGW DLLs
|
||||||
|
MINGW_DLLS = libgcc_s_dw2-1.dll \
|
||||||
|
mingwm10.dll
|
||||||
|
for(dll, MINGW_DLLS) {
|
||||||
|
data_copy.commands += $(COPY_FILE) $$targetPath(\"$$[QT_INSTALL_BINS]/../../../../../mingw/bin/$$dll\") $$targetPath(\"$$GCS_APP_PATH/$$dll\") $$addNewline()
|
||||||
|
}
|
||||||
|
|
||||||
# copy iconengines
|
# copy iconengines
|
||||||
QT_ICONENGINE_DLLS = qsvgicon4.dll
|
QT_ICONENGINE_DLLS = qsvgicon4.dll
|
||||||
data_copy.commands += -@$(MKDIR) $$targetPath(\"$$GCS_APP_PATH/iconengines\") $$addNewline()
|
data_copy.commands += -@$(MKDIR) $$targetPath(\"$$GCS_APP_PATH/iconengines\") $$addNewline()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user