From 1d4a4b485d9db6fe84194061551d36d96fa62c60 Mon Sep 17 00:00:00 2001 From: TheBloke Date: Mon, 7 Jul 2014 23:32:18 +0100 Subject: [PATCH] .pro files - formatting/consistency fixes Many small formatting changes to the majority of .pro files Consistent style for Qt version checking, using greaterThan(QT_MAJOR_VERSION, 4) This seems safest, as would continue to work for a future Qt 6 etc. Note that this makes redudundant the commit before this one, to organizer.pro Consistent indenting Moved some file configuration sections to be together with related sections Moved some installation-related sections (e.g. OUTDIR/DSTDIR) to be at the bottom, immediately before the related POST_LINK install lines. Similarly, in some cases separated out CONFIG(debug,.. checks into separate LIB/INCLUDE sections (high in file) and installation directory sections (low in file) --- src/proxy/proxyPython.pro | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/proxy/proxyPython.pro b/src/proxy/proxyPython.pro index 2c420b9..c8cc51f 100644 --- a/src/proxy/proxyPython.pro +++ b/src/proxy/proxyPython.pro @@ -8,9 +8,7 @@ TARGET = proxyPython TEMPLATE = lib -contains(QT_VERSION, "^5.*") { - QT += widgets -} +greaterThan(QT_MAJOR_VERSION, 4): QT += widgets CONFIG += plugins CONFIG += dll