make use of qtHaveModule()
Change-Id: I14da5455b7dd4681254e1652395df5f5c65746bd Reviewed-by: Tasuku Suzuki <stasuku@gmail.com> Reviewed-by: Jonas Rabbe <jonas.rabbe@gmail.com> Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
This commit is contained in:
committed by
The Qt Project
parent
07efce4375
commit
4760e1fb02
@@ -3,7 +3,7 @@ TEMPLATE = subdirs
|
||||
SUBDIRS += audiodecoder
|
||||
|
||||
# These examples all need widgets for now (using creator templates that use widgets)
|
||||
!isEmpty(QT.widgets.name) {
|
||||
qtHaveModule(widgets) {
|
||||
SUBDIRS += \
|
||||
radio \
|
||||
spectrum \
|
||||
@@ -13,7 +13,7 @@ SUBDIRS += audiodecoder
|
||||
audiooutput \
|
||||
}
|
||||
|
||||
!isEmpty(QT.gui.name):!isEmpty(QT.qml.name) {
|
||||
qtHaveModule(gui):qtHaveModule(qml) {
|
||||
SUBDIRS += \
|
||||
declarative-radio \
|
||||
video
|
||||
|
||||
Reference in New Issue
Block a user