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 qtpositioning              \
0023         qtvirtualkeyboard
0024 
0025     # if you want qtwebengine, add it to use-modules after "qtwebchannel" and
0026     # comment this out. Note qtwebengine has significant and different build
0027     # requirements of its own.
0028     ignore-modules qtwebengine
0029 
0030     # Archiving API requires zstd support which may not be present in your CMake
0031     cmake-options -DQT_BUILD_TESTS=FALSE -DCMAKE_BUILD_TYPE=RelWithDebInfo \
0032                   -DQT_AVOID_CMAKE_ARCHIVING_API=TRUE
0033 
0034     cmake-generator Ninja # comment out if you want the default CMake generator
0035 end module-set
0036 
0037 options qtwebengine
0038     # qtwebengine build system is weird, involving make as the top-level driver
0039     # and then calling ninja for the bulk of the build.  qtwebengine is a bulky
0040     # module and having ninja use all cores at once may run out of memory if
0041     # not careful, so we use make to pass less aggressive Ninja flags.
0042     # num-cores-low-mem needs to be defined in your kdesrc-buildrc.
0043     make-options NINJAFLAGS=-j${num-cores-low-mem}
0044 end options
0045 
0046 # vim: set ft=kdesrc-buildrc: