|
@@ -10,10 +10,20 @@
|
|
|
|
|
|
#include <QtCore/qglobal.h>
|
|
#include <QtCore/qglobal.h>
|
|
|
|
|
|
-#if defined(@MY_LIBNAME@_EXPORTS)
|
|
|
|
- #define @MY_LIBRARY_EXPORT_DIRECTIVE@ Q_DECL_EXPORT
|
|
|
|
-#else
|
|
|
|
- #define @MY_LIBRARY_EXPORT_DIRECTIVE@ Q_DECL_IMPORT
|
|
|
|
|
|
+#if defined(Q_OS_WIN) || defined(Q_OS_SYMBIAN)
|
|
|
|
+# if defined(@MY_LIBNAME@_EXPORTS)
|
|
|
|
+# define @MY_LIBRARY_EXPORT_DIRECTIVE@ Q_DECL_EXPORT
|
|
|
|
+# else
|
|
|
|
+# define @MY_LIBRARY_EXPORT_DIRECTIVE@ Q_DECL_IMPORT
|
|
|
|
+# endif
|
|
|
|
+#endif
|
|
|
|
+
|
|
|
|
+#if !defined(@MY_LIBRARY_EXPORT_DIRECTIVE@)
|
|
|
|
+//# if defined(CTK_SHARED)
|
|
|
|
+# define @MY_LIBRARY_EXPORT_DIRECTIVE@ Q_DECL_EXPORT
|
|
|
|
+//# else
|
|
|
|
+//# define @MY_LIBRARY_EXPORT_DIRECTIVE@
|
|
|
|
+//# endif
|
|
#endif
|
|
#endif
|
|
|
|
|
|
#endif
|
|
#endif
|