qt5base-lts/tests/auto/corelib/io/io.pro
Ulf Hermann 44af54419e Properly use the "process" feature
Replace all QT_NO_PROCESS with QT_CONFIG(process), define it in
qconfig-bootstrapped.h, add QT_REQUIRE_CONFIG(process) to the qprocess
headers, exclude the sources from compilation when switched off, guard
header inclusions in places where compilation without QProcess seems
supported, drop some unused includes, and fix some tests that were
apparently designed to work with QT_NO_PROCESS but failed to.

Change-Id: Ieceea2504dea6fdf43b81c7c6b65c547b01b9714
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@qt.io>
2017-02-27 15:44:46 +00:00

70 lines
1.2 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
!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