diff --git a/build_sdk_windows_qt5_MSVC.bat b/build_sdk_windows_qt5_MSVC.bat index b326229d..5dd48043 100644 --- a/build_sdk_windows_qt5_MSVC.bat +++ b/build_sdk_windows_qt5_MSVC.bat @@ -163,6 +163,9 @@ if %ERRORLEVEL% NEQ 0 GOTO ERROR_HANDLER copy %QTDIR%\plugins\platforms\qwindows.dll %DLT_VIEWER_SDK_DIR%\platforms if %ERRORLEVEL% NEQ 0 GOTO ERROR_HANDLER +copy %QTDIR%\plugins\platforms\qoffscreen.dll %DLT_VIEWER_SDK_DIR%\platforms +if %ERRORLEVEL% NEQ 0 GOTO ERROR_HANDLER + if "%QTNO%"=="5" ( copy %QTDIR%\plugins\styles\qwindowsvistastyle.dll %DLT_VIEWER_SDK_DIR%\styles if %ERRORLEVEL% NEQ 0 GOTO ERROR_HANDLER diff --git a/src/cmake/Windows.cmake b/src/cmake/Windows.cmake index 66b4dbc1..9f60bda7 100644 --- a/src/cmake/Windows.cmake +++ b/src/cmake/Windows.cmake @@ -26,6 +26,7 @@ install(FILES COMPONENT qt_libraries) install(FILES "${DLT_QT_LIB_DIR}/../plugins/platforms/qwindows.dll" + "${DLT_QT_LIB_DIR}/../plugins/platforms/qoffscreen.dll" DESTINATION "${DLT_EXECUTABLE_INSTALLATION_PATH}/platforms" COMPONENT qt_libraries) install(FILES @@ -61,4 +62,4 @@ if(INCLUDE_VC_REDIST) "${VC_REDIST_PATH}" DESTINATION "${DLT_EXECUTABLE_INSTALLATION_PATH}" COMPONENT vc_redist_x64) -endif() \ No newline at end of file +endif()