Skip to contentSkip to conversation

package/qt5: enable for ARC

PATCH Applied Alexey Brodkin via buildroot 2 participants 2 messages Feb 21, 2022 – Mar 12, 2022

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 package/qt5: enable for ARC

Double-conversion got pulled-in Qt's sources from the upstream project quite some time ago [1], so now Qt5 is buildable for ARC perfectly fine.

This reverts the last part of [2],
commit e453fb9e3280 (qt5: disable qt-5.8.0 support for arc, nios2 and xtensa).

[1] https://invent.kde.org/qt/qt/qtbase/-/commit/425df43d7fed19866fc7ceb3d26b6cc4190523f5
[2] https://git.buildroot.net/buildroot/commit/?id=e453fb9e3280a1a1ce6180e165aab9c4f1642555

Cc Thomas Petazzoni <[email protected]>
Cc Peter Seiderer <[email protected]>
---
 package/qt5/Config.in | 3 ---
 1 file changed, 3 deletions(-)
package/qt5/Config.in +0 -3
index 8557fd1000..cbb2e06a21 100644
@@ -13,7 +13,6 @@ config BR2_PACKAGE_QT5_JSCORE_AVAILABLE
 
 comment "Qt5 needs host g++ >= 5.0, and a toolchain w/ gcc >= 5.0, wchar, NPTL, C++, dynamic library"
 	depends on !BR2_ARM_CPU_ARMV4
-	depends on !BR2_arc
 	depends on !BR2_INSTALL_LIBSTDCPP || !BR2_USE_WCHAR || \
 		!BR2_TOOLCHAIN_HAS_THREADS_NPTL || BR2_STATIC_LIBS || \
 		!BR2_HOST_GCC_AT_LEAST_5 || !BR2_TOOLCHAIN_GCC_AT_LEAST_5
@@ -26,8 +25,6 @@ menuconfig BR2_PACKAGE_QT5
 	depends on BR2_HOST_GCC_AT_LEAST_5 # Full C++11
 	depends on BR2_TOOLCHAIN_GCC_AT_LEAST_5 # C++11, GCC_BUG_57694
 	depends on !BR2_ARM_CPU_ARMV4 # needs ARMv5+
-	# no built-in double-conversion support
-	depends on !BR2_arc
 	depends on !BR2_STATIC_LIBS
 	select BR2_PACKAGE_QT5BASE
 	help
Signature · 6 lines
2.25.1

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#1 lore raw
Quoted 6 lines · Alexey Brodkin via buildroot

Double-conversion got pulled-in Qt's sources from the upstream project quite some time ago [1], so now Qt5 is buildable for ARC perfectly fine.

This reverts the last part of [2],
commit e453fb9e3280 (qt5: disable qt-5.8.0 support for arc, nios2 and xtensa).

Quoted 6 lines

[1] https://invent.kde.org/qt/qt/qtbase/-/commit/425df43d7fed19866fc7ceb3d26b6cc4190523f5
[2] https://git.buildroot.net/buildroot/commit/?id=e453fb9e3280a1a1ce6180e165aab9c4f1642555

Cc Thomas Petazzoni <[email protected]>
Cc Peter Seiderer <[email protected]>

Applied to master, thanks.

There may be some qt5 packages that still don't build on ARC, but I guess the
autobuilders will tell us.

Also without JS support, half of qt5 is still not available...

Regards,
Arnout

Quoted 17 lines
---
  package/qt5/Config.in | 3 ---
  1 file changed, 3 deletions(-)
package/qt5/Config.in +0 -1
index 8557fd1000..cbb2e06a21 100644
@@ -13,7 +13,6 @@ config BR2_PACKAGE_QT5_JSCORE_AVAILABLE
 
  comment "Qt5 needs host g++ >= 5.0, and a toolchain w/ gcc >= 5.0, wchar, NPTL, C++, dynamic library"
  	depends on !BR2_ARM_CPU_ARMV4
-	depends on !BR2_arc
  	depends on !BR2_INSTALL_LIBSTDCPP || !BR2_USE_WCHAR || \
  		!BR2_TOOLCHAIN_HAS_THREADS_NPTL || BR2_STATIC_LIBS || \
  		!BR2_HOST_GCC_AT_LEAST_5 || !BR2_TOOLCHAIN_GCC_AT_LEAST_5

package/qt5/Config.in menuconfig BR2_PACKAGE_QT5 · line 30

Quoted 8 lines
package/qt5/Config.in +0 -2
@@ -26,8 +25,6 @@ menuconfig BR2_PACKAGE_QT5
  	depends on BR2_HOST_GCC_AT_LEAST_5 # Full C++11
  	depends on BR2_TOOLCHAIN_GCC_AT_LEAST_5 # C++11, GCC_BUG_57694
  	depends on !BR2_ARM_CPU_ARMV4 # needs ARMv5+
-	# no built-in double-conversion support
-	depends on !BR2_arc
  	depends on !BR2_STATIC_LIBS
  	select BR2_PACKAGE_QT5BASE
  	help

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot