qt5base-lts/tests/auto/corelib/io/io.pro
Kai Koehne a2bfd11493 Allow configuration of logging rules from file system
Allow configuration of logging rules from outside of the application,
either through a configuration file (.config/QtProject/qtlogging.ini),
or through a file specified by a QT_LOGGING_CONF environment
variable.

The logging rules from the different sources are concatenated: First
the rules from QtProject/qtlogging.ini are applied, then
QLoggingCategory::setLoggingRules(), finally from the environment.
This allows an application to overwrite/augment the system wide rules,
and in turn that can be tailored for a specific run by setting a
configuration in the environment variable.

[ChangeLog][QtCore][Logging] The logging framework can now be configured
with an .ini file.

Change-Id: I442efde1b7e0a2ebe135c6f6e0a4b656483fe4b1
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
2014-02-11 20:59:15 +01:00

66 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 \
qtemporarydir \
qtemporaryfile \
qtextstream \
qurl \
qurlinternal \
qurlquery \
qwinoverlappedionotifier \
!win32|wince* {
SUBDIRS -=\
qwinoverlappedionotifier
}
!qtHaveModule(gui): SUBDIRS -= \
qdatastream \
qsettings
!qtHaveModule(network): SUBDIRS -= \
qiodevice \
qprocess \
qtextstream
!contains(QT_CONFIG, private_tests): SUBDIRS -= \
qabstractfileengine \
qfileinfo \
qipaddress \
qurlinternal \
qloggingregistry
win32:!contains(QT_CONFIG, private_tests): SUBDIRS -= \
qfilesystementry
winrt: SUBDIRS -= \
qprocess \
qprocess-noapplication \
qprocessenvironment \
qwinoverlappedionotifier