From 7a99d903370fcb214c684b92f083418119848bce Mon Sep 17 00:00:00 2001 From: Matija Date: Sun, 8 Oct 2017 15:34:06 +0200 Subject: [PATCH] Made libcommuni show as 'libcommuni' in Qt Creator instead of 'src' (#121) --- chatterino.pro | 6 +++--- dependencies/libcommuni.pri | 3 +++ 2 files changed, 6 insertions(+), 3 deletions(-) create mode 100644 dependencies/libcommuni.pri diff --git a/chatterino.pro b/chatterino.pro index 8a61d34b4..a4cf99f03 100644 --- a/chatterino.pro +++ b/chatterino.pro @@ -9,9 +9,6 @@ CONFIG += communi COMMUNI += core model util CONFIG += c++14 -DEFINES += IRC_NAMESPACE=Communi -include(lib/libcommuni/src/src.pri) - greaterThan(QT_MAJOR_VERSION, 4): QT += widgets # Include ourself @@ -222,3 +219,6 @@ include(dependencies/settings.pri) include(dependencies/signals.pri) include(dependencies/humanize.pri) include(dependencies/fmt.pri) +DEFINES += IRC_NAMESPACE=Communi +include(dependencies/libcommuni.pri) + diff --git a/dependencies/libcommuni.pri b/dependencies/libcommuni.pri new file mode 100644 index 000000000..43b902fbc --- /dev/null +++ b/dependencies/libcommuni.pri @@ -0,0 +1,3 @@ +include(../lib/libcommuni/src/core/core.pri) +include(../lib/libcommuni/src/model/model.pri) +include(../lib/libcommuni/src/util/util.pri)