Skip to content

Commit 4057790

Browse files
committedMay 25, 2020
Hookup georeferencer from app
1 parent 54c5e3a commit 4057790

File tree

10 files changed

+230
-518
lines changed

10 files changed

+230
-518
lines changed
 

‎CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -639,6 +639,7 @@ ADD_DEFINITIONS(-DQT_DISABLE_DEPRECATED_BEFORE=0x050800)
639639

640640
IF (WITH_GEOREFERENCER)
641641
FIND_PACKAGE(GSL REQUIRED)
642+
SET(HAVE_GEOREFERENCER TRUE)
642643
ENDIF (WITH_GEOREFERENCER)
643644

644645
IF(ENABLE_COVERAGE)

‎cmake_templates/qgsconfig.h.in

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,8 @@
6464

6565
#cmakedefine HAVE_3D
6666

67+
#cmakedefine HAVE_GEOREFERENCER
68+
6769
#cmakedefine USE_THREAD_LOCAL
6870

6971
#cmakedefine QGISDEBUG

‎src/app/CMakeLists.txt

Lines changed: 26 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -175,27 +175,6 @@ SET(QGIS_APP_SRCS
175175
devtools/profiler/qgsprofilerpanelwidget.cpp
176176
devtools/profiler/qgsprofilerwidgetfactory.cpp
177177

178-
georeferencer/qgsgcpcanvasitem.cpp
179-
georeferencer/qgsgeorefconfigdialog.cpp
180-
georeferencer/qgsgeorefdatapoint.cpp
181-
georeferencer/qgsgeorefdelegates.cpp
182-
georeferencer/qgsgeorefdescriptiondialog.cpp
183-
georeferencer/qgsgeorefplugin.cpp
184-
georeferencer/qgsgeorefplugingui.cpp
185-
georeferencer/qgsgeoreftooladdpoint.cpp
186-
georeferencer/qgsgeoreftooldeletepoint.cpp
187-
georeferencer/qgsgeoreftoolmovepoint.cpp
188-
georeferencer/qgsgeorefvalidators.cpp
189-
georeferencer/qgsleastsquares.cpp
190-
georeferencer/qgsmapcoordsdialog.cpp
191-
georeferencer/qgsresidualplotitem.cpp
192-
georeferencer/qgstransformsettingsdialog.cpp
193-
georeferencer/qgsgcplist.cpp
194-
georeferencer/qgsgcplistmodel.cpp
195-
georeferencer/qgsimagewarper.cpp
196-
georeferencer/qgsgeoreftransform.cpp
197-
georeferencer/qgsgcplistwidget.cpp
198-
georeferencer/qgsrasterchangecoords.cpp
199178
georeferencer/qgsvalidateddoublespinbox.cpp
200179

201180
labeling/qgslabelpropertydialog.cpp
@@ -252,6 +231,32 @@ SET(QGIS_APP_SRCS
252231
mesh/qgsmeshvariablestrokewidthwidget.cpp
253232
)
254233

234+
IF (WITH_GEOREFERENCER)
235+
SET(QGIS_APP_SRCS
236+
${QGIS_APP_SRCS}
237+
georeferencer/qgsgcpcanvasitem.cpp
238+
georeferencer/qgsgeorefconfigdialog.cpp
239+
georeferencer/qgsgeorefdatapoint.cpp
240+
georeferencer/qgsgeorefdelegates.cpp
241+
georeferencer/qgsgeorefdescriptiondialog.cpp
242+
georeferencer/qgsgeorefplugingui.cpp
243+
georeferencer/qgsgeoreftooladdpoint.cpp
244+
georeferencer/qgsgeoreftooldeletepoint.cpp
245+
georeferencer/qgsgeoreftoolmovepoint.cpp
246+
georeferencer/qgsgeorefvalidators.cpp
247+
georeferencer/qgsleastsquares.cpp
248+
georeferencer/qgsmapcoordsdialog.cpp
249+
georeferencer/qgsresidualplotitem.cpp
250+
georeferencer/qgstransformsettingsdialog.cpp
251+
georeferencer/qgsgcplist.cpp
252+
georeferencer/qgsgcplistmodel.cpp
253+
georeferencer/qgsimagewarper.cpp
254+
georeferencer/qgsgeoreftransform.cpp
255+
georeferencer/qgsgcplistwidget.cpp
256+
georeferencer/qgsrasterchangecoords.cpp
257+
)
258+
ENDIF (WITH_GEOREFERENCER)
259+
255260
IF (WITH_3D)
256261
SET(QGIS_APP_SRCS
257262
${QGIS_APP_SRCS}

‎src/app/georeferencer/qgsgeorefplugin.cpp

Lines changed: 0 additions & 217 deletions
This file was deleted.

0 commit comments

Comments
 (0)
Please sign in to comment.