package/qt6/qt6base: add support for dbus module
Signed-off-by: Jesse Van Gavere <jesseevg@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
parent
bb6352c9ed
commit
4337d4b833
@ -22,6 +22,14 @@ config BR2_PACKAGE_QT6BASE_CONCURRENT
|
|||||||
help
|
help
|
||||||
This options enables the Qt6Concurrent library.
|
This options enables the Qt6Concurrent library.
|
||||||
|
|
||||||
|
config BR2_PACKAGE_QT6BASE_DBUS
|
||||||
|
bool "DBus module"
|
||||||
|
depends on BR2_TOOLCHAIN_HAS_THREADS
|
||||||
|
depends on BR2_USE_MMU
|
||||||
|
select BR2_PACKAGE_DBUS
|
||||||
|
help
|
||||||
|
This option enables the D-Bus module.
|
||||||
|
|
||||||
config BR2_PACKAGE_QT6BASE_NETWORK
|
config BR2_PACKAGE_QT6BASE_NETWORK
|
||||||
bool "network module"
|
bool "network module"
|
||||||
help
|
help
|
||||||
|
@ -75,6 +75,18 @@ define HOST_QT6BASE_INSTALL_CMDS
|
|||||||
$(HOST_MAKE_ENV) $(BR2_CMAKE) --install $(HOST_QT6BASE_BUILDDIR)
|
$(HOST_MAKE_ENV) $(BR2_CMAKE) --install $(HOST_QT6BASE_BUILDDIR)
|
||||||
endef
|
endef
|
||||||
|
|
||||||
|
# We need host-qt6base with D-Bus support, otherwise: "the tool
|
||||||
|
# "Qt6::qdbuscpp2xml" was not found in the Qt6DBusTools package."
|
||||||
|
ifeq ($(BR2_PACKAGE_QT6BASE_DBUS),y)
|
||||||
|
QT6BASE_CONF_OPTS += -DFEATURE_dbus=ON -DINPUT_dbus=linked
|
||||||
|
QT6BASE_DEPENDENCIES += dbus
|
||||||
|
HOST_QT6BASE_CONF_OPTS += -DFEATURE_dbus=ON
|
||||||
|
HOST_QT6BASE_DEPENDENCIES += host-dbus
|
||||||
|
else
|
||||||
|
QT6BASE_CONF_OPTS += -DFEATURE_dbus=OFF
|
||||||
|
HOST_QT6BASE_CONF_OPTS += -DFEATURE_dbus=OFF
|
||||||
|
endif
|
||||||
|
|
||||||
ifeq ($(BR2_PACKAGE_QT6BASE_NETWORK),y)
|
ifeq ($(BR2_PACKAGE_QT6BASE_NETWORK),y)
|
||||||
QT6BASE_CONF_OPTS += -DFEATURE_network=ON
|
QT6BASE_CONF_OPTS += -DFEATURE_network=ON
|
||||||
else
|
else
|
||||||
|
Loading…
Reference in New Issue
Block a user