Kaynağa Gözat

Merge branch 'simplify-pythonqt-module-init'

* simplify-pythonqt-module-init:
  PythonQt Decorators symbols shouldn't be exported
Jean-Christophe Fillion-Robin 13 yıl önce
ebeveyn
işleme
2b26664239

+ 1 - 3
Libs/Core/ctkCorePythonQtDecorators.h

@@ -28,8 +28,6 @@
 #include <ctkWorkflowStep.h>
 #include <ctkWorkflowTransitions.h>
 
-#include "ctkCoreExport.h"
-
 // NOTE:
 //
 // For decorators it is assumed that the methods will never be called
@@ -38,7 +36,7 @@
 //
 
 /// \ingroup Core
-class CTK_CORE_EXPORT ctkCorePythonQtDecorators : public QObject
+class ctkCorePythonQtDecorators : public QObject
 {
   Q_OBJECT
 public:

+ 1 - 5
Libs/DICOM/Core/ctkDICOMCorePythonQtDecorators.h

@@ -25,10 +25,6 @@
 #include <PythonQt.h>
 
 // CTK includes
-#include <ctkWorkflowStep.h>
-#include <ctkWorkflowTransitions.h>
-
-#include "ctkDICOMCoreExport.h"
 
 // NOTE:
 //
@@ -38,7 +34,7 @@
 //
 
 /// \ingroup DICOMCore
-class CTK_DICOM_CORE_EXPORT ctkDICOMCorePythonQtDecorators : public QObject
+class ctkDICOMCorePythonQtDecorators : public QObject
 {
   Q_OBJECT
 public:

+ 1 - 5
Libs/DICOM/Widgets/ctkDICOMWidgetsPythonQtDecorators.h

@@ -25,10 +25,6 @@
 #include <PythonQt.h>
 
 // CTK includes
-#include <ctkWorkflowStep.h>
-#include <ctkWorkflowTransitions.h>
-
-#include "ctkDICOMWidgetsExport.h"
 
 // NOTE:
 //
@@ -38,7 +34,7 @@
 //
 
 /// \ingroup DICOMWidgets
-class CTK_DICOM_WIDGETS_EXPORT ctkDICOMWidgetsPythonQtDecorators : public QObject
+class ctkDICOMWidgetsPythonQtDecorators : public QObject
 {
   Q_OBJECT
 public:

+ 1 - 3
Libs/Widgets/ctkWidgetsPythonQtDecorators.h

@@ -27,8 +27,6 @@
 // CTK includes
 #include <ctkWorkflowWidgetStep.h>
 
-#include "ctkWidgetsExport.h"
-
 // NOTE:
 //
 // For decorators it is assumed that the methods will never be called
@@ -36,7 +34,7 @@
 // for non-static methods.
 //
 
-class CTK_WIDGETS_EXPORT ctkWidgetsPythonQtDecorators : public QObject
+class ctkWidgetsPythonQtDecorators : public QObject
 {
   Q_OBJECT
 public: