mirror of
https://bitbucket.org/librepilot/librepilot.git
synced 2024-12-02 10:24:11 +01:00
Add: copying required QT DLLs (for installer)
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1879 ebee16cc-31ac-478f-84a7-5cbb03baadba
This commit is contained in:
parent
ba3ecada1d
commit
82b6b0f699
@ -14,8 +14,7 @@ equals(copydata, 1) {
|
||||
}
|
||||
|
||||
# copying required for installer QT DLLs
|
||||
win32 {
|
||||
!debug {
|
||||
CONFIG(release, debug|release) {
|
||||
QT_DLLs = libgcc_s_dw2-1.dll mingwm10.dll phonon4.dll QtCore4.dll QtGui4.dll QtNetwork4.dll QtOpenGL4.dll QtSql4.dll QtSvg4.dll QtTest4.dll QtXml4.dll
|
||||
for(dll, QT_DLLs) {
|
||||
data_copy.commands += $(COPY_FILE) $$targetPath(\"$$[QT_INSTALL_BINS]/$$dll\") $$targetPath(\"$$GCS_APP_PATH/$$dll\") $$addNewline()
|
||||
@ -40,7 +39,6 @@ equals(copydata, 1) {
|
||||
data_copy.commands += @$(CHK_DIR_EXISTS) $$targetPath(\"$$GCS_APP_PATH/sqldrivers\") $(MKDIR) $$targetPath(\"$$GCS_APP_PATH/sqldrivers\") $$addNewline()
|
||||
data_copy.commands += $(COPY_FILE) $$targetPath(\"$$[QT_INSTALL_PLUGINS]/sqldrivers/qsqlite4.dll\") $$targetPath(\"$$GCS_APP_PATH/sqldrivers/qsqlite4.dll\") $$addNewline()
|
||||
}
|
||||
}
|
||||
|
||||
data_copy.target = FORCE
|
||||
QMAKE_EXTRA_TARGETS += data_copy
|
||||
|
Loading…
Reference in New Issue
Block a user