Config.in 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990
  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_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_PACKAGE_QT
  14. depends on !BR2_INSTALL_LIBSTDCPP || !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS_NPTL || BR2_STATIC_LIBS
  15. menuconfig BR2_PACKAGE_QT5
  16. bool "Qt5"
  17. depends on BR2_INSTALL_LIBSTDCPP
  18. depends on BR2_USE_WCHAR
  19. depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL
  20. depends on !BR2_STATIC_LIBS
  21. depends on !BR2_PACKAGE_QT
  22. select BR2_PACKAGE_QT5BASE
  23. help
  24. This option enables the Qt5 framework. Sub-options allow to
  25. select which modules should be built.
  26. http://qt.io
  27. if BR2_PACKAGE_QT5
  28. choice
  29. prompt "Qt5 version"
  30. config BR2_PACKAGE_QT5_VERSION_LATEST
  31. bool "Latest (5.9)"
  32. depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 # C++11
  33. depends on BR2_HOST_GCC_AT_LEAST_4_8 # C++11
  34. depends on !BR2_ARM_CPU_ARMV4 # needs ARMv5+
  35. # no built-in double-conversion support
  36. depends on !BR2_arc && !BR2_nios2 && !BR2_xtensa
  37. help
  38. This option builds Qt 5.9, which is licensed under
  39. (L)GPL-3.0+.
  40. comment "Latest Qt version needs host/toolchain w/ gcc >= 4.8"
  41. depends on !BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 || !BR2_HOST_GCC_AT_LEAST_4_8
  42. depends on !BR2_ARM_CPU_ARMV4
  43. depends on !BR2_arc && !BR2_nios2 && !BR2_xtensa
  44. config BR2_PACKAGE_QT5_VERSION_5_6
  45. bool "LTS (5.6)"
  46. help
  47. This option builds Qt 5.6, which is licensed under
  48. (L)GPL-2.0+.
  49. endchoice
  50. source "package/qt5/qt53d/Config.in"
  51. source "package/qt5/qt5base/Config.in"
  52. source "package/qt5/qt5canvas3d/Config.in"
  53. source "package/qt5/qt5charts/Config.in"
  54. source "package/qt5/qt5connectivity/Config.in"
  55. source "package/qt5/qt5declarative/Config.in"
  56. source "package/qt5/qt5enginio/Config.in"
  57. source "package/qt5/qt5graphicaleffects/Config.in"
  58. source "package/qt5/qt5imageformats/Config.in"
  59. source "package/qt5/qt5location/Config.in"
  60. source "package/qt5/qt5multimedia/Config.in"
  61. source "package/qt5/qt5quickcontrols/Config.in"
  62. source "package/qt5/qt5quickcontrols2/Config.in"
  63. source "package/qt5/qt5script/Config.in"
  64. source "package/qt5/qt5scxml/Config.in"
  65. source "package/qt5/qt5sensors/Config.in"
  66. source "package/qt5/qt5serialbus/Config.in"
  67. source "package/qt5/qt5serialport/Config.in"
  68. source "package/qt5/qt5svg/Config.in"
  69. source "package/qt5/qt5tools/Config.in"
  70. source "package/qt5/qt5virtualkeyboard/Config.in"
  71. source "package/qt5/qt5wayland/Config.in"
  72. source "package/qt5/qt5webchannel/Config.in"
  73. source "package/qt5/qt5webkit/Config.in"
  74. source "package/qt5/qt5webkit-examples/Config.in"
  75. source "package/qt5/qt5webengine/Config.in"
  76. source "package/qt5/qt5websockets/Config.in"
  77. source "package/qt5/qt5x11extras/Config.in"
  78. source "package/qt5/qt5xmlpatterns/Config.in"
  79. endif