1# based on src/corelib/global/qprocessordetection.h 2config BR2_PACKAGE_QT6_ARCH_SUPPORTS 3 bool 4 # no support for ARMv4 5 default y if BR2_ARM_CPU_ARMV5 || BR2_ARM_CPU_ARMV6 || BR2_ARM_CPU_ARMV7A || BR2_ARM_CPU_ARMV8A 6 default y if BR2_i386 7 default y if BR2_x86_64 8 default y if BR2_mips || BR2_mipsel || BR2_mips64 || BR2_mips64el 9 default y if BR2_powerpc || BR2_powerpc64 || BR2_powerpc64le 10 # sparc 32-bit is supposedly supported, but has issues due to 11 # the need of libatomic 12 default y if BR2_sparc64 13 depends on BR2_USE_MMU 14 15config BR2_PACKAGE_QT6_GL_SUPPORTS 16 bool "OpenGL supports" 17 default y 18 depends on BR2_PACKAGE_HAS_LIBGL || BR2_PACKAGE_HAS_LIBGLES 19 20comment "qt6 needs a toolchain w/ C++, threads, wchar, dynamic library, gcc >= 8, host gcc >= 8" 21 depends on !BR2_PACKAGE_QT5 22 depends on BR2_PACKAGE_QT6_ARCH_SUPPORTS 23 depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_GCC_AT_LEAST_8 || \ 24 !BR2_HOST_GCC_AT_LEAST_8 || !BR2_TOOLCHAIN_HAS_THREADS || \ 25 BR2_STATIC_LIBS || !BR2_USE_WCHAR 26 27menuconfig BR2_PACKAGE_QT6 28 bool "Qt6" 29 depends on BR2_INSTALL_LIBSTDCPP 30 depends on BR2_TOOLCHAIN_GCC_AT_LEAST_8 31 depends on BR2_HOST_GCC_AT_LEAST_8 32 depends on BR2_PACKAGE_QT6_ARCH_SUPPORTS 33 depends on BR2_TOOLCHAIN_HAS_THREADS 34 depends on !BR2_STATIC_LIBS 35 depends on BR2_USE_WCHAR 36 depends on !BR2_PACKAGE_QT5 37 select BR2_PACKAGE_QT6BASE 38 help 39 This option enables the Qt6 framework. Sub-options allow to 40 select which modules should be built. 41 42 http://qt.io 43 44if BR2_PACKAGE_QT6 45 46source "package/qt6/qt6base/Config.in" 47source "package/qt6/qt6serialbus/Config.in" 48source "package/qt6/qt6serialport/Config.in" 49 50endif 51