aboutsummaryrefslogtreecommitdiffstats
path: root/sources/pyside2/tests/pysidetest/hiddenobject.h
diff options
context:
space:
mode:
Diffstat (limited to 'sources/pyside2/tests/pysidetest/hiddenobject.h')
-rw-r--r--sources/pyside2/tests/pysidetest/hiddenobject.h11
1 files changed, 4 insertions, 7 deletions
diff --git a/sources/pyside2/tests/pysidetest/hiddenobject.h b/sources/pyside2/tests/pysidetest/hiddenobject.h
index ffa8d614a..97a2864c5 100644
--- a/sources/pyside2/tests/pysidetest/hiddenobject.h
+++ b/sources/pyside2/tests/pysidetest/hiddenobject.h
@@ -29,11 +29,9 @@
#ifndef HIDDENOBJECT_H
#define HIDDENOBJECT_H
-#ifdef pysidetest_EXPORTS
-#define PYSIDE_EXPORTS 1
-#endif
-#include "pysidemacros.h"
-#include <QObject>
+#include "pysidetest_macros.h"
+
+#include <QtCore/QObject>
// This class shouldn't be exported!
class HiddenObject : public QObject
@@ -49,7 +47,6 @@ private:
};
// Return a instance of HiddenObject
-PYSIDE_API QObject* getHiddenObject();
-
+PYSIDETEST_API QObject* getHiddenObject();
#endif