diff --git a/ApplicationExeCode/CMakeLists.txt b/ApplicationExeCode/CMakeLists.txt index 6bb12a4c88..443e6c5b40 100644 --- a/ApplicationExeCode/CMakeLists.txt +++ b/ApplicationExeCode/CMakeLists.txt @@ -476,6 +476,10 @@ if(RESINSIGHT_PRIVATE_INSTALL) install(FILES ${QT_PLUGIN_PATH}/iconengines/libqsvgicon.so DESTINATION ${RESINSIGHT_INSTALL_FOLDER}/iconengines/ ) + # Required when using --platform offscreen + install(FILES ${QT_PLUGIN_PATH}/platforms/libqoffscreen.so + DESTINATION ${RESINSIGHT_INSTALL_FOLDER}/platforms/ + ) # Required by xcb module used to create OpenGL widgets install(