qt5base-lts/tests/auto/corelib/io/io.pro
Ulf Hermann 329385a5d5 Build examples and tests only if their requirements are met
If the respective modules aren't available we cannot build the tests
and examples. We drop the qtConfig(opengl) requirement for the opengl
examples as
a, we would need to make the QtGui configuration available for that to
   work, and
b, we should not add too much detail to the tests and examples build
   configurations. Checking each test and example for every feature it
   uses would be too much.

Task-number: QTBUG-57255
Change-Id: Ifb043c81ec9e5c487765297bd65704812cd281fc
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@qt.io>
2017-03-22 15:55:55 +00:00

75 lines
1.3 KiB
Prolog

TEMPLATE=subdirs
SUBDIRS=\
qabstractfileengine \
qbuffer \
qdatastream \
qdataurl \
qdebug \
qdir \
qdiriterator \
qfile \
largefile \
qfileinfo \
qfileselector \
qfilesystementry \
qfilesystemwatcher \
qiodevice \
qipaddress \
qlockfile \
qloggingcategory \
qloggingregistry \
qnodebug \
qprocess \
qprocess-noapplication \
qprocessenvironment \
qresourceengine \
qsettings \
qsavefile \
qstandardpaths \
qstorageinfo \
qtemporarydir \
qtemporaryfile \
qtextstream \
qurl \
qurlinternal \
qurlquery \
qwinoverlappedionotifier \
!win32 {
SUBDIRS -=\
qwinoverlappedionotifier
}
!qtHaveModule(gui): SUBDIRS -= \
qdatastream \
qsettings
!qtHaveModule(network): SUBDIRS -= \
qiodevice \
qprocess \
qtextstream
!qtHaveModule(concurrent): SUBDIRS -= \
qdebug \
qlockfile \
qurl
!qtConfig(private_tests): SUBDIRS -= \
qabstractfileengine \
qfileinfo \
qipaddress \
qurlinternal \
qloggingregistry
!qtConfig(process): SUBDIRS -= \
qprocess \
qprocess-noapplication \
qprocessenvironment
win32:!qtConfig(private_tests): SUBDIRS -= \
qfilesystementry
winrt: SUBDIRS -= \
qstorageinfo \
qwinoverlappedionotifier