forked from qt-creator/qt-creator
CppTools: 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: I0d454cdb7e3eb862200766ea101d41cef2758986 Reviewed-by: Marco Bubke <marco.bubke@theqtcompany.com>
This commit is contained in:
@@ -35,6 +35,8 @@
|
||||
|
||||
#if defined(CPPTOOLS_LIBRARY)
|
||||
# define CPPTOOLS_EXPORT Q_DECL_EXPORT
|
||||
#elif defined(CPPTOOLS_STATIC_LIBRARY)
|
||||
# define CPPTOOLS_EXPORT
|
||||
#else
|
||||
# define CPPTOOLS_EXPORT Q_DECL_IMPORT
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user