aboutsummaryrefslogtreecommitdiff
path: root/qxmpp.prf
diff options
context:
space:
mode:
authorNiels Ole Salscheider <niels_ole@salscheider-online.de>2018-06-23 17:20:47 +0200
committerGitHub <noreply@github.com>2018-06-23 17:20:47 +0200
commited6b199dff15ddb4c6bd72d1565501e9f1a2bf87 (patch)
tree7bbb53c40ecf53fe9464b53b7966dd7726eeac5e /qxmpp.prf
parentea83c77a5a4524cc9778336b10eff60979582980 (diff)
parent31f0a42073b68823e85835ec3e25114d79705a04 (diff)
downloadqxmpp-ed6b199dff15ddb4c6bd72d1565501e9f1a2bf87.tar.gz
Merge pull request #131 from olesalscheider/cmake
Add CMake build system, drop Qt4 support
Diffstat (limited to 'qxmpp.prf')
-rw-r--r--qxmpp.prf46
1 files changed, 0 insertions, 46 deletions
diff --git a/qxmpp.prf b/qxmpp.prf
deleted file mode 100644
index 1d5c45f6..00000000
--- a/qxmpp.prf
+++ /dev/null
@@ -1,46 +0,0 @@
-QXMPP_INCDIR = $$[QT_INSTALL_HEADERS]
-QXMPP_LIBDIR = $$[QT_INSTALL_LIBS]
-
-## Distributions can adjust this for Qt 4
-QXMPP_INCDIR ~= s!/qt5*!!
-QXMPP_LIBDIR ~= s!/qt5*!!
-
-CONFIG *= qt
-
-
-# if we are including qxmpp.prf from the qxmpp tree (and not utilizing it as
-# an installed qmake CONFIG feature), then point to the tree. this allows our
-# qxmpp tree apps to build before qxmpp itself is installed.
-exists($$PWD/qxmpp.pro) {
- ## Jan // I doubt this is needed for QXMPP
- QXMPP_INCDIR = $$PWD/include
- QXMPP_LIBDIR = $$PWD/lib
-}
-
-LINKAGE =
-
-# on mac, if qxmpp was built as a framework, link against it
-mac: {
- ## Jan // No idea about any of this Mac stuff
- framework_dir = $${QXMPP_LIBDIR}
- exists($$framework_dir/qxmpp.framework) {
- LIBS += -F$$framework_dir
- exists($$PWD/qxmpp.pro): INCLUDEPATH += $$QXMPP_INCDIR
- else: INCLUDEPATH += $$framework_dir/qxmpp.framework/Headers
- LINKAGE = -framework qxmpp
- }
-}
-
-# else, link normally
-isEmpty(LINKAGE) {
- exists($$PWD/qxmpp.pro): INCLUDEPATH += $$QXMPP_INCDIR
- else: INCLUDEPATH += $$QXMPP_INCDIR/qxmpp ## Jan // This is probably the usual case
- LIBS += -L$$QXMPP_LIBDIR
- LINKAGE = -lqxmpp ## Jan // Distributions might tune this with -lqxmpp_qt5, etc.
- CONFIG(debug, debug|release) {
- windows:LINKAGE = -lqxmppd
- mac:LINKAGE = -lqxmpp_debug
- }
-}
-
-LIBS += $$LINKAGE