qt5base-lts/tests/auto/corelib/io/io.pro

75 lines
1.3 KiB
Prolog
Raw Normal View History

TEMPLATE=subdirs
SUBDIRS=\
qabstractfileengine \
qbuffer \
qdataurl \
qdebug \
qdir \
qdiriterator \
qfile \
largefile \
qfileinfo \
qfileselector \
qfilesystemmetadata \
qfilesystementry \
qfilesystemwatcher \
qiodevice \
qipaddress \
qlockfile \
qloggingcategory \
qloggingregistry \
qnodebug \
qprocess \
qprocess-noapplication \
qprocessenvironment \
qresourceengine \
qsettings \
qsavefile \
qstandardpaths \
qstorageinfo \
qtemporarydir \
qtemporaryfile \
qurl \
qurlinternal \
qurlquery \
!qtHaveModule(gui): SUBDIRS -= \
qsettings
!qtHaveModule(network): SUBDIRS -= \
qiodevice \
qprocess
!qtHaveModule(concurrent): SUBDIRS -= \
qdebug \
qlockfile \
qurl
!qtConfig(private_tests): SUBDIRS -= \
Drop file-engine abstraction from public API This abstraction imposed serious performance penalties and is being dropped from the public API. In particular, by allowing file names to be arbitrarily hijacked by different file engines, and requiring engines to be instantiated in order to decide, it imposed unnecessary overhead on all file operations. Another flaw in the design with direct impact on performance is how engines have no way to provide (or retain) additional information obtained when querying the filesystem. In many places this has meant repeated operations on the file system, where useful information is immediately discarded to be queried again subsequently. For Qt 4.8 a major refactoring of the code base took place to allow bypassing the file-engine abstraction in select places, with considerable performance gains observed. In Qt 5 it is expected we'll be able to take this further, reaping even more benefits, but the abstraction has to go. [Dropping this now does not preclude that virtual file systems make an appearance in Qt at a later point in Qt 5's lifecycle. Hopefully with a new and improved abstraction.] Forward declarations for QFileExtension(Result) were dropped, as the classes were never used or defined. Tests using "internalized" classes will only fully run on developer builds. QFSFileEngine was removed altogether from exception safety test, as it isn't its intent to test internal API. Change-Id: Ie910e6c2628be202ea9e05366b091d6d529b246b Reviewed-by: Thiago Macieira <thiago.macieira@intel.com> Reviewed-by: Lars Knoll <lars.knoll@nokia.com>
2012-02-17 19:09:17 +00:00
qabstractfileengine \
qfileinfo \
qipaddress \
qurlinternal \
qloggingregistry
win32:!qtConfig(private_tests): SUBDIRS -= \
qfilesystementry
!qtConfig(filesystemwatcher): SUBDIRS -= \
qfilesystemwatcher
!qtConfig(processenvironment): SUBDIRS -= \
qprocessenvironment
!qtConfig(process): SUBDIRS -= \
qprocess \
qprocess-noapplication
winrt: SUBDIRS -= \
qstorageinfo
android: SUBDIRS -= \
qprocess \
qdir \
qresourceengine