From 7cc48a48f72a51b07c50c97a471cc5efd0c9c6a5 Mon Sep 17 00:00:00 2001 From: Andreas Traczyk <andreas.traczyk@savoirfairelinux.com> Date: Thu, 1 Apr 2021 12:44:54 -0400 Subject: [PATCH] project: remove dead linux section of qmake project file Change-Id: Ie63005974911049e26bd8a359bf413cdcf44cb34 --- jami-qt.pro | 74 ----------------------------------------------------- 1 file changed, 74 deletions(-) diff --git a/jami-qt.pro b/jami-qt.pro index 09a93f90c..5ad3e8ff0 100644 --- a/jami-qt.pro +++ b/jami-qt.pro @@ -89,80 +89,6 @@ win32-msvc { } } -unix { - TARGET = jami-qt - TEMPLATE = app - - QT += quick quickwidgets widgets xml multimedia multimediawidgets network \ - webenginewidgets svg quickcontrols2 webengine webenginecore sql dbus - - # Maj/min versions can be checked(if needed) using: - # equals(QT_MAJOR_VERSION, 5):lessThan(QT_MINOR_VERSION, 12) {} - versionAtLeast(QT_VERSION, 5.12.0) { - CONFIG += c++17 - } else { - QMAKE_CXXFLAGS += -std=c++17 - } - - # Client source path - INCLUDEPATH += $$PWD/src - - # Default LRC path - isEmpty(LRC) { LRC=$$PWD/../install/lrc } - - # Check if LRC is installed or in project dir - exists($${LRC}/include/libringclient) { - INCLUDEPATH += $${LRC}/include/libringclient - message(Will expect lrc headers in $${LRC}/include/libringclient) - } else { - INCLUDEPATH += $${LRC}/src - message(Will expect lrc headers in $${LRC}/src) - } - - # TODO: subdirs should be added as suffixes to $${LRC} - isEmpty(LRCLIB) { - exists($${LRC}/lib) { - LRCLIB = $${LRC}/lib - } else { - LRCLIB = $${LRC}/build-local - } - } - - # Include LRC lib path if custom installation - contains(LRCLIB, .*/usr.*) { - LIBS += -lringclient - message(Will expect lrc library in /usr) - } else { - QMAKE_RPATHDIR += $${LRCLIB} - LIBS += -L$${LRCLIB} -lringclient - message(Will expect lrc library in $${LRCLIB}) - } - - LIBS += -lqrencode - LIBS += -lX11 - - CONFIG += link_pkgconfig - PKGCONFIG += libnm - - # TODO: set global installation like cmake (correct - # installation paths, desktop files, autostart...) - isEmpty(PREFIX) { PREFIX = /tmp/$${TARGET}/bin } - target.path = $$PREFIX/bin - INSTALLS += target - - packagesExist(libnm) { - DEFINES += USE_LIBNM - } - - # unix specific - HEADERS += \ - src/dbuserrorhandler.h \ - src/xrectsel.h - SOURCES += \ - src/dbuserrorhandler.cpp \ - src/xrectsel.c -} - # Input HEADERS += \ src/abstractitemmodelbase.h \ -- GitLab