From b3581a23fb75ff63c4143b1c205ee5877f187c41 Mon Sep 17 00:00:00 2001 From: Alexandr Akulich Date: Wed, 26 Oct 2016 18:00:46 +0500 Subject: [PATCH] QMake build now uses pkg-config to link against openssl and zlib --- telegram-qt/telegram-qt.pro | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/telegram-qt/telegram-qt.pro b/telegram-qt/telegram-qt.pro index cbb7bf669..a7af1d74c 100644 --- a/telegram-qt/telegram-qt.pro +++ b/telegram-qt/telegram-qt.pro @@ -14,6 +14,8 @@ contains(options, static-lib) { } CONFIG += c++11 +CONFIG += link_pkgconfig +PKGCONFIG += openssl zlib DEFINES += TELEGRAMQT_LIBRARY @@ -55,6 +57,3 @@ contains(options, developer-build) { } OTHER_FILES += CMakeLists.txt - -LIBS += -lssl -lcrypto -LIBS += -lz