Config.in 2.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788
  1. config BR2_PACKAGE_QT5_GL_AVAILABLE
  2. bool
  3. default y
  4. depends on BR2_PACKAGE_HAS_LIBGL || BR2_PACKAGE_HAS_LIBGLES
  5. config BR2_PACKAGE_QT5_JSCORE_AVAILABLE
  6. bool
  7. default y
  8. # Javascript engine is only available on certain architectures
  9. depends on BR2_arm || BR2_aarch64 || BR2_i386 || BR2_x86_64 || BR2_mipsel
  10. # ARM needs BLX, so v5t+
  11. depends on !BR2_ARM_CPU_ARMV4
  12. comment "Qt5 needs a toolchain w/ wchar, NPTL, C++, dynamic library"
  13. depends on !BR2_INSTALL_LIBSTDCPP || !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS_NPTL || BR2_STATIC_LIBS
  14. menuconfig BR2_PACKAGE_QT5
  15. bool "Qt5"
  16. depends on BR2_INSTALL_LIBSTDCPP
  17. depends on BR2_USE_WCHAR
  18. depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL
  19. depends on !BR2_STATIC_LIBS
  20. select BR2_PACKAGE_QT5BASE
  21. help
  22. This option enables the Qt5 framework. Sub-options allow to
  23. select which modules should be built.
  24. http://qt.io
  25. if BR2_PACKAGE_QT5
  26. choice
  27. prompt "Qt5 version"
  28. config BR2_PACKAGE_QT5_VERSION_LATEST
  29. bool "Latest (5.12)"
  30. depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 # C++11
  31. depends on !BR2_ARM_CPU_ARMV4 # needs ARMv5+
  32. # no built-in double-conversion support
  33. depends on !BR2_arc && !BR2_nios2 && !BR2_xtensa
  34. help
  35. This option builds Qt 5.12, which is licensed under
  36. (L)GPL-3.0+.
  37. comment "Latest Qt version needs a toolchain w/ gcc >= 4.8"
  38. depends on !BR2_TOOLCHAIN_GCC_AT_LEAST_4_8
  39. depends on !BR2_ARM_CPU_ARMV4
  40. depends on !BR2_arc && !BR2_nios2 && !BR2_xtensa
  41. config BR2_PACKAGE_QT5_VERSION_5_6
  42. bool "LTS (5.6)"
  43. help
  44. This option builds Qt 5.6, which is licensed under
  45. (L)GPL-2.0+.
  46. endchoice
  47. source "package/qt5/qt53d/Config.in"
  48. source "package/qt5/qt5base/Config.in"
  49. source "package/qt5/qt5canvas3d/Config.in"
  50. source "package/qt5/qt5charts/Config.in"
  51. source "package/qt5/qt5connectivity/Config.in"
  52. source "package/qt5/qt5declarative/Config.in"
  53. source "package/qt5/qt5enginio/Config.in"
  54. source "package/qt5/qt5graphicaleffects/Config.in"
  55. source "package/qt5/qt5imageformats/Config.in"
  56. source "package/qt5/qt5location/Config.in"
  57. source "package/qt5/qt5multimedia/Config.in"
  58. source "package/qt5/qt5quickcontrols/Config.in"
  59. source "package/qt5/qt5quickcontrols2/Config.in"
  60. source "package/qt5/qt5script/Config.in"
  61. source "package/qt5/qt5scxml/Config.in"
  62. source "package/qt5/qt5sensors/Config.in"
  63. source "package/qt5/qt5serialbus/Config.in"
  64. source "package/qt5/qt5serialport/Config.in"
  65. source "package/qt5/qt5svg/Config.in"
  66. source "package/qt5/qt5tools/Config.in"
  67. source "package/qt5/qt5virtualkeyboard/Config.in"
  68. source "package/qt5/qt5wayland/Config.in"
  69. source "package/qt5/qt5webchannel/Config.in"
  70. source "package/qt5/qt5webkit/Config.in"
  71. source "package/qt5/qt5webkit-examples/Config.in"
  72. source "package/qt5/qt5webengine/Config.in"
  73. source "package/qt5/qt5websockets/Config.in"
  74. source "package/qt5/qt5webview/Config.in"
  75. source "package/qt5/qt5x11extras/Config.in"
  76. source "package/qt5/qt5xmlpatterns/Config.in"
  77. endif