Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

install qoffscreen plugin on windows #510

Merged
merged 1 commit into from
Aug 8, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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()