aboutsummaryrefslogtreecommitdiff
path: root/libquotient.pri
diff options
context:
space:
mode:
Diffstat (limited to 'libquotient.pri')
-rw-r--r--libquotient.pri13
1 files changed, 12 insertions, 1 deletions
diff --git a/libquotient.pri b/libquotient.pri
index 1b8d3fa7..df58d35b 100644
--- a/libquotient.pri
+++ b/libquotient.pri
@@ -8,7 +8,14 @@ win32-msvc* {
QMAKE_CXXFLAGS_WARN_ON += -Wno-unused-parameter
}
-include(3rdparty/libQtOlm/libQtOlm.pri)
+contains(DEFINES, Quotient_E2EE_ENABLED=.) {
+ contains(DEFINES, USE_INTREE_LIBQOLM=.) {
+ include(3rdparty/libQtOlm/libQtOlm.pri)
+ } else {
+ CONFIG += link_pkgconfig
+ PKGCONFIG += QtOlm
+ }
+}
SRCPATH = $$PWD/lib
INCLUDEPATH += $$SRCPATH
@@ -16,6 +23,7 @@ INCLUDEPATH += $$SRCPATH
HEADERS += \
$$SRCPATH/connectiondata.h \
$$SRCPATH/connection.h \
+ $$SRCPATH/ssosession.h \
$$SRCPATH/encryptionmanager.h \
$$SRCPATH/eventitem.h \
$$SRCPATH/room.h \
@@ -46,6 +54,7 @@ HEADERS += \
$$SRCPATH/events/directchatevent.h \
$$SRCPATH/events/encryptionevent.h \
$$SRCPATH/events/encryptedevent.h \
+ $$SRCPATH/events/roomkeyevent.h \
$$SRCPATH/events/redactionevent.h \
$$SRCPATH/events/eventloader.h \
$$SRCPATH/events/roompowerlevelsevent.h \
@@ -69,6 +78,7 @@ HEADERS += \
SOURCES += \
$$SRCPATH/connectiondata.cpp \
$$SRCPATH/connection.cpp \
+ $$SRCPATH/ssosession.cpp \
$$SRCPATH/encryptionmanager.cpp \
$$SRCPATH/eventitem.cpp \
$$SRCPATH/room.cpp \
@@ -94,6 +104,7 @@ SOURCES += \
$$SRCPATH/events/directchatevent.cpp \
$$SRCPATH/events/encryptionevent.cpp \
$$SRCPATH/events/encryptedevent.cpp \
+ $$SRCPATH/events/roomkeyevent.cpp \
$$SRCPATH/events/roompowerlevelsevent.cpp \
$$SRCPATH/jobs/requestdata.cpp \
$$SRCPATH/jobs/basejob.cpp \