Re: libqxt-qt5: rename library name

2017-11-22 Thread Martin Gansser
solved for me, with this patch:

--- a/src/qxtlibs.pri.orig  2017-11-21 14:57:33.596795862 +0100
+++ b/src/qxtlibs.pri   2017-11-21 14:59:09.153802782 +0100
@@ -9,6 +9,7 @@
 INCLUDEPATH = $$QMAKE_INCDIR_QT/$$1 $$INCLUDEPATH
 
 LIB_NAME = $$1
+LIB_NAME = $${LIB_NAME}-qt5
 unset(LINKAGE)
 mac {
CONFIG(qt_framework, qt_framework|qt_no_framework) { #forced
--- a/src/qxtbase.pri.orig  2017-11-21 15:15:42.988874751 +0100
+++ b/src/qxtbase.pri   2017-11-21 15:16:06.065876422 +0100
@@ -17,6 +17,7 @@
 defineReplace(qxtLibraryTarget) {
unset(LIBRARY_NAME)
LIBRARY_NAME = $$1
+   LIBRARY_NAME = $${LIBRARY_NAME}-qt5
mac:!static:contains(QT_CONFIG, qt_framework) {
   QMAKE_FRAMEWORK_BUNDLE_NAME = $$LIBRARY_NAME
   export(QMAKE_FRAMEWORK_BUNDLE_NAME)
___
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org


libqxt-qt5: rename library name

2017-11-21 Thread Martin Gansser
Hi,

I noticed that if I installed the original libqxt version, it would come to a 
collision between the library names of libqxt-qt5 and libqxt, because they use 
the same library names.

https://martinkg.fedorapeople.org/Packages/GoldenCheetah/libqxt-qt5.spec
https://martinkg.fedorapeople.org/Packages/GoldenCheetah/libqxt-qt5-0.7.0-0.4.20130718giteaf6872f6ad4.fc27.src.rpm

How can i change the Target LIB_NAME of the libraries ?
libQxtCore.so.0.7.0   ->libQxtCore-qt5.so.0.7.0 ?
libQxtNetwork.so.0.7.0  -> libQxtNetwork-qt5.so.0.7.0
libQxtSql.so.0.7.0  -> libQxtSql-qt5.so.0.7.0
libQxtWeb.so.0.7.0  -> libQxtWeb-qt5.so.0.7.0
libQxtWidgets.so.0.7.0  -> libQxtWidgets-qt5.so.0.7.0
libQxtZeroconf.so.0.7.0 -> libQxtZeroconf-qt5.so.0.7.0

Thanks Martin
___
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org