QLoggingCategory: remove #ifndef QT_BOOTSTRAPPED
Amends commit 670810787318df8a80b2197b49448c18a78bb7ed from 6.8, which removed qloggingregistry.cpp from the bootstrap library build. Pick-to: 6.8 Change-Id: I3bb5609707478df771b8fffd3e71eb889eaac53f Reviewed-by: Edward Welbourne <edward.welbourne@qt.io> (cherry picked from commit 696e11ec729452d246e736e54790411b408f9c3c) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
This commit is contained in:
parent
20646e132c
commit
00caa645ff
@ -303,12 +303,10 @@ void QLoggingRegistry::initializeRules()
|
|||||||
|
|
||||||
const QString configFileName = QStringLiteral("qtlogging.ini");
|
const QString configFileName = QStringLiteral("qtlogging.ini");
|
||||||
|
|
||||||
#if !defined(QT_BOOTSTRAPPED)
|
|
||||||
// get rules from Qt data configuration path
|
// get rules from Qt data configuration path
|
||||||
const QString qtConfigPath
|
const QString qtConfigPath
|
||||||
= QDir(QLibraryInfo::path(QLibraryInfo::DataPath)).absoluteFilePath(configFileName);
|
= QDir(QLibraryInfo::path(QLibraryInfo::DataPath)).absoluteFilePath(configFileName);
|
||||||
qr = loadRulesFromFile(qtConfigPath);
|
qr = loadRulesFromFile(qtConfigPath);
|
||||||
#endif
|
|
||||||
|
|
||||||
// get rules from user's/system configuration
|
// get rules from user's/system configuration
|
||||||
const QString envPath = QStandardPaths::locate(QStandardPaths::GenericConfigLocation,
|
const QString envPath = QStandardPaths::locate(QStandardPaths::GenericConfigLocation,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user