Warning, /sdk/kdesrc-build/qt6-build-include is written in an unsupported language. File is not indexed.

0001 # Downloads and installs Qt6 from the KDE mirror, using Qt6's CMake support
0002 # exclusively.  Consider this an unofficial build that won't be supported by Qt
0003 # upstream since we don't go through the init-repository script.
0004 # It is probably better to install from your local distribution devel packages
0005 # if possible!
0006 module-set qt6-set
0007     override-build-system qt6 # technically optional for now
0008 
0009     repository qt6-copy # as defined in kdesrc-buildrc-kf6-sample
0010     branch     6.4
0011 
0012     # Controls where Qt6 is installed
0013     prefix ~/qt6
0014 
0015     # These have been manually placed in dependency order based on the
0016     # .gitmodules file in https://code.qt.io/cgit/qt/qt5.git/tree/.gitmodules
0017     # in "essential" or "addons" categories with some additions
0018     # qtdoc should be last to give it best opportunity to make needed docs
0019     use-modules qtbase qttools qtshadertools qtdeclarative qtsvg  \
0020         qtimageformats qtmultimedia qtwayland                    \
0021         qtwebsockets qtwebchannel qtwebview qtsensors            \
0022         qtnetworkauth qt5compat qtdoc
0023 
0024     # if you want qtwebengine, add it to use-modules after "qtwebchannel" and
0025     # comment this out. Note qtwebengine has significant and different build
0026     # requirements of its own.
0027     ignore-modules qtwebengine
0028 
0029     # Archiving API requires zstd support which may not be present in your CMake
0030     cmake-options -DQT_BUILD_TESTS=FALSE -DCMAKE_BUILD_TYPE=RelWithDebInfo \
0031                   -DQT_AVOID_CMAKE_ARCHIVING_API=TRUE
0032 
0033     cmake-generator Ninja # comment out if you want the default CMake generator
0034 end module-set
0035 
0036 options qtwebengine
0037     # qtwebengine build system is weird, involving make as the top-level driver
0038     # and then calling ninja for the bulk of the build.  qtwebengine is a bulky
0039     # module and having ninja use all cores at once may run out of memory if
0040     # not careful, so we use make to pass less aggressive Ninja flags.
0041     # num-cores-low-mem needs to be defined in your kdesrc-buildrc.
0042     make-options NINJAFLAGS=-j${num-cores-low-mem}
0043 end options
0044 
0045 # vim: set ft=kdesrc-buildrc: