Permalink
Browse files

Merge pull request #4 from aleixpol/master

Separate soversion between Qt4 and Qt5
  • Loading branch information...
ayoy committed Jan 7, 2015
2 parents 8b2f57f + 650e836 commit 09b210a35063f4e442e1caf56c77a03395dd4cff
Showing with 7 additions and 2 deletions.
  1. +1 −1 src/qoauth.pc
  2. +6 −1 src/src.pro
@@ -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}
@@ -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

0 comments on commit 09b210a

Please sign in to comment.