Skip to content
Snippets Groups Projects
Commit 6a11f0ce authored by Antoine Regimbeau's avatar Antoine Regimbeau
Browse files

Merge branch 'bug_monteverdi_OpenGL' into 'release-6.6'

OpenGL problem in monteverdi

See merge request orfeotoolbox/otb!80
parents 5a1de2f1 086377e4
No related branches found
No related tags found
No related merge requests found
...@@ -107,7 +107,6 @@ function(prepare_file_list file_list_result) ...@@ -107,7 +107,6 @@ function(prepare_file_list file_list_result)
if(MSVC) if(MSVC)
list(APPEND file_list "ucrtbase.dll") list(APPEND file_list "ucrtbase.dll")
list(APPEND file_list "proj.dll") list(APPEND file_list "proj.dll")
list(APPEND file_list "libEGL.dll")
endif() endif()
# Qt plugins # Qt plugins
......
...@@ -49,6 +49,12 @@ endif() ...@@ -49,6 +49,12 @@ endif()
file(TO_NATIVE_PATH ${QT5_SB_SRC} QT5_SB_SRC_NATIVE) file(TO_NATIVE_PATH ${QT5_SB_SRC} QT5_SB_SRC_NATIVE)
if(WIN32)
set(QT5_SB_OPENGL_CONFIG "-opengl desktop")
else()
set(QT5_SB_OPENGL_CONFIG "")
endif()
#Common options for all cases #Common options for all cases
# -skip qtbase # -skip qtbase
# -skip qttools (need linguist) # -skip qttools (need linguist)
...@@ -58,6 +64,7 @@ set(QT5_SB_CONFIG ...@@ -58,6 +64,7 @@ set(QT5_SB_CONFIG
-I ${QT5_INCLUDE_PREFIX_NATIVE} -I ${QT5_INCLUDE_FREETYPE_NATIVE} \ -I ${QT5_INCLUDE_PREFIX_NATIVE} -I ${QT5_INCLUDE_FREETYPE_NATIVE} \
-opensource -confirm-license -release -shared \ -opensource -confirm-license -release -shared \
-nomake examples -make tools -no-openssl \ -nomake examples -make tools -no-openssl \
${QT5_SB_OPENGL_CONFIG} \
-skip qtgamepad \ -skip qtgamepad \
-skip qt3d \ -skip qt3d \
-skip qtactiveqt \ -skip qtactiveqt \
......
...@@ -2,7 +2,7 @@ setlocal ...@@ -2,7 +2,7 @@ setlocal
set INCLUDE=%INCLUDE%;@QT5_INCLUDE_PREFIX_NATIVE@;@QT5_INCLUDE_PREFIX_NATIVE@\freetype2 set INCLUDE=%INCLUDE%;@QT5_INCLUDE_PREFIX_NATIVE@;@QT5_INCLUDE_PREFIX_NATIVE@\freetype2
set LIB=%LIB%;@QT5_LIB_PREFIX_NATIVE@ set LIB=%LIB%;@QT5_LIB_PREFIX_NATIVE@
set PATH=@QT5_SB_SRC_NATIVE@\qtbase\bin;@QT5_SB_SRC_NATIVE@\gnuwin32;%PATH% set PATH=@QT5_SB_SRC_NATIVE@\qtbase\bin;@QT5_SB_SRC_NATIVE@\gnuwin32\bin;%PATH%
@QT5_CONFIGURE_SCRIPT@ @QT5_SB_CONFIG@ @QT5_CONFIGURE_SCRIPT@ @QT5_SB_CONFIG@
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment