cfaa02dd54
Please add a link from network/libqxmpp to network/libqxmpp-qt5 to make Qt5 build. OBS-URL: https://build.opensuse.org/request/show/280652 OBS-URL: https://build.opensuse.org/package/show/network/libqxmpp?expand=0&rev=16
39 lines
970 B
Diff
39 lines
970 B
Diff
diff --git a/qxmpp.pri b/qxmpp.pri
|
|
index e5dbb9c..8c8561d 100644
|
|
--- a/qxmpp.pri
|
|
+++ b/qxmpp.pri
|
|
@@ -8,7 +8,7 @@ QXMPP_INCLUDEPATH = $$PWD/src/base $$PWD/src/client $$PWD/src/server
|
|
CONFIG(debug, debug|release) {
|
|
QXMPP_LIBRARY_NAME = qxmpp_d
|
|
} else {
|
|
- QXMPP_LIBRARY_NAME = qxmpp
|
|
+ QXMPP_LIBRARY_NAME = qxmpp-qt5
|
|
}
|
|
|
|
# Determine library type (shared or staticlib)
|
|
diff --git a/src/src.pro b/src/src.pro
|
|
index 954738c..32204cd 100644
|
|
--- a/src/src.pro
|
|
+++ b/src/src.pro
|
|
@@ -40,7 +40,7 @@ HEADERS += $$INSTALL_HEADERS
|
|
|
|
# Installation
|
|
headers.files = $$INSTALL_HEADERS
|
|
-headers.path = $$PREFIX/include/qxmpp
|
|
+headers.path = $$PREFIX/include/qxmpp-qt5
|
|
target.path = $$PREFIX/$$LIBDIR
|
|
INSTALLS += headers target
|
|
|
|
diff --git a/qxmpp.pro b/qxmpp.pro
|
|
index a309a48..ad5cbad 100644
|
|
--- a/qxmpp.pro
|
|
+++ b/qxmpp.pro
|
|
@@ -6,7 +6,6 @@ TEMPLATE = subdirs
|
|
SUBDIRS = src
|
|
android | ios {
|
|
} else {
|
|
- SUBDIRS += tests examples
|
|
}
|
|
|
|
!isEmpty(QXMPP_USE_DOXYGEN) {
|