summaryrefslogtreecommitdiff
path: root/src/tools/sdktool/main.cpp
diff options
context:
space:
mode:
authorChristian Kandeler <christian.kandeler@digia.com>2014-08-29 13:18:41 +0200
committerChristian Kandeler <christian.kandeler@digia.com>2014-09-08 10:33:25 +0200
commit847f10e9ccc8c3541782a790e04c85c6b4c701da (patch)
treee59ebac8dfb77c88d8e5540855836ca79a9a7a91 /src/tools/sdktool/main.cpp
parent6f58e5b798e368e6254cc837e489bd8fd8f066e9 (diff)
downloadqt-creator-847f10e9ccc8c3541782a790e04c85c6b4c701da.tar.gz
Remove Qt version checks.
Qt 5.3 is the minimum requirement these days. Remove all fallback code from sources and project files. Change-Id: If6188a471197acadda4d6baee71804ba1a8026c6 Reviewed-by: Eike Ziller <eike.ziller@digia.com>
Diffstat (limited to 'src/tools/sdktool/main.cpp')
-rw-r--r--src/tools/sdktool/main.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/tools/sdktool/main.cpp b/src/tools/sdktool/main.cpp
index 5f6e62682d..93cba8ed10 100644
--- a/src/tools/sdktool/main.cpp
+++ b/src/tools/sdktool/main.cpp
@@ -159,14 +159,12 @@ int parseArguments(const QStringList &args, Settings *s, const QList<Operation *
int main(int argc, char *argv[])
{
-#if (QT_VERSION >= QT_VERSION_CHECK(5, 3, 0))
// Since 5.3, Qt by default aborts if the effective user id is different than the
// real user id. However, in IFW on Mac we use setuid to 'elevate'
// permissions if needed. This is considered safe because the user has to provide
// the credentials manually - an attack would require at least access to the
// user's environment.
QCoreApplication::setSetuidAllowed(true);
-#endif
QCoreApplication a(argc, argv);