From e2a30c0c183bdeeda5d44d35e48b4e8ceee39cf3 Mon Sep 17 00:00:00 2001 From: Jarek Kobus Date: Wed, 22 Apr 2015 14:19:30 +0200 Subject: Make componentChecker warnings optional. To enable them export the following environment variable: QT_LOGGING_RULES=ifw.componentChecker=true Change-Id: Ied6744c745ca3fd0840c622c71a8ba30ad22e3d9 Reviewed-by: Karsten Heimrich --- src/sdk/installerbase.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/sdk') diff --git a/src/sdk/installerbase.cpp b/src/sdk/installerbase.cpp index d2fb82562..7d0b4c58e 100644 --- a/src/sdk/installerbase.cpp +++ b/src/sdk/installerbase.cpp @@ -59,6 +59,7 @@ #include #include #include +#include InstallerBase::InstallerBase(int &argc, char *argv[]) : SDKApp(argc, argv) @@ -74,6 +75,8 @@ InstallerBase::~InstallerBase() int InstallerBase::run() { + QLoggingCategory::setFilterRules(QLatin1String("ifw.componentChecker = false")); + KDRunOnceChecker runCheck(qApp->applicationDirPath() + QLatin1String("/lockmyApp1234865.lock")); if (runCheck.isRunning(KDRunOnceChecker::ConditionFlag::Lockfile)) { // It is possible to install an application and thus the maintenance tool into a -- cgit v1.2.3