From 5ca284052c50ec4088e5944b7e1f84cb6133836e Mon Sep 17 00:00:00 2001 From: Konstantin Ritt Date: Fri, 2 Mar 2018 15:58:53 +0300 Subject: [PATCH] Fix build when including qmsgpack.pri from another project presence of .qmake.conf file in an included sub-project overrides the root project thus breaking the build --- .qmake.conf | 3 --- src/src.pro | 2 +- 2 files changed, 1 insertion(+), 4 deletions(-) delete mode 100644 .qmake.conf diff --git a/.qmake.conf b/.qmake.conf deleted file mode 100644 index e2ab5a6..0000000 --- a/.qmake.conf +++ /dev/null @@ -1,3 +0,0 @@ -TOP_SRCDIR=$$PWD -TOP_BUILDDIR=$$shadowed($$PWD) - diff --git a/src/src.pro b/src/src.pro index 9db8f67..6bbf7eb 100644 --- a/src/src.pro +++ b/src/src.pro @@ -5,7 +5,7 @@ CONFIG -= app_bundle TEMPLATE = lib DEFINES += MSGPACK_MAKE_LIB -DESTDIR = $$TOP_SRCDIR/bin +DESTDIR = $$PWD/../bin QMAKE_CXXFLAGS += -fPIC CONFIG += debug_and_release