mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-07-29 14:16:31 +00:00
qt4: allow separate build/installation of demos and examples
Signed-off-by: Jeremie Scheer <jeremie.scheer@armadeus.com> Signed-off-by: Julien Boibessot <julien.boibessot@armadeus.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
parent
49cfa71e41
commit
195235c9d9
@ -21,7 +21,13 @@ config BR2_PACKAGE_QT_DEBUG
|
|||||||
If unsure, say N.
|
If unsure, say N.
|
||||||
|
|
||||||
config BR2_PACKAGE_QT_DEMOS
|
config BR2_PACKAGE_QT_DEMOS
|
||||||
bool "Compile and install demos and examples (with code)"
|
bool "Compile and install Qt demos (with code)"
|
||||||
|
select BR2_PACKAGE_QT_GUI_MODULE
|
||||||
|
help
|
||||||
|
If unsure, say N.
|
||||||
|
|
||||||
|
config BR2_PACKAGE_QT_EXAMPLES
|
||||||
|
bool "Compile and install Qt examples (with code)"
|
||||||
select BR2_PACKAGE_QT_GUI_MODULE
|
select BR2_PACKAGE_QT_GUI_MODULE
|
||||||
help
|
help
|
||||||
If unsure, say N.
|
If unsure, say N.
|
||||||
|
@ -59,9 +59,14 @@ QT_CONFIGURE_OPTS += -no-qt3support
|
|||||||
endif
|
endif
|
||||||
|
|
||||||
ifeq ($(BR2_PACKAGE_QT_DEMOS),y)
|
ifeq ($(BR2_PACKAGE_QT_DEMOS),y)
|
||||||
QT_CONFIGURE_OPTS += -examplesdir $(TARGET_DIR)/usr/share/qt/examples -demosdir $(TARGET_DIR)/usr/share/qt/demos
|
QT_CONFIGURE_OPTS += -demosdir $(TARGET_DIR)/usr/share/qt/demos
|
||||||
else
|
else
|
||||||
QT_CONFIGURE_OPTS += -nomake examples -nomake demos
|
QT_CONFIGURE_OPTS += -nomake demos
|
||||||
|
endif
|
||||||
|
ifeq ($(BR2_PACKAGE_QT_EXAMPLES),y)
|
||||||
|
QT_CONFIGURE_OPTS += -examplesdir $(TARGET_DIR)/usr/share/qt/examples
|
||||||
|
else
|
||||||
|
QT_CONFIGURE_OPTS += -nomake examples
|
||||||
endif
|
endif
|
||||||
|
|
||||||
# ensure glib is built first if enabled for Qt's glib support
|
# ensure glib is built first if enabled for Qt's glib support
|
||||||
|
Loading…
x
Reference in New Issue
Block a user