Skip to content
Snippets Groups Projects
Commit 7cc48a48 authored by Andreas Traczyk's avatar Andreas Traczyk
Browse files

project: remove dead linux section of qmake project file

Change-Id: Ie63005974911049e26bd8a359bf413cdcf44cb34
parent 2e605683
No related branches found
No related tags found
No related merge requests found
......@@ -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 \
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment