mirror of
https://git.jami.net/savoirfairelinux/jami-client-qt.git
synced 2025-08-31 20:23:30 +02:00
project: remove dead linux section of qmake project file
Change-Id: Ie63005974911049e26bd8a359bf413cdcf44cb34
This commit is contained in:
parent
2e60568307
commit
7cc48a48f7
1 changed files with 0 additions and 74 deletions
74
jami-qt.pro
74
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 \
|
||||
|
|
Loading…
Add table
Reference in a new issue