From 650e836fa8d13e2258eb1142ec07849e5dcd49db Mon Sep 17 00:00:00 2001 From: Aleix Pol Date: Fri, 28 Nov 2014 13:24:05 +0100 Subject: [PATCH] Bump soname for Qt5-based version Qt4 and Qt5 releases are binary-incompatible, therefore need different so-names. --- src/qoauth.pc | 2 +- src/src.pro | 7 ++++++- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/src/qoauth.pc b/src/qoauth.pc index 5c6b080..dd4ef54 100644 --- a/src/qoauth.pc +++ b/src/qoauth.pc @@ -5,7 +5,7 @@ includedir=${prefix}/include/QtOAuth Name: QOAuth Description: Qt OAuth support library -Version: 1.0.1 +Version: 2.0.1 Requires: QtCore QtNetwork qca2 Libs: -L${libdir} -lqoauth Cflags: -I${includedir} diff --git a/src/src.pro b/src/src.pro index 24b3182..aac69b2 100644 --- a/src/src.pro +++ b/src/src.pro @@ -2,7 +2,12 @@ TARGET = qoauth DESTDIR = ../lib win32:DLLDESTDIR = $${DESTDIR} -VERSION = 1.0.1 +equals(QT_MAJOR_VERSION, 5){ + VERSION = 2.0.1 +} +equals(QT_MAJOR_VERSION, 4) { + VERSION = 1.0.1 +} TEMPLATE = lib QT += network