Files
buildroot/package/qt6/qt6shadertools/Config.in
Roy Kollen Svendsen f697bb2f25 package/qt6/qt6shadertools: new package
The Qt6::Gui module is needed when building the 'Qt Shader Baker'
(qsb) host tool.

Qsb is needed for converting the Qt6 Vulkan GLSL source code to
platform specific shader languages which is then later copied to
target.

For more details take a look at:

https://doc.qt.io/qt-6/qtshadertools-overview.html

and

https://doc.qt.io/qt-6/qshaderbaker.html

We need host-qt6base with Gui support when building host-qt6shadertools,
otherwise the build is skipped and no qsb host tool is generated:

  Skipping the build as the condition "TARGET Qt::Gui" is not met.

qt6shadertools fail to build if qsb is not available:

  Failed to find the host tool "Qt6::qsb".  It is part of the
  Qt6ShaderToolsTools package, but the package could not be found.  Make sure
  you have built and installed the host ShaderTools module, which will ensure
  the creation of the Qt6ShaderToolsTools package.

Signed-off-by: Roy Kollen Svendsen <roykollensvendsen@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2024-07-12 10:44:31 +02:00

18 lines
591 B
Plaintext

config BR2_PACKAGE_QT6SHADERTOOLS
bool "qt6shadertools"
# We need host-qt6base with Gui support when building
# host-qt6shadertools (itself a dependency of target
# qt6shadertools), otherwise the build is skipped and no qsb
# host tool is generated.
select BR2_PACKAGE_HOST_QT6BASE_GUI
select BR2_PACKAGE_QT6BASE_GUI
help
Qt is a cross-platform application and UI framework for
developers using C++.
The Qt Shader Tools module builds on the SPIR-V Open
Source Ecosystem as described at the Khronos SPIR-V web
site.
https://doc.qt.io/qt-6/qtshadertools-index.html