1 include(openpilotgcs
.pri
)
5 # Copy Qt runtime libraries into the build directory (to run or package)
8 QT_LIBS
= libQt5Core
.so
.5 \
17 libQt5Declarative
.so
.5 \
18 libQt5XmlPatterns
.so
.5 \
20 libQt5Concurrent
.so
.5 \
21 libQt5PrintSupport
.so
.5 \
22 libQt5SerialPort
.so
.5 \
23 libQt5Multimedia
.so
.5 \
24 libQt5MultimediaWidgets
.so
.5 \
28 libQt5QuickParticles
.so
.5 \
34 addCopyFileTarget($$
{lib
},$$
[QT_INSTALL_LIBS
],$$
{GCS_QT_LIBRARY_PATH
})
37 QT_PLUGINS
= iconengines
/libqsvgicon
.so \
38 imageformats
/libqgif
.so \
39 imageformats
/libqico
.so \
40 imageformats
/libqjpeg
.so \
41 imageformats
/libqmng
.so \
42 imageformats
/libqsvg
.so \
43 imageformats
/libqtiff
.so \
44 mediaservice
/libgstaudiodecoder
.so \
45 mediaservice
/libgstmediaplayer
.so \
46 platforms
/libqxcb
.so \
47 sqldrivers
/libqsqlite
.so
51 # set debug suffix if needed
52 CONFIG(debug
, debug
|release
):DS
= "d"
55 QT_DLLS
= Qt5Core$$
{DS
}.dll \
57 Qt5Widgets$$
{DS
}.dll \
58 Qt5Network$$
{DS
}.dll \
64 Qt5Declarative$$
{DS
}.dll \
65 Qt5XmlPatterns$$
{DS
}.dll \
67 Qt5Concurrent$$
{DS
}.dll \
68 Qt5PrintSupport$$
{DS
}.dll \
69 Qt5SerialPort$$
{DS
}.dll \
70 Qt5Multimedia$$
{DS
}.dll \
71 Qt5MultimediaWidgets$$
{DS
}.dll \
77 # it is more robust to take the following DLLs from Qt rather than from MinGW
78 QT_DLLS
+= libgcc_s_dw2
-1.dll \
82 addCopyFileTarget($$
{dll
},$$
[QT_INSTALL_BINS
],$$
{GCS_APP_PATH
})
89 for(dll
, OPENSSL_DLLS
) {
90 addCopyFileTarget($$
{dll
},$$
{OPENSSL_DIR
},$$
{GCS_APP_PATH
})
95 opengl32_32
/opengl32
.dll
96 for(dll
, OPENGL_DLLS
) {
97 addCopyFileTarget($$
{dll
},$$
{MESAWIN_DIR
},$$
{GCS_APP_PATH
})
100 QT_PLUGINS
= iconengines
/qsvgicon$$
{DS
}.dll \
101 imageformats
/qgif$$
{DS
}.dll \
102 imageformats
/qico$$
{DS
}.dll \
103 imageformats
/qjpeg$$
{DS
}.dll \
104 imageformats
/qmng$$
{DS
}.dll \
105 imageformats
/qsvg$$
{DS
}.dll \
106 imageformats
/qtiff$$
{DS
}.dll \
107 platforms
/qwindows$$
{DS
}.dll \
108 mediaservice
/dsengine$$
{DS
}.dll \
109 sqldrivers
/qsqlite$$
{DS
}.dll
112 for(plugin
, QT_PLUGINS
) {
113 addCopyFileTarget($$
{plugin
},$$
[QT_INSTALL_PLUGINS
],$$
{GCS_QT_PLUGINS_PATH
})
116 # Copy QtQuick2 complete directories
117 # Some of these directories have a lot of files
118 # Easier to copy everything
119 QT_QUICK2_DIRS
= QtQuick
/Controls \
122 QtQuick
/LocalStorage \
123 QtQuick
/Particles
.2 \
124 QtQuick
/PrivateWidgets \
126 QtQuick
/XmlListModel \
128 for(dir
, QT_QUICK2_DIRS
) {
129 addCopyDirTarget($$
{dir
},$$
[QT_INSTALL_QML
],$$
{GCS_QT_QML_PATH
})