Skip to content

Commit

Permalink
install qoffscreen plugin on windows
Browse files Browse the repository at this point in the history
COVESA#508

Signed-off-by: Viktor Kopp <[email protected]>
  • Loading branch information
vifactor committed Aug 8, 2024
1 parent 86c8da1 commit ef133b3
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
3 changes: 3 additions & 0 deletions build_sdk_windows_qt5_MSVC.bat
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
3 changes: 2 additions & 1 deletion src/cmake/Windows.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -61,4 +62,4 @@ if(INCLUDE_VC_REDIST)
"${VC_REDIST_PATH}"
DESTINATION "${DLT_EXECUTABLE_INSTALLATION_PATH}"
COMPONENT vc_redist_x64)
endif()
endif()

0 comments on commit ef133b3

Please sign in to comment.