From 12eb26431f03f5ed3c634d647b1581572039112d Mon Sep 17 00:00:00 2001 From: Stefan Hacker Date: Fri, 22 Aug 2014 01:55:34 +0200 Subject: Replace all uses of QT_VERSION_CHECK with explicit version. Qt4's moc is not able to expand QT_VERSION_CHECK which may lead to invalid codegen when used for backwards compatibility work. Replaced all occurances with explicit check against numeric version which are treated correctly. Even though bad interactions might be rare we should no longer use this macro as long as we want to compile with Qt 4. Also see: http://lists.qt-project.org/pipermail/interest/2013-August/008351.html --- src/murmur/Cert.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/murmur/Cert.cpp') diff --git a/src/murmur/Cert.cpp b/src/murmur/Cert.cpp index 2f2c36f74..cf08ebfb1 100644 --- a/src/murmur/Cert.cpp +++ b/src/murmur/Cert.cpp @@ -117,7 +117,7 @@ void Server::initializeCert() { } QString issuer; -#if QT_VERSION >= QT_VERSION_CHECK(5, 0, 0) +#if QT_VERSION >= 0x050000 QStringList issuerNames = qscCert.issuerInfo(QSslCertificate::CommonName); if (! issuerNames.isEmpty()) { issuer = issuerNames.first(); -- cgit v1.2.3