mirror of
https://bitbucket.org/librepilot/librepilot.git
synced 2025-02-20 10:54:14 +01:00
Windows packaging: fix MinGW DLL locations for Qt 4.8.1+ (4.8.0 compatible)
This commit is contained in:
parent
6867068b9e
commit
e75a2718f1
@ -9,9 +9,7 @@ equals(copydata, 1) {
|
||||
win32:CONFIG(release, debug|release) {
|
||||
|
||||
# copy Qt DLLs and phonon4
|
||||
QT_DLLS = libgcc_s_dw2-1.dll \
|
||||
mingwm10.dll \
|
||||
phonon4.dll \
|
||||
QT_DLLS = phonon4.dll \
|
||||
QtCore4.dll \
|
||||
QtGui4.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()
|
||||
}
|
||||
|
||||
# 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
|
||||
QT_ICONENGINE_DLLS = qsvgicon4.dll
|
||||
data_copy.commands += -@$(MKDIR) $$targetPath(\"$$GCS_APP_PATH/iconengines\") $$addNewline()
|
||||
|
Loading…
x
Reference in New Issue
Block a user