Skip to content

Commit

Permalink
Merge pull request #4 from aleixpol/master
Browse files Browse the repository at this point in the history
Separate soversion between Qt4 and Qt5
  • Loading branch information
ayoy committed Jan 7, 2015
2 parents 8b2f57f + 650e836 commit 09b210a
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/qoauth.pc
Expand Up @@ -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}
7 changes: 6 additions & 1 deletion src/src.pro
Expand Up @@ -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
Expand Down

0 comments on commit 09b210a

Please sign in to comment.