Skip to content

Commit

Permalink
Bump soname for Qt5-based version
Browse files Browse the repository at this point in the history
Qt4 and Qt5 releases are binary-incompatible, therefore need different
so-names.
  • Loading branch information
aleixpol committed Nov 28, 2014
1 parent 8b2f57f commit 650e836
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
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ includedir=${prefix}/include/QtOAuth


Name: QOAuth Name: QOAuth
Description: Qt OAuth support library Description: Qt OAuth support library
Version: 1.0.1 Version: 2.0.1
Requires: QtCore QtNetwork qca2 Requires: QtCore QtNetwork qca2
Libs: -L${libdir} -lqoauth Libs: -L${libdir} -lqoauth
Cflags: -I${includedir} Cflags: -I${includedir}
7 changes: 6 additions & 1 deletion src/src.pro
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -2,7 +2,12 @@ TARGET = qoauth
DESTDIR = ../lib DESTDIR = ../lib
win32:DLLDESTDIR = $${DESTDIR} 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 TEMPLATE = lib
QT += network QT += network
Expand Down

1 comment on commit 650e836

@s8321414
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why not make a tag and release Qt5-based version?

Please sign in to comment.