소스 검색

COMP: Add dllimport/dllexport for windows build (ctkPixmapIconEngine)

Julien Finet 15 년 전
부모
커밋
86ba71093c
1개의 변경된 파일3개의 추가작업 그리고 1개의 파일을 삭제
  1. 3 1
      Libs/Widgets/ctkPixmapIconEngine.h

+ 3 - 1
Libs/Widgets/ctkPixmapIconEngine.h

@@ -66,6 +66,8 @@
 #include <QPixmap>
 #include <QVector>
 
+#include "CTKWidgetsExport.h"
+
 struct ctkPixmapIconEngineEntry
 {
     ctkPixmapIconEngineEntry():mode(QIcon::Normal), state(QIcon::Off){}
@@ -81,7 +83,7 @@ struct ctkPixmapIconEngineEntry
     bool isNull() const {return (fileName.isEmpty() && pixmap.isNull()); }
 };
 
-class ctkPixmapIconEngine : public QIconEngineV2 {
+class CTK_WIDGETS_EXPORT ctkPixmapIconEngine : public QIconEngineV2 {
 public:
     ctkPixmapIconEngine();
     ctkPixmapIconEngine(const ctkPixmapIconEngine &);