@@ -16,9 +16,9 @@ IF (NOT MSVC)
16
16
ENDIF (NOT MSVC )
17
17
18
18
IF (WIN32 )
19
- ADD_DEFINITIONS ("\" -DGRASS_EXPORT=__declspec(dllimport)\" " )
19
+ ADD_DEFINITIONS ("\" -DHAVE_GETPT - DGRASS_EXPORT=__declspec(dllimport)\" " )
20
20
ELSE (WIN32 )
21
- ADD_DEFINITIONS ("-DGRASS_EXPORT=" )
21
+ ADD_DEFINITIONS ("-DHAVE_POSIX_OPENPT - DGRASS_EXPORT=" )
22
22
ENDIF (WIN32 )
23
23
24
24
########################################################
@@ -39,6 +39,24 @@ SET (GRASS_PLUGIN_SRCS
39
39
qgsgrassattributes.cpp
40
40
qgsgrassregion.cpp
41
41
qgsgrassutils.cpp
42
+ qtermwidget/BlockArray.cpp
43
+ qtermwidget/Emulation.cpp
44
+ qtermwidget/Filter .cpp
45
+ qtermwidget/History.cpp
46
+ qtermwidget/KeyboardTranslator.cpp
47
+ qtermwidget/Pty.cpp
48
+ qtermwidget/Screen.cpp
49
+ qtermwidget/ScreenWindow.cpp
50
+ qtermwidget/Session.cpp
51
+ qtermwidget/ShellCommand.cpp
52
+ qtermwidget/TerminalCharacterDecoder.cpp
53
+ qtermwidget/TerminalDisplay.cpp
54
+ qtermwidget/Vt102Emulation.cpp
55
+ qtermwidget/k3process.cpp
56
+ qtermwidget/k3processcontroller.cpp
57
+ qtermwidget/konsole_wcwidth.cpp
58
+ qtermwidget/kpty.cpp
59
+ qtermwidget/qtermwidget.cpp
42
60
)
43
61
44
62
SET (GRASS_PLUGIN_UIS
@@ -48,7 +66,6 @@ SET (GRASS_PLUGIN_UIS
48
66
qgsgrassmapcalcbase.ui
49
67
qgsgrassmodulebase.ui
50
68
qgsgrassnewmapsetbase.ui
51
- qgsgrassshellbase.ui
52
69
qgsgrassattributesbase.ui
53
70
qgsgrassregionbase.ui
54
71
../../ui/qgsprojectionselectorbase.ui
@@ -69,6 +86,16 @@ SET (GRASS_PLUGIN_MOC_HDRS
69
86
qgsgrassregion.h
70
87
qgsgrassutils.h
71
88
qgsgrassedittools.h
89
+ qtermwidget/Emulation.h
90
+ qtermwidget/Filter .h
91
+ qtermwidget/Pty.h
92
+ qtermwidget/ScreenWindow.h
93
+ qtermwidget/Session.h
94
+ qtermwidget/TerminalDisplay.h
95
+ qtermwidget/Vt102Emulation.h
96
+ qtermwidget/k3process.h
97
+ qtermwidget/k3processcontroller.h
98
+ qtermwidget/qtermwidget.h
72
99
)
73
100
74
101
SET (GRASS_PLUGIN_RCCS qgsgrass_plugin.qrc)
@@ -106,9 +133,9 @@ INCLUDE_DIRECTORIES(
106
133
${GRASS_INCLUDE_DIR}
107
134
${GDAL_INCLUDE_DIR}
108
135
${PROJ_INCLUDE_DIR}
136
+ qtermwidget
109
137
)
110
138
111
- SET ( QT_USE_QT3SUPPORT TRUE )
112
139
INCLUDE ( ${QT_USE_FILE} )
113
140
114
141
TARGET_LINK_LIBRARIES (grassplugin
0 commit comments