Skip to content

Commit 32dfb86

Browse files
committed
Define QSCINTILLA_DLL for windows
1 parent a284c4e commit 32dfb86

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/gui/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -674,6 +674,7 @@ TARGET_LINK_LIBRARIES(qgis_gui
674674

675675
IF(WIN32)
676676
ADD_DEFINITIONS(-DQWT_DLL)
677+
ADD_DEFINITIONS(-DQSCINTILLA_DLL)
677678
ENDIF(WIN32)
678679

679680
# install

src/gui/qgscodeeditor.h

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,12 +16,11 @@
1616
#ifndef QGSCODEEDITOR_H
1717
#define QGSCODEEDITOR_H
1818

19-
#define QSCINTILLA_DLL
20-
2119
#include <QString>
2220
// qscintilla includes
2321
#include <Qsci/qsciapis.h>
2422

23+
2524
class QWidget;
2625

2726
/** \ingroup gui

0 commit comments

Comments
 (0)