Skip to content

Commit 3a960cd

Browse files
jogo-rkollataj
andauthored
Fix missing Qt5 DLLs in Windows Standalone build (#227)
Fix missing Qt5 DLLs in Windows and Linux Standalone build Signed-off-by: Remigiusz Kołłątaj <remigiusz.kollataj@gmail.com> Co-authored-by: Remigiusz Kołłątaj <remigiusz.kollataj@gmail.com>
1 parent 577c1bc commit 3a960cd

File tree

2 files changed

+16
-0
lines changed

2 files changed

+16
-0
lines changed

.github/workflows/build.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,8 @@ jobs:
2121
with:
2222
boost_version: 1.73.0
2323

24+
- run: sudo apt install libxcb-xinerama0
25+
2426
- name: Create Build Environment
2527
run: cmake -E make_directory ${{github.workspace}}/build
2628

CMakeLists.txt

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -139,6 +139,10 @@ if(STANDALONE)
139139
libQt5OpenGL.so.5
140140
libQt5XcbQpa.so.5
141141
libQt5DBus.so.5
142+
libQt5Qml.so.5
143+
libQt5QmlModels.so.5
144+
libQt5Quick.so.5
145+
libQt5QuickWidgets.so.5
142146
libQt5Core.so.${Qt5Core_VERSION}
143147
libQt5Gui.so.${Qt5Core_VERSION}
144148
libQt5Network.so.${Qt5Core_VERSION}
@@ -149,6 +153,10 @@ if(STANDALONE)
149153
libQt5OpenGL.so.${Qt5Core_VERSION}
150154
libQt5XcbQpa.so.${Qt5Core_VERSION}
151155
libQt5DBus.so.${Qt5Core_VERSION}
156+
libQt5Qml.so.${Qt5Core_VERSION}
157+
libQt5QmlModels.so.${Qt5Core_VERSION}
158+
libQt5Quick.so.${Qt5Core_VERSION}
159+
libQt5QuickWidgets.so.${Qt5Core_VERSION}
152160
libicudata.so.56
153161
libicudata.so.56.1
154162
libicui18n.so.56
@@ -158,11 +166,17 @@ if(STANDALONE)
158166
)
159167

160168
install(PROGRAMS files/CANdevStudio.sh DESTINATION ${INSTALL_DEST_BIN})
169+
install(PROGRAMS /usr/lib/x86_64-linux-gnu/libxcb-xinerama.so.0.0.0 DESTINATION ${INSTALL_DEST_BIN})
170+
install(PROGRAMS /usr/lib/x86_64-linux-gnu/libxcb-xinerama.so.0 DESTINATION ${INSTALL_DEST_BIN})
161171
else()
162172
set(SYS_LIBS
163173
Qt5Core.dll
164174
Qt5Gui.dll
165175
Qt5Network.dll
176+
Qt5Qml.dll
177+
Qt5QmlModels.dll
178+
Qt5Quick.dll
179+
Qt5QuickWidgets.dll
166180
Qt5SerialBus.dll
167181
Qt5SerialPort.dll
168182
Qt5Svg.dll

0 commit comments

Comments
 (0)