Skip to content

Commit ddc76d0

Browse files
fix: bundle opengl qt lib on linux for plugins
1 parent 8bd80a3 commit ddc76d0

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

CMakeLists.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,9 @@ if(VPKEDIT_BUILD_GUI)
180180
configure_file("${QT_BASEDIR}/lib/libQt6Gui.so.6" "${CMAKE_BINARY_DIR}/libQt6Gui.so.6" COPYONLY)
181181
configure_file("${QT_BASEDIR}/lib/libQt6Widgets.so.6" "${CMAKE_BINARY_DIR}/libQt6Widgets.so.6" COPYONLY)
182182
configure_file("${QT_BASEDIR}/lib/libQt6Network.so.6" "${CMAKE_BINARY_DIR}/libQt6Network.so.6" COPYONLY)
183+
# Required by plugins
183184
configure_file("${QT_BASEDIR}/lib/libQt6DBus.so.6" "${CMAKE_BINARY_DIR}/libQt6DBus.so.6" COPYONLY)
185+
configure_file("${QT_BASEDIR}/lib/libQt6OpenGL.so.6" "${CMAKE_BINARY_DIR}/libQt6OpenGL.so.6" COPYONLY)
184186

185187
configure_file("${QT_BASEDIR}/lib/libQt6WaylandClient.so.6" "${CMAKE_BINARY_DIR}/libQt6WaylandClient.so.6" COPYONLY)
186188
configure_file("${QT_BASEDIR}/lib/libQt6XcbQpa.so.6" "${CMAKE_BINARY_DIR}/libQt6XcbQpa.so.6" COPYONLY)
@@ -240,7 +242,9 @@ if(VPKEDIT_BUILD_GUI)
240242
"${CMAKE_BINARY_DIR}/libQt6Gui.so.6"
241243
"${CMAKE_BINARY_DIR}/libQt6Widgets.so.6"
242244
"${CMAKE_BINARY_DIR}/libQt6Network.so.6"
245+
# Required by plugins
243246
"${CMAKE_BINARY_DIR}/libQt6DBus.so.6"
247+
"${CMAKE_BINARY_DIR}/libQt6OpenGL.so.6"
244248

245249
"${CMAKE_BINARY_DIR}/libQt6WaylandClient.so.6"
246250
"${CMAKE_BINARY_DIR}/libQt6XcbQpa.so.6"

0 commit comments

Comments
 (0)