Make compile with -no-widgets
Change-Id: I6a057950315a1e2084fd6fc130007f865d096f12 Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@nokia.com>
This commit is contained in:
committed by
Qt by Nokia
parent
60e3d0ca80
commit
c15b2833ba
@@ -1,12 +1,13 @@
|
|||||||
TEMPLATE = subdirs
|
TEMPLATE = subdirs
|
||||||
|
|
||||||
|
SUBDIRS += audiodecoder
|
||||||
|
|
||||||
# These examples all need widgets for now (using creator templates that use widgets)
|
# These examples all need widgets for now (using creator templates that use widgets)
|
||||||
!isEmpty(QT.widgets.name) {
|
!isEmpty(QT.widgets.name) {
|
||||||
SUBDIRS += \
|
SUBDIRS += \
|
||||||
radio \
|
radio \
|
||||||
camera \
|
camera \
|
||||||
spectrum \
|
spectrum \
|
||||||
audiodecoder \
|
|
||||||
audiorecorder \
|
audiorecorder \
|
||||||
audiodevices \
|
audiodevices \
|
||||||
audioinput \
|
audioinput \
|
||||||
@@ -15,14 +16,15 @@ TEMPLATE = subdirs
|
|||||||
videowidget \
|
videowidget \
|
||||||
player
|
player
|
||||||
|
|
||||||
contains(QT_CONFIG, qml) {
|
QT += widgets
|
||||||
|
}
|
||||||
|
|
||||||
|
!isEmpty(QT.gui.name):!isEmpty(QT.qml.name) {
|
||||||
disabled:SUBDIRS += declarative-camera
|
disabled:SUBDIRS += declarative-camera
|
||||||
SUBDIRS += \
|
SUBDIRS += \
|
||||||
declarative-radio \
|
declarative-radio \
|
||||||
video
|
video
|
||||||
}
|
}
|
||||||
|
|
||||||
QT += widgets
|
|
||||||
}
|
|
||||||
|
|
||||||
config_openal: SUBDIRS += audioengine
|
config_openal: SUBDIRS += audioengine
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user