diff --git a/src/gui/CMakeLists.txt b/src/gui/CMakeLists.txt index caf8440033a..9972f923e79 100644 --- a/src/gui/CMakeLists.txt +++ b/src/gui/CMakeLists.txt @@ -674,6 +674,7 @@ TARGET_LINK_LIBRARIES(qgis_gui IF(WIN32) ADD_DEFINITIONS(-DQWT_DLL) + ADD_DEFINITIONS(-DQSCINTILLA_DLL) ENDIF(WIN32) # install diff --git a/src/gui/qgscodeeditor.h b/src/gui/qgscodeeditor.h index f8759f143db..a07e49718a8 100644 --- a/src/gui/qgscodeeditor.h +++ b/src/gui/qgscodeeditor.h @@ -16,12 +16,11 @@ #ifndef QGSCODEEDITOR_H #define QGSCODEEDITOR_H -#define QSCINTILLA_DLL - #include // qscintilla includes #include + class QWidget; /** \ingroup gui