Commit 7874d619 authored by Nikolai Kosjar's avatar Nikolai Kosjar
Browse files

Clang: Enable not exporting symbols



Having a dllexport in the sources for a TEMPLATE=app project (e.g.
unittest.pro) will create a library on Windows, which is not needed.

Change-Id: I1ebdd8b5ada06965c3dd89074ac2bc6dff09299c
Reviewed-by: default avatarMarco Bubke <marco.bubke@theqtcompany.com>
parent 216f1103
......@@ -6,8 +6,6 @@ contains(CONFIG, dll) {
QT += network
DEFINES += CLANGBACKENDIPC_LIBRARY
INCLUDEPATH += $$PWD
SOURCES += $$PWD/ipcserverinterface.cpp \
......
......@@ -33,8 +33,10 @@
#include <QtCore/qglobal.h>
#if defined(CLANGBACKENDIPC_LIBRARY)
#if defined(CLANGBACKENDIPC_BUILD_LIB)
# define CMBIPC_EXPORT Q_DECL_EXPORT
#elif defined(CLANGBACKENDIPC_BUILD_STATIC_LIB)
# define CMBIPC_EXPORT
#else
# define CMBIPC_EXPORT Q_DECL_IMPORT
#endif
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment