qt4: allow separate build/installation of demos and examples
PATCH 1/1 qt4: allow separate build/installation of demos and examples
From: Julien Boibessot <[email protected]>
Signed-off-by Jeremie Scheer <[email protected]>
Signed-off-by Julien Boibessot <[email protected]>
--- package/qt/Config.in | 8 +++++++- package/qt/qt.mk | 9 +++++++-- 2 files changed, 14 insertions(+), 3 deletions(-)
package/qt/Config.in +7 -1
@@ -21,7 +21,13 @@ config BR2_PACKAGE_QT_DEBUG If unsure, say N. 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 help If unsure, say N.
package/qt/qt.mk +7 -2
@@ -59,9 +59,14 @@ QT_CONFIGURE_OPTS += -no-qt3support endif 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 -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 # ensure glib is built first if enabled for Qt's glib support
Signature · 1 line
1.7.5.4
PATCH 1/1 qt4: allow separate build/installation of demos and examples
Quoted 5 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"julien" == julien boibessot <[email protected]> writes:
From: Julien Boibessot <[email protected]>
Signed-off-by Jeremie Scheer <[email protected]>Signed-off-by Julien Boibessot <[email protected]>
Committed, thanks.
Signature · 1 line
Bye, Peter Korsgaard