@@ -97,12 +97,6 @@ if(NOT EMSCRIPTEN AND NOT ANDROID)
9797 option (PGE_BUILD_PNG2GIFS "Build the GIFs2PNG utility component" ON )
9898 option (PGE_BUILD_LAZYFIXTOOL "Build the LazyFixTool utility component" ON )
9999 option (PGE_BUILD_PALETTEFILTER "Build the PaletteFilter utility component" ON )
100- option (PGE_BUILD_XTCONVERT "Build the XTConvert utility component" ON )
101-
102- if (PGE_BUILD_XTCONVERT)
103- set (AUDIOCODECS_ENABLE_ENCODERS ON )
104- set (SDLMIXER_USE_OGG_STB OFF )
105- endif ()
106100endif ()
107101
108102option (PGE_BUILD_ENGINE "Build the Runtime Engine component" ON )
@@ -113,6 +107,12 @@ if(PGE_ENABLE_QT AND NOT ANDROID AND NOT EMSCRIPTEN)
113107 option (PGE_BUILD_MUSICPLAYER "Build the SDL Mixer X Music Player component (Qt5 required)" ON )
114108 option (PGE_BUILD_MAINTAINER "Build the Maintainer utility component (Qt5 required)" ON )
115109 option (PGE_BUILD_TRANSLATOR "Build the Translator utility component (Qt5 required)" ON )
110+ option (PGE_BUILD_XTCONVERT "Build the XTConvert utility component" ON )
111+
112+ if (PGE_BUILD_XTCONVERT)
113+ set (AUDIOCODECS_ENABLE_ENCODERS ON )
114+ set (SDLMIXER_USE_OGG_STB OFF )
115+ endif ()
116116endif ()
117117
118118if (PGE_STATIC_SDLMIXER)
@@ -146,6 +146,10 @@ if(PGE_ENABLE_STATIC_QT AND "${CMAKE_SYSTEM}" MATCHES "Linux")
146146 include (_common/library_tiff.cmake )
147147endif ()
148148
149+ if (PGE_ENABLE_QT AND (PGE_BUILD_MAINTAINER OR PGE_BUILD_XTCONVERT))
150+ add_subdirectory (_common/qt-modules/episode_box )
151+ endif ()
152+
149153if (NOT USE_SYSTEM_LIBPNG)
150154 add_dependencies (libpng_Local AudioCodecs_Local ) #Zlib is needed to libPNG
151155 add_dependencies (FREETYPE_Local libpng_Local ) #libPNG is needed to FreeType
0 commit comments