Adds capabilities to build as shared library on Windows.
This commit is contained in:
@@ -7,6 +7,15 @@
|
||||
#include <QSharedPointer>
|
||||
class QSplitter;
|
||||
|
||||
// DLL Export API
|
||||
#ifdef _WIN32
|
||||
#ifdef ADS_EXPORT
|
||||
#define ADS_EXPORT_API __declspec(dllexport)
|
||||
#else
|
||||
#define ADS_EXPORT_API
|
||||
#endif
|
||||
#endif
|
||||
|
||||
// Use namespace
|
||||
// Disabled with Qt4!
|
||||
#ifdef ADS_NAMESPACE_ENABLED
|
||||
|
||||
Reference in New Issue
Block a user