diff options
author | Jason McDonald <jason.mcdonald@nokia.com> | 2009-08-24 16:35:59 +1000 |
---|---|---|
committer | Jason McDonald <jason.mcdonald@nokia.com> | 2009-08-24 16:35:59 +1000 |
commit | 4abc6e00d1a2eca205640b61f20d4af95ec2a9ab (patch) | |
tree | 3f4605b7fae733ea90dbbd86532c0e836cf9249e /src/tools | |
parent | 6af5f111e0f9463c3a907e187b1276c947ed43e2 (diff) | |
download | qt4-tools-4abc6e00d1a2eca205640b61f20d4af95ec2a9ab.tar.gz |
Remove last vestiges of the qtusagereporter.
Reviewed-by: Trust Me
Diffstat (limited to 'src/tools')
-rw-r--r-- | src/tools/moc/main.cpp | 14 | ||||
-rw-r--r-- | src/tools/uic/main.cpp | 15 |
2 files changed, 0 insertions, 29 deletions
diff --git a/src/tools/moc/main.cpp b/src/tools/moc/main.cpp index 4c99eaa4a9..a1f44ca47a 100644 --- a/src/tools/moc/main.cpp +++ b/src/tools/moc/main.cpp @@ -216,20 +216,6 @@ int runMoc(int _argc, char **_argv) } } - // report Qt usage for commercial customers with a "metered license" (currently experimental) -#if QT_EDITION != QT_EDITION_OPENSOURCE -#ifdef QT_CONFIGURE_BINARIES_PATH - const char *binariesPath = QT_CONFIGURE_BINARIES_PATH; - QString reporterPath = QString::fromLocal8Bit(binariesPath) + QDir::separator() - + QLatin1String("qtusagereporter"); -#if defined(Q_OS_WIN) - reporterPath += QLatin1String(".exe"); -#endif - if (QFile::exists(reporterPath)) - system(qPrintable(reporterPath + QLatin1String(" moc"))); -#endif -#endif - argc = argv.count(); for (int n = 0; n < argc; ++n) { diff --git a/src/tools/uic/main.cpp b/src/tools/uic/main.cpp index 9d97085fa0..363f8afd8a 100644 --- a/src/tools/uic/main.cpp +++ b/src/tools/uic/main.cpp @@ -138,21 +138,6 @@ int runUic(int argc, char *argv[]) ++arg; } - // report Qt usage for commercial customers with a "metered license" (currently experimental) -#if QT_EDITION != QT_EDITION_OPENSOURCE -#ifdef QT_CONFIGURE_BINARIES_PATH - const char *binariesPath = QT_CONFIGURE_BINARIES_PATH; - QString reporterPath = QString::fromLocal8Bit(binariesPath); - reporterPath += QDir::separator(); - reporterPath += QLatin1String("qtusagereporter"); -#if defined(Q_OS_WIN) - reporterPath += QLatin1String(".exe"); -#endif - if (QFile::exists(reporterPath)) - system(qPrintable(reporterPath + QLatin1String(" uic"))); -#endif -#endif - QString inputFile; if (fileName) inputFile = QString::fromLocal8Bit(fileName); |