mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-23 00:02:38 -05:00
Moved all sources for gui lib into src/gui and updated all dependent classes and makefiles
git-svn-id: http://svn.osgeo.org/qgis/trunk@4619 c8812cc2-4d05-0410-92ff-de0c093fc19c
This commit is contained in:
parent
9d02a24a3e
commit
42636d6ba8
@ -1,6 +1,8 @@
|
||||
/* ChangeLog,v 1.214 2004/11/12 00:42:21 gsherman Exp */
|
||||
------------------------------------------------------------------------------
|
||||
Version 0.8 'Joesephine' .... development version
|
||||
2006-01-08 [timlinux] 0.7.9.8
|
||||
** moved all sources for gui lib into src/gui
|
||||
2006-01-08 [gsherman] 0.7.9.7
|
||||
** Moved providers to the src directory
|
||||
2006-01-08 [timlinux] 0.7.9.6
|
||||
|
11
configure.in
11
configure.in
@ -29,7 +29,7 @@ dnl ---------------------------------------------------------------------------
|
||||
MAJOR_VERSION=0
|
||||
MINOR_VERSION=7
|
||||
MICRO_VERSION=9
|
||||
EXTRA_VERSION=7
|
||||
EXTRA_VERSION=8
|
||||
if test $EXTRA_VERSION -eq 0; then
|
||||
VERSION=${MAJOR_VERSION}.${MINOR_VERSION}.${MICRO_VERSION}
|
||||
else
|
||||
@ -478,14 +478,11 @@ AC_CONFIG_FILES([
|
||||
src/composer/Makefile
|
||||
src/core/Makefile
|
||||
src/designer/Makefile
|
||||
src/gui/Makefile
|
||||
src/legend/Makefile
|
||||
src/mac/Contents/Makefile
|
||||
src/mac/Contents/Resources/Makefile
|
||||
src/mac/Makefile
|
||||
src/raster/Makefile
|
||||
src/ui/Makefile
|
||||
src/widgets/Makefile
|
||||
src/widgets/projectionselector/Makefile
|
||||
src/providers/Makefile
|
||||
src/providers/delimitedtext/Makefile
|
||||
src/providers/gpx/Makefile
|
||||
@ -493,6 +490,10 @@ AC_CONFIG_FILES([
|
||||
src/providers/ogr/Makefile
|
||||
src/providers/postgres/Makefile
|
||||
src/providers/wms/Makefile
|
||||
src/raster/Makefile
|
||||
src/ui/Makefile
|
||||
src/widgets/Makefile
|
||||
src/widgets/projectionselector/Makefile
|
||||
tools/Makefile
|
||||
tools/mapserver_export/Makefile
|
||||
tools/qgis_config/Makefile
|
||||
|
@ -49,9 +49,9 @@ pluginguibase.cpp: pluginguibase.h pluginguibase.ui
|
||||
BUILT_SOURCES = $(plugin_MOC) $(plugin_UI) $(plugin_RES)
|
||||
|
||||
|
||||
copyrightlabelplugin_la_LIBADD = $(QT_LDADD) $(GDAL_LDADD) ../../src/libqgis_gui.la ../../src/core/libqgis_core.la
|
||||
copyrightlabelplugin_la_LIBADD = $(QT_LDADD) $(GDAL_LDADD) ../../src/gui/libqgis_gui.la ../../src/core/libqgis_core.la
|
||||
copyrightlabelplugin_la_LDFLAGS = -avoid-version -module
|
||||
copyrightlabelplugin_la_CXXFLAGS = $(CXXFLAGS) $(EXTRA_CXXFLAGS) $(QT_CXXFLAGS) $(DEBUG_QGIS) $(GDAL_CFLAGS) $(GEOS_CFLAGS) -I../../src -I../../src/ui -I../../src/core
|
||||
copyrightlabelplugin_la_CXXFLAGS = $(CXXFLAGS) $(EXTRA_CXXFLAGS) $(QT_CXXFLAGS) $(DEBUG_QGIS) $(GDAL_CFLAGS) $(GEOS_CFLAGS) -I../../src/gui -I../../src/ui -I../../src/core
|
||||
|
||||
CLEANFILES = $(BUILT_SOURCES)
|
||||
|
||||
|
@ -20,7 +20,7 @@
|
||||
#ifndef QGSCOPYRIGHTLABELPLUGIN
|
||||
#define QGSCOPYRIGHTLABELPLUGIN
|
||||
#include "../qgisplugin.h"
|
||||
#include "../../src/qgisapp.h"
|
||||
#include "qgisapp.h"
|
||||
#include <qwidget.h>
|
||||
#include <qfont.h>
|
||||
#include <qcolor.h>
|
||||
|
@ -50,9 +50,9 @@ BUILT_SOURCES = $(plugin_MOC) $(plugin_UI) $(plugin_RES)
|
||||
|
||||
|
||||
|
||||
delimitedtextplugin_la_LIBADD = $(QT_LDADD) $(GDAL_LDADD) ../../src/libqgis_gui.la ../../src/core/libqgis_core.la
|
||||
delimitedtextplugin_la_LIBADD = $(QT_LDADD) $(GDAL_LDADD) ../../src/gui/libqgis_gui.la ../../src/core/libqgis_core.la
|
||||
delimitedtextplugin_la_LDFLAGS = -avoid-version -module
|
||||
delimitedtextplugin_la_CXXFLAGS = $(CXXFLAGS) $(EXTRA_CXXFLAGS) $(QT_CXXFLAGS) $(DEBUG_QGIS) $(GDAL_CFLAGS) $(GEOS_CFLAGS) -I../../src/core -I../../src/ -I../../src/ui
|
||||
delimitedtextplugin_la_CXXFLAGS = $(CXXFLAGS) $(EXTRA_CXXFLAGS) $(QT_CXXFLAGS) $(DEBUG_QGIS) $(GDAL_CFLAGS) $(GEOS_CFLAGS) -I../../src/core -I../../src/gui -I../../src/ui
|
||||
|
||||
CLEANFILES = $(BUILT_SOURCES)
|
||||
|
||||
|
@ -22,8 +22,8 @@ Functions:
|
||||
|
||||
// includes
|
||||
|
||||
#include "../../src/qgisapp.h"
|
||||
#include "../../src/qgsmaplayer.h"
|
||||
#include "qgisapp.h"
|
||||
#include "qgsmaplayer.h"
|
||||
#include "qgsdelimitedtextplugin.h"
|
||||
|
||||
|
||||
|
@ -22,7 +22,7 @@
|
||||
#include "../qgisplugin.h"
|
||||
#include <qwidget.h>
|
||||
#include "ui_qgsdelimitedtextpluginguibase.h"
|
||||
#include "../../src/qgisapp.h"
|
||||
#include "qgisapp.h"
|
||||
|
||||
/**
|
||||
* \class QgsDelimitedTextPlugin
|
||||
|
@ -26,7 +26,7 @@
|
||||
#include "qgsdelimitedtextplugingui.h"
|
||||
//Added by qt3to4:
|
||||
#include <QTextStream>
|
||||
#include "../../src/qgisiface.h"
|
||||
#include "qgisiface.h"
|
||||
|
||||
QgsDelimitedTextPluginGui::QgsDelimitedTextPluginGui() : QDialog()
|
||||
{
|
||||
|
@ -51,9 +51,9 @@ qgsdlgpgbufferbase.h: qgsdlgpgbufferbase.ui
|
||||
BUILT_SOURCES = $(pggeoprocessing_MOC) $(pggeoprocessing_UI)
|
||||
|
||||
|
||||
pggeoprocessingplugin_la_LIBADD = $(QT_LDADD) $(GDAL_LDADD) $(PG_LIB) ../../src/core/libqgis_core.la ../../src/libqgis_gui.la
|
||||
pggeoprocessingplugin_la_LIBADD = $(QT_LDADD) $(GDAL_LDADD) $(PG_LIB) ../../src/core/libqgis_core.la ../../src/gui/libqgis_gui.la
|
||||
pggeoprocessingplugin_la_LDFLAGS = -avoid-version -module
|
||||
pggeoprocessingplugin_la_CXXFLAGS = $(CXXFLAGS) $(EXTRA_CXXFLAGS) $(QT_CXXFLAGS) $(PG_INC) $(DEBUG_QGIS) $(GDAL_CFLAGS) $(GEOS_CFLAGS) -I../../src/ui -I../../src -I../../src/core
|
||||
pggeoprocessingplugin_la_CXXFLAGS = $(CXXFLAGS) $(EXTRA_CXXFLAGS) $(QT_CXXFLAGS) $(PG_INC) $(DEBUG_QGIS) $(GDAL_CFLAGS) $(GEOS_CFLAGS) -I../../src/ui -I../../src/gui -I../../src/core
|
||||
|
||||
CLEANFILES = $(BUILT_SOURCES)
|
||||
|
||||
|
@ -25,7 +25,7 @@
|
||||
#include <qvalidator.h>
|
||||
#include "qgsdlgpgbuffer.h"
|
||||
#include <qspinbox.h>
|
||||
#include "../../src/qgisiface.h"
|
||||
#include "qgisiface.h"
|
||||
|
||||
QgsDlgPgBuffer::QgsDlgPgBuffer( QgisIface * _qI, QWidget * parent, const char *name)
|
||||
:QDialog(parent, name),qI(_qI)
|
||||
|
@ -37,7 +37,7 @@ class Q3PopupMenu;
|
||||
class QAction;
|
||||
|
||||
//#include "qgsworkerclass.h"
|
||||
#include "../../src/qgisapp.h"
|
||||
#include "qgisapp.h"
|
||||
|
||||
/**
|
||||
* \class QgsPgGeoprocessing
|
||||
|
@ -64,8 +64,8 @@ georefplugin_la_SOURCES = plugin.cpp \
|
||||
|
||||
nodist_georefplugin_la_SOURCES = $(plugin_MOC) $(plugin_UIHEADERS) $(plugin_UISOURCES)
|
||||
|
||||
georefplugin_la_CXXFLAGS = -I../ -I../../src/ui -I../../src/raster -I../../src -I../../src/core $(GDAL_CFLAGS) $(GSL_CFLAGS) $(QT_CXXFLAGS) $(GEOS_CFLAGS)
|
||||
georefplugin_la_LDFLAGS = -avoid-version -module $(GDAL_LDADD) $(GSL_LIBS) $(QT_LDADD) ../../src/libqgis_gui.la ../../src/core/libqgis_core.la
|
||||
georefplugin_la_CXXFLAGS = -I../ -I../../src/ui -I../../src/raster -I../../src/gui -I../../src/core $(GDAL_CFLAGS) $(GSL_CFLAGS) $(QT_CXXFLAGS) $(GEOS_CFLAGS)
|
||||
georefplugin_la_LDFLAGS = -avoid-version -module $(GDAL_LDADD) $(GSL_LIBS) $(QT_LDADD) ../../src/gui/libqgis_gui.la ../../src/core/libqgis_core.la
|
||||
|
||||
BUILT_SOURCES = $(plugin_UIHEADERS) $(plugin_UISOURCES) $(plugin_MOC)
|
||||
CLEANFILES = $(BUILT_SOURCES)
|
||||
|
@ -60,9 +60,9 @@ plugin_QRC = qgsgps_plugin.qrc
|
||||
|
||||
BUILT_SOURCES = $(plugin_MOC) $(plugin_UI)
|
||||
|
||||
gpsimporterplugin_la_LIBADD = $(QT_LDADD) $(GDAL_LDADD) ../../src/libqgis_gui.la ../../src/core/libqgis_core.la
|
||||
gpsimporterplugin_la_LIBADD = $(QT_LDADD) $(GDAL_LDADD) ../../src/gui/libqgis_gui.la ../../src/core/libqgis_core.la
|
||||
gpsimporterplugin_la_CFLAGS = $(CFLAGS) $(EXTRA_CFLAGS) $(DEBUG_QGIS)
|
||||
gpsimporterplugin_la_CXXFLAGS = $(CXXFLAGS) $(EXTRA_CXXFLAGS) $(QT_CXXFLAGS) $(DEBUG_QGIS) $(GDAL_CFLAGS) $(GEOS_CFLAGS) -I../../src/core -I../../src/ui -I../../src
|
||||
gpsimporterplugin_la_CXXFLAGS = $(CXXFLAGS) $(EXTRA_CXXFLAGS) $(QT_CXXFLAGS) $(DEBUG_QGIS) $(GDAL_CFLAGS) $(GEOS_CFLAGS) -I../../src/core -I../../src/ui -I../../src/gui
|
||||
gpsimporterplugin_la_LDFLAGS = -avoid-version -module
|
||||
|
||||
CLEANFILES = $(BUILT_SOURCES)
|
||||
|
@ -18,7 +18,7 @@
|
||||
#ifndef QGSGPSPLUGINGUI_H
|
||||
#define QGSGPSPLUGINGUI_H
|
||||
|
||||
#include "../../src/qgsvectorlayer.h"
|
||||
#include "qgsvectorlayer.h"
|
||||
#include "ui_qgsgpspluginguibase.h"
|
||||
#include "qgsbabelformat.h"
|
||||
#include "qgsgpsdevice.h"
|
||||
|
@ -12,7 +12,7 @@
|
||||
|
||||
SUBDIRS = config modules themes
|
||||
|
||||
INCLUDES = -I../../src -I../../src/core
|
||||
INCLUDES = -I../../src/gui -I../../src/core
|
||||
|
||||
DEFS=-DGRASS_BASE=\"$(GRASS_BASE)\" -DHAVE_OPENPTY=$(HAVE_OPENPTY)
|
||||
if !HAVE_QTMAC
|
||||
@ -114,9 +114,9 @@ qgsgrassregionbase.h: qgsgrassregionbase.ui
|
||||
BUILT_SOURCES = $(plugin_MOC) $(plugin_UI)
|
||||
|
||||
|
||||
grassplugin_la_LIBADD = $(QT_LDADD) ../../src/providers/grass/libqgisgrass.la $(GRASS_LIB) $(PG_LIB) $(GDAL_LDADD) ../../src/libqgis_gui.la ../../src/core/libqgis_core.la ../../src/raster/libqgis_raster.la
|
||||
grassplugin_la_LIBADD = $(QT_LDADD) ../../src/providers/grass/libqgisgrass.la $(GRASS_LIB) $(PG_LIB) $(GDAL_LDADD) ../../src/gui/libqgis_gui.la ../../src/core/libqgis_core.la ../../src/raster/libqgis_raster.la
|
||||
grassplugin_la_LDFLAGS = -avoid-version -module
|
||||
grassplugin_la_CXXFLAGS = $(PREFIX) $(CXXFLAGS) -I$(GRASS_INC) $(DEFS) $(EXTRA_CXXFLAGS) $(QT_CXXFLAGS) $(DEBUG_QGIS) -I$(PG_INC) $(GDAL_CFLAGS) $(GEOS_CFLAGS) -I../../src/legend/ -I../../src/raster -I../../src/ui
|
||||
grassplugin_la_CXXFLAGS = $(PREFIX) $(CXXFLAGS) -I$(GRASS_INC) $(DEFS) $(EXTRA_CXXFLAGS) $(QT_CXXFLAGS) $(DEBUG_QGIS) -I$(PG_INC) $(GDAL_CFLAGS) $(GEOS_CFLAGS) -I../../src/legend/ -I../../src/raster -I../../src/ui -I../../src/widgets/projectionselector
|
||||
|
||||
CLEANFILES = $(BUILT_SOURCES)
|
||||
|
||||
|
@ -18,7 +18,7 @@
|
||||
|
||||
/* First attribute in the table is always field, second attribute is category */
|
||||
|
||||
#include "../../src/qgsidentifyresults.h"
|
||||
#include "qgsidentifyresults.h"
|
||||
//Added by qt3to4:
|
||||
#include <QEvent>
|
||||
|
||||
|
@ -39,8 +39,8 @@ class QPixmap;
|
||||
#include <q3canvas.h>
|
||||
|
||||
// Must be here, so that it is included to moc file
|
||||
#include "../../src/qgisapp.h"
|
||||
#include "../../src/qgisiface.h"
|
||||
#include "qgisapp.h"
|
||||
#include "qgisiface.h"
|
||||
|
||||
class QgsGrassProvider;
|
||||
class QgsGrassTools;
|
||||
|
@ -38,9 +38,9 @@ class QPixmap;
|
||||
#include <q3process.h>
|
||||
|
||||
// Must be here, so that it is included to moc file
|
||||
#include "../../src/qgisapp.h"
|
||||
#include "../../src/qgisiface.h"
|
||||
#include "../../src/qgsvectorlayer.h"
|
||||
#include "qgisapp.h"
|
||||
#include "qgisiface.h"
|
||||
#include "qgsvectorlayer.h"
|
||||
|
||||
class QgsGrassProvider;
|
||||
class QgsGrassTools;
|
||||
|
@ -30,7 +30,7 @@ class QCloseEvent;
|
||||
#include "qgisiface.h"
|
||||
#include "qgspoint.h"
|
||||
#include "qgsspatialrefsys.h"
|
||||
#include "widgets/projectionselector/qgsprojectionselector.h"
|
||||
#include "qgsprojectionselector.h"
|
||||
|
||||
class QgsGrassProvider;
|
||||
#include "qgsgrassplugin.h"
|
||||
|
@ -20,7 +20,7 @@
|
||||
#include <qwidget.h>
|
||||
#include <qpen.h>
|
||||
|
||||
#include "../../src/qgisapp.h"
|
||||
#include "qgisapp.h"
|
||||
|
||||
#include <vector>
|
||||
|
||||
|
@ -25,8 +25,8 @@ class QDomNode;
|
||||
class QDomElement;
|
||||
|
||||
// Must be here, so that it is included to moc file
|
||||
#include "../../src/qgisapp.h"
|
||||
#include "../../src/qgisiface.h"
|
||||
#include "qgisapp.h"
|
||||
#include "qgisiface.h"
|
||||
|
||||
class QgsGrassProvider;
|
||||
#include "ui_qgsgrasstoolsbase.h"
|
||||
|
@ -62,9 +62,9 @@ plugin_QRC = gridmaker_plugin.qrc
|
||||
|
||||
BUILT_SOURCES = $(plugin_MOC) $(plugin_UI) $(plugin_RES)
|
||||
|
||||
gridmakerplugin_la_LIBADD = $(QT_LDADD) $(GDAL_LDADD) ../../src/core/libqgis_core.la ../../src/libqgis_gui.la
|
||||
gridmakerplugin_la_LIBADD = $(QT_LDADD) $(GDAL_LDADD) ../../src/core/libqgis_core.la ../../src/gui/libqgis_gui.la
|
||||
gridmakerplugin_la_CFLAGS = $(CFLAGS) $(EXTRA_CFLAGS) $(DEBUG_QGIS)
|
||||
gridmakerplugin_la_CXXFLAGS = $(CXXFLAGS) $(EXTRA_CXXFLAGS) $(QT_CXXFLAGS) $(DEBUG_QGIS) $(GDAL_CFLAGS) $(GEOS_CFLAGS) -I../../src/core -I../../src/ui -I../../src
|
||||
gridmakerplugin_la_CXXFLAGS = $(CXXFLAGS) $(EXTRA_CXXFLAGS) $(QT_CXXFLAGS) $(DEBUG_QGIS) $(GDAL_CFLAGS) $(GEOS_CFLAGS) -I../../src/core -I../../src/ui -I../../src/gui
|
||||
gridmakerplugin_la_LDFLAGS = -avoid-version -module
|
||||
|
||||
##
|
||||
@ -83,7 +83,7 @@ gridmaker_SOURCES = main.cpp \
|
||||
|
||||
gridmaker_LDADD = $(QT_LDADD)
|
||||
gridmaker_CFLAGS = $(CFLAGS) $(EXTRA_CFLAGS) $(DEBUG_QGIS)
|
||||
gridmaker_CXXFLAGS = $(CXXFLAGS) $(EXTRA_CXXFLAGS) $(QT_CXXFLAGS) $(PKGDATAPATH) $(DEBUG_QGIS) -I../../src -I../../src/ui -I../../src/core
|
||||
gridmaker_CXXFLAGS = $(CXXFLAGS) $(EXTRA_CXXFLAGS) $(QT_CXXFLAGS) $(PKGDATAPATH) $(DEBUG_QGIS) -I../../src/gui -I../../src/ui -I../../src/core
|
||||
|
||||
standalone_MOC = plugingui.moc.cpp
|
||||
|
||||
|
@ -22,8 +22,8 @@ email : tim@linfiniti.com
|
||||
|
||||
// includes
|
||||
|
||||
#include "../../src/qgisapp.h"
|
||||
#include "../../src/qgsmaplayer.h"
|
||||
#include "qgisapp.h"
|
||||
#include "qgsmaplayer.h"
|
||||
#include "plugin.h"
|
||||
|
||||
|
||||
|
@ -52,7 +52,7 @@ BUILT_SOURCES = $(plugin_MOC) $(plugin_UI) $(plugin_RES)
|
||||
|
||||
northarrowplugin_la_LIBADD = $(QT_LDADD) $(GDAL_LDADD) ../../src/core/libqgis_core.la
|
||||
northarrowplugin_la_LDFLAGS = -avoid-version -module
|
||||
northarrowplugin_la_CXXFLAGS = $(CXXFLAGS) $(EXTRA_CXXFLAGS) $(QT_CXXFLAGS) $(DEBUG_QGIS) $(GDAL_CFLAGS) $(GEOS_CFLAGS) $(PKGDATAPATH) -I../../src -I../../src/ui -I../../src/core
|
||||
northarrowplugin_la_CXXFLAGS = $(CXXFLAGS) $(EXTRA_CXXFLAGS) $(QT_CXXFLAGS) $(DEBUG_QGIS) $(GDAL_CFLAGS) $(GEOS_CFLAGS) $(PKGDATAPATH) -I../../src/gui -I../../src/ui -I../../src/core
|
||||
|
||||
CLEANFILES = $(BUILT_SOURCES)
|
||||
|
||||
|
@ -21,7 +21,7 @@
|
||||
#define QGSNORTHARROWPLUGIN
|
||||
|
||||
#include "../qgisplugin.h"
|
||||
#include "../../src/qgisapp.h"
|
||||
#include "qgisapp.h"
|
||||
|
||||
class QToolBar;
|
||||
/**
|
||||
|
@ -51,7 +51,7 @@ BUILT_SOURCES = $(plugin_MOC) $(plugin_UI) $(plugin_RES)
|
||||
|
||||
libScaleBarplugin_la_LIBADD = $(QT_LDADD) ../../src/core/libqgis_core.la
|
||||
libScaleBarplugin_la_LDFLAGS = -avoid-version -module
|
||||
libScaleBarplugin_la_CXXFLAGS = $(CXXFLAGS) $(EXTRA_CXXFLAGS) $(QT_CXXFLAGS) $(DEBUG_QGIS) $(GDAL_CFLAGS) $(GEOS_CFLAGS) -I../../src -I../../src/ui -I../../src/core
|
||||
libScaleBarplugin_la_CXXFLAGS = $(CXXFLAGS) $(EXTRA_CXXFLAGS) $(QT_CXXFLAGS) $(DEBUG_QGIS) $(GDAL_CFLAGS) $(GEOS_CFLAGS) -I../../src/gui -I../../src/ui -I../../src/core
|
||||
|
||||
CLEANFILES = $(BUILT_SOURCES)
|
||||
|
||||
|
@ -27,7 +27,7 @@ email : sbr00pwb@users.sourceforge.net
|
||||
#include <q3pointarray.h>
|
||||
|
||||
|
||||
#include "../../src/qgisapp.h"
|
||||
#include "qgisapp.h"
|
||||
class QToolBar;
|
||||
/**
|
||||
* \class Plugin
|
||||
|
@ -52,7 +52,7 @@ spitplugin_la_SOURCES = $(common_sources) \
|
||||
qgsspitplugin.cpp \
|
||||
qgsspitplugin.h
|
||||
|
||||
spit_SOURCES = ../../src/qgsmessageviewer.cpp ../../src/qgspgutil.cpp $(common_sources) main.cpp $(SPIT_UIC) $(spit_MOC)
|
||||
spit_SOURCES = ../../src/gui/qgsmessageviewer.cpp ../../src/gui/qgspgutil.cpp $(common_sources) main.cpp $(SPIT_UIC) $(spit_MOC)
|
||||
|
||||
nodist_spitplugin_la_SOURCES = $(spitplugin_la_MOC)
|
||||
|
||||
@ -67,12 +67,12 @@ BUILT_SOURCES = $(spit_MOC) $(spit_UI) $(spitplugin_la_MOC)
|
||||
|
||||
spitplugin_la_LIBADD = $(QT_LDADD) $(PG_LIB) $(GDAL_LDADD) ../../src/core/libqgis_core.la
|
||||
spitplugin_la_LDFLAGS = -avoid-version -module
|
||||
spitplugin_la_CXXFLAGS = $(CXXFLAGS) $(EXTRA_CXXFLAGS) $(GDAL_CFLAGS) $(QT_CXXFLAGS) $(PG_INC) $(GEOS_CFLAGS) -I../../src -I../../src/ui -I../../src/core
|
||||
spitplugin_la_CXXFLAGS = $(CXXFLAGS) $(EXTRA_CXXFLAGS) $(GDAL_CFLAGS) $(QT_CXXFLAGS) $(PG_INC) $(GEOS_CFLAGS) -I../../src/gui -I../../src/ui -I../../src/core
|
||||
|
||||
|
||||
spit_LDADD = $(QT_LDADD) $(PG_LIB) $(GDAL_LDADD)
|
||||
#spit_LDFLAGS = -avoid-version -module
|
||||
spit_CXXFLAGS = $(CXXFLAGS) $(EXTRA_CXXFLAGS) $(GDAL_CFLAGS) $(QT_CXXFLAGS) $(PG_INC) -I../../src -I../../src/ui -I../../src/core
|
||||
spit_CXXFLAGS = $(CXXFLAGS) $(EXTRA_CXXFLAGS) $(GDAL_CFLAGS) $(QT_CXXFLAGS) $(PG_INC) -I../../src/gui -I../../src/ui -I../../src/core
|
||||
|
||||
CLEANFILES = $(BUILT_SOURCES)
|
||||
|
||||
|
@ -2,7 +2,7 @@
|
||||
#include <qpixmap.h>
|
||||
#include <q3listview.h>
|
||||
#include <q3textedit.h>
|
||||
#include "../../src/qgspgutil.h"
|
||||
#include "qgspgutil.h"
|
||||
#include "spit_icons.h"
|
||||
|
||||
#include "qgseditreservedwordsdialog.h"
|
||||
|
@ -34,7 +34,7 @@
|
||||
#include <qsettings.h>
|
||||
#include <qpixmap.h>
|
||||
#include <iostream>
|
||||
#include "../../src/qgspgutil.h"
|
||||
#include "qgspgutil.h"
|
||||
#include "qgsspit.h"
|
||||
#include "qgsconnectiondialog.h"
|
||||
#include "qgseditreservedwordsdialog.h"
|
||||
|
@ -21,7 +21,7 @@
|
||||
// includes
|
||||
#include <iostream>
|
||||
#include <vector>
|
||||
#include "../../src/qgisapp.h"
|
||||
#include "qgisapp.h"
|
||||
|
||||
#include <q3toolbar.h>
|
||||
#include <qmenubar.h>
|
||||
|
@ -35,7 +35,7 @@ class QMenuBar;
|
||||
class Q3PopupMenu;
|
||||
|
||||
//#include "qgsworkerclass.h"
|
||||
#include "../../src/qgisapp.h"
|
||||
#include "qgisapp.h"
|
||||
|
||||
/**
|
||||
* \class QgsSpitPlugin
|
||||
|
296
src/Makefile.am
296
src/Makefile.am
@ -8,297 +8,9 @@
|
||||
# WITHOUT ANY WARRANTY, to the extent permitted by law; without even the
|
||||
# implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
||||
|
||||
##
|
||||
## ----------------------------------------------------------------------
|
||||
## Initial setup
|
||||
## ----------------------------------------------------------------------
|
||||
##
|
||||
if HAVE_QTMAC
|
||||
MAC = mac
|
||||
endif
|
||||
# NOTE - the order of the SUBDIRS is important. Currently the providers
|
||||
# depend on the existence of libqgis_gui. Since the gui classes
|
||||
# have not been moved into their own directory, the current directory
|
||||
# (.) must be specified immediately before the providers
|
||||
# subdirectory. Once the gui subdirectory is implemented, there is
|
||||
# no need for the current directory to be in the SUBDIRS list
|
||||
SUBDIRS = core ui legend raster composer widgets . providers $(MAC)
|
||||
|
||||
if !HAVE_QTMAC
|
||||
PREFIX=-DPREFIX=\"$(prefix)\"
|
||||
PLUGINPATH=-DPLUGINPATH=\"$(pkglibdir)\"
|
||||
PKGDATAPATH=-DPKGDATAPATH=\"$(pkgdatadir)\"
|
||||
endif
|
||||
|
||||
%.moc.cpp: %.h
|
||||
$(MOC) -o $@ $<
|
||||
|
||||
##
|
||||
## ----------------------------------------------------------------------
|
||||
## Define Targets
|
||||
## ----------------------------------------------------------------------
|
||||
##
|
||||
if HAVE_QTMAC
|
||||
## Qt/Mac binary must be in MacOS directory within bundle, not in bin subdirectory
|
||||
## (configure ensures that prefix ends in qgis.app/Contents/MacOS)
|
||||
macbindir = $(exec_prefix)
|
||||
macbin_PROGRAMS = qgis
|
||||
else
|
||||
bin_PROGRAMS = qgis
|
||||
endif
|
||||
|
||||
lib_LTLIBRARIES = libqgis_gui.la
|
||||
|
||||
|
||||
##
|
||||
## ----------------------------------------------------------------------
|
||||
## QGIS Desktop Application
|
||||
## ----------------------------------------------------------------------
|
||||
##
|
||||
|
||||
qgis_SOURCES = main.cpp
|
||||
|
||||
qgis_LDADD = raster/libqgis_raster.la legend/libqgis_legend.la composer/libqgis_composer.la $(LDADD) $(QT_LDADD) $(GDAL_LDADD) $(PG_LIB) $(GEOS_LDADD) $(PYTHON_LIB) -lproj -lsqlite3 libqgis_gui.la core/libqgis_core.la
|
||||
if HAVE_QTMAC
|
||||
qgis_LDFLAGS = -framework ApplicationServices
|
||||
else
|
||||
qgis_LDFLAGS = -rdynamic
|
||||
endif
|
||||
qgis_CXXFLAGS = $(PREFIX) $(PLUGINPATH) $(PKGDATAPATH) $(GDAL_CFLAGS) $(CXXFLAGS) $(EXTRA_CXXFLAGS) $(QT_CXXFLAGS) $(PG_INC) $(DEBUG_QGIS) $(HAVE_PYTHON) $(GEOS_CFLAGS) $(PYTHON_INCLUDE_DIR) -I./ui/ -I./widgets/projectionselector/ -I./legend/ -I./raster/ -I./composer/ -I./core/
|
||||
|
||||
|
||||
##
|
||||
## ----------------------------------------------------------------------
|
||||
## libqgis_gui-gui stuff starts here
|
||||
## ----------------------------------------------------------------------
|
||||
##
|
||||
|
||||
libqgis_guiHEADERS = \
|
||||
qgisapp.h \
|
||||
qgisiface.h \
|
||||
qgisinterface.h \
|
||||
qgsabout.h \
|
||||
qgsaddattrdialog.h \
|
||||
qgsadvancedattrsearch.h \
|
||||
qgsattributeaction.h \
|
||||
qgsattributeactiondialog.h \
|
||||
qgsattributedialog.h \
|
||||
qgsattributetabledisplay.h \
|
||||
qgsattributetable.h \
|
||||
qgsbookmarks.h \
|
||||
qgsclipboard.h \
|
||||
qgscontcoldialog.h \
|
||||
qgscontinuouscolrenderer.h \
|
||||
qgscsexception.h \
|
||||
qgscoordinatetransform.h \
|
||||
qgscustomprojectiondialog.h \
|
||||
qgsdelattrdialog.h \
|
||||
qgsencodingfiledialog.h \
|
||||
qgsfeature.h \
|
||||
qgsfillstylewidget.h \
|
||||
qgsgeomtypedialog.h \
|
||||
qgsgraduatedsymrenderer.h \
|
||||
qgsgrasydialog.h \
|
||||
qgshelpviewer.h \
|
||||
qgsidentifyresults.h \
|
||||
qgslabeldialog.h \
|
||||
qgslabel.h \
|
||||
qgslayerprojectionselector.h \
|
||||
qgslinestyledialog.h \
|
||||
qgsludialog.h \
|
||||
qgsmapcanvas.h \
|
||||
qgsmaplayer.h \
|
||||
qgsmaplayerinterface.h \
|
||||
qgsmaplayerregistry.h \
|
||||
qgsmapoverviewcanvas.h \
|
||||
qgsmapserverexport.h \
|
||||
qgsmarkerdialog.h \
|
||||
qgsmeasure.h \
|
||||
qgsmessageviewer.h \
|
||||
qgsnewhttpconnection.h \
|
||||
qgsoptions.h \
|
||||
qgspastetransformations.h \
|
||||
qgspatterndialog.h \
|
||||
qgspluginmanager.h \
|
||||
qgspluginmetadata.h \
|
||||
qgspointstylewidget.h \
|
||||
qgsproject.h \
|
||||
qgsprojectproperties.h \
|
||||
qgsrangerenderitem.h \
|
||||
qgsrasterlayerproperties.h \
|
||||
qgsrunprocess.h \
|
||||
qgsserversourceselect.h \
|
||||
qgssisydialog.h \
|
||||
qgsspatialrefsys.h \
|
||||
qgsuniquevalrenderer.h \
|
||||
qgsuvaldialog.h \
|
||||
qgsvectorfilewriter.h \
|
||||
qgsvectorlayerproperties.h
|
||||
|
||||
## files generated from MOC
|
||||
libqgis_gui_la_MOC = \
|
||||
qgisapp.moc.cpp \
|
||||
qgisinterface.moc.cpp \
|
||||
qgsabout.moc.cpp \
|
||||
qgsaddattrdialog.moc.cpp \
|
||||
qgsadvancedattrsearch.moc.cpp \
|
||||
qgsattributeactiondialog.moc.cpp \
|
||||
qgsattributedialog.moc.cpp \
|
||||
qgsattributetabledisplay.moc.cpp \
|
||||
qgsattributetable.moc.cpp \
|
||||
qgsbookmarks.moc.cpp \
|
||||
qgscontcoldialog.moc.cpp \
|
||||
qgscoordinatetransform.moc.cpp \
|
||||
qgscustomprojectiondialog.moc.cpp \
|
||||
qgsdelattrdialog.moc.cpp \
|
||||
qgsencodingfiledialog.moc.cpp \
|
||||
qgsfillstylewidget.moc.cpp \
|
||||
qgsgeomtypedialog.moc.cpp \
|
||||
qgsgrasydialog.moc.cpp \
|
||||
qgshelpviewer.moc.cpp \
|
||||
qgsidentifyresults.moc.cpp \
|
||||
qgslabeldialog.moc.cpp \
|
||||
qgslayerprojectionselector.moc.cpp \
|
||||
qgslinestyledialog.moc.cpp \
|
||||
qgslinestylewidget.moc.cpp \
|
||||
qgsludialog.moc.cpp \
|
||||
qgsmapcanvas.moc.cpp \
|
||||
qgsmaplayerinterface.moc.cpp \
|
||||
qgsmaplayer.moc.cpp \
|
||||
qgsmaplayerregistry.moc.cpp \
|
||||
qgsmapoverviewcanvas.moc.cpp \
|
||||
qgsmapserverexport.moc.cpp \
|
||||
qgsmarkerdialog.moc.cpp \
|
||||
qgsmeasure.moc.cpp \
|
||||
qgsnewhttpconnection.moc.cpp \
|
||||
qgsoptions.moc.cpp \
|
||||
qgspastetransformations.moc.cpp \
|
||||
qgspatterndialog.moc.cpp \
|
||||
qgspluginmanager.moc.cpp \
|
||||
qgspointstylewidget.moc.cpp \
|
||||
qgsprojectproperties.moc.cpp \
|
||||
qgsrasterlayerproperties.moc.cpp \
|
||||
qgsrunprocess.moc.cpp \
|
||||
qgsserversourceselect.moc.cpp \
|
||||
qgssisydialog.moc.cpp \
|
||||
qgsuvaldialog.moc.cpp \
|
||||
qgsvectorlayer.moc.cpp \
|
||||
qgsvectorlayerproperties.moc.cpp
|
||||
|
||||
libqgis_gui_la_SOURCES = \
|
||||
qgisapp.cpp \
|
||||
qgisiface.cpp \
|
||||
qgisinterface.cpp \
|
||||
qgsabout.cpp \
|
||||
qgsaddattrdialog.cpp \
|
||||
qgsadvancedattrsearch.cpp \
|
||||
qgsattributeaction.cpp \
|
||||
qgsattributeactiondialog.cpp \
|
||||
qgsattributedialog.cpp \
|
||||
qgsattributetable.cpp \
|
||||
qgsattributetabledisplay.cpp \
|
||||
qgsbookmarks.cpp \
|
||||
qgsclipboard.cpp \
|
||||
qgscontcoldialog.cpp \
|
||||
qgscoordinatetransform.cpp \
|
||||
qgscontinuouscolrenderer.cpp \
|
||||
qgscustomprojectiondialog.cpp \
|
||||
qgsdelattrdialog.cpp \
|
||||
qgsencodingfiledialog.cpp \
|
||||
qgsfeature.cpp \
|
||||
qgsfillstylewidget.cpp \
|
||||
qgsgeomtypedialog.cpp \
|
||||
qgsgraduatedsymrenderer.cpp \
|
||||
qgsgrasydialog.cpp \
|
||||
qgshelpviewer.cpp \
|
||||
qgsidentifyresults.cpp \
|
||||
qgslabel.cpp \
|
||||
qgslabeldialog.cpp \
|
||||
qgslayerprojectionselector.cpp \
|
||||
qgslinestyledialog.cpp \
|
||||
qgslinestylewidget.cpp \
|
||||
qgsludialog.cpp \
|
||||
qgsmapcanvas.cpp \
|
||||
qgsmaplayer.cpp \
|
||||
qgsmaplayerregistry.cpp \
|
||||
qgsmapoverviewcanvas.cpp \
|
||||
qgsmapserverexport.cpp \
|
||||
qgsmarkerdialog.cpp \
|
||||
qgsmeasure.cpp \
|
||||
qgsmessageviewer.cpp \
|
||||
qgsnewhttpconnection.cpp \
|
||||
qgsoptions.cpp \
|
||||
qgspastetransformations.cpp \
|
||||
qgspatterndialog.cpp \
|
||||
qgspluginmanager.cpp \
|
||||
qgspluginmetadata.cpp \
|
||||
qgspointstylewidget.cpp \
|
||||
qgsproject.cpp \
|
||||
qgsprojectproperties.cpp \
|
||||
qgsrasterlayerproperties.cpp \
|
||||
qgsrunprocess.cpp \
|
||||
qgsserversourceselect.cpp \
|
||||
qgssinglesymrenderer.cpp \
|
||||
qgssisydialog.cpp \
|
||||
qgsspatialrefsys.cpp \
|
||||
qgsuniquevalrenderer.cpp \
|
||||
qgsuvaldialog.cpp \
|
||||
qgsvectorfilewriter.cpp \
|
||||
qgsvectorlayer.cpp \
|
||||
qgsvectorlayerproperties.cpp
|
||||
|
||||
if HAVE_POSTGRESQL
|
||||
postgresHEADERS = qgsdbsourceselect.h \
|
||||
qgsnewconnection.h \
|
||||
qgspgquerybuilder.h
|
||||
|
||||
postgresSOURCES = qgsdbsourceselect.cpp \
|
||||
qgsnewconnection.cpp \
|
||||
qgspgquerybuilder.cpp
|
||||
|
||||
postgresMOC = qgsdbsourceselect.moc.cpp \
|
||||
qgsnewconnection.moc.cpp \
|
||||
qgspgquerybuilder.moc.cpp
|
||||
|
||||
postgresLIBHEADERS = qgspgutil.h
|
||||
postgresLIBSOURCES = qgspgutil.cpp
|
||||
|
||||
libqgis_gui_la_SOURCES += $(postgresSOURCES) $(postgresLIBSOURCES) $(postgresMOC)
|
||||
endif
|
||||
|
||||
AM_YFLAGS = -d
|
||||
|
||||
nodist_libqgis_gui_la_SOURCES = $(libqgis_gui_la_MOC)
|
||||
|
||||
BUILT_SOURCES = $(libqgis_gui_la_MOC) $(qgis_YACC) $(postgresMOC)
|
||||
|
||||
|
||||
libqgis_gui_la_LIBADD = core/libqgis_core.la raster/libqgis_raster.la legend/libqgis_legend.la composer/libqgis_composer.la widgets/projectionselector/libqgsprojectionselector.la $(QT_LDADD) $(GEOS_LDADD) $(GDAL_LDADD) $(PYTHON_LIB) -lsqlite3
|
||||
libqgis_gui_la_LDFLAGS = -version-info $(INTERFACE_VERSION)
|
||||
|
||||
libqgis_gui_la_CXXFLAGS = $(PREFIX) $(PLUGINPATH) $(PKGDATAPATH) $(GDAL_CFLAGS) $(CXXFLAGS) $(EXTRA_CXXFLAGS) $(QT_CXXFLAGS) $(PG_INC) $(DEBUG_QGIS) $(GEOS_CFLAGS) $(PYTHON_INCLUDE_DIR) $(HAVE_PYTHON) -I./ui/ -I./widgets/projectionselector/ -I./legend/ -I./raster/ -I./composer/ -I ./core/
|
||||
|
||||
##
|
||||
## ----------------------------------------------------------------------
|
||||
## additional files that need to be installed go here
|
||||
## ----------------------------------------------------------------------
|
||||
##
|
||||
pkginclude_HEADERS = $(qgisHEADERS)
|
||||
|
||||
pkginclude_dir = $(includedir)/qgis
|
||||
|
||||
|
||||
CLEANFILES = $(BUILT_SOURCES)
|
||||
|
||||
EXTRA_DIST=
|
||||
|
||||
if HAVE_POSTGRESQL
|
||||
|
||||
EXTRA_DIST += $(postgresSOURCES) \
|
||||
$(postgresLIBSOURCES)
|
||||
|
||||
pkginclude_HEADERS += $(postgresHEADERS) \
|
||||
$(postgresLIBHEADERS) \
|
||||
$(libqgisHEADERS)
|
||||
endif
|
||||
# depend on the existence of libqgis_gui.
|
||||
# gui *must* be specified immediately before the providers
|
||||
# subdirectory.
|
||||
SUBDIRS = core ui legend raster composer widgets gui providers $(MAC)
|
||||
|
||||
|
@ -53,7 +53,7 @@ libqgis_composer_la_SOURCES = qgscomposer.cpp\
|
||||
libqgis_composer_la_LIBFLAGS = $(QT_LDADD)
|
||||
|
||||
libqgis_composer_la_LDFLAGS = -version-info $(INTERFACE_VERSION)
|
||||
libqgis_composer_la_CXXFLAGS = $(PKGDATAPATH) -I.. -I../ui/ -I../core/ \
|
||||
libqgis_composer_la_CXXFLAGS = $(PKGDATAPATH) -I../gui/ -I../ui/ -I../core/ \
|
||||
$(PREFIX) $(CXXFLAGS) $(EXTRA_CXXFLAGS) \
|
||||
$(GDAL_CFLAGS) $(QT_CXXFLAGS) $(DEBUG_QGIS) $(GEOS_CFLAGS)
|
||||
|
||||
|
@ -164,7 +164,7 @@ BUILT_SOURCES = $(libqgis_core_la_MOC) $(qgis_YACC) $(postgresMOC)
|
||||
libqgis_core_la_LIBADD = $(QT_LDADD) $(GEOS_LDADD) $(GDAL_LDADD) $(PYTHON_LIB) -lsqlite3
|
||||
libqgis_core_la_LDFLAGS = -version-info $(INTERFACE_VERSION)
|
||||
|
||||
libqgis_core_la_CXXFLAGS = $(PREFIX) $(PLUGINPATH) $(PKGDATAPATH) $(GDAL_CFLAGS) $(CXXFLAGS) $(EXTRA_CXXFLAGS) $(QT_CXXFLAGS) $(PG_INC) $(DEBUG_QGIS) $(GEOS_CFLAGS) $(PYTHON_INCLUDE_DIR) $(HAVE_PYTHON) -I../ui/ -I../widgets/projectionselector/ -I../legend/ -I../raster/ -I../composer/ -I../
|
||||
libqgis_core_la_CXXFLAGS = $(PREFIX) $(PLUGINPATH) $(PKGDATAPATH) $(GDAL_CFLAGS) $(CXXFLAGS) $(EXTRA_CXXFLAGS) $(QT_CXXFLAGS) $(PG_INC) $(DEBUG_QGIS) $(GEOS_CFLAGS) $(PYTHON_INCLUDE_DIR) $(HAVE_PYTHON) -I../ui/ -I../widgets/projectionselector/ -I../legend/ -I../raster/ -I../composer/ -I../gui/
|
||||
|
||||
##
|
||||
## ----------------------------------------------------------------------
|
||||
|
@ -25,7 +25,7 @@ qgisdesignerwidgets_la_SOURCES = qgsdesignerwidgets.cpp \
|
||||
|
||||
qgisdesignerwidgets_la_MOC = qgsprojectionselectorplugin.moc.cpp
|
||||
|
||||
projectionselector_la_LIBADD = ../src/libqgis.la $(QT_LDADD)
|
||||
projectionselector_la_LIBADD = ../src/gui/libqgis_gui.la $(QT_LDADD)
|
||||
#qgisdesignerwidgets_la_LIBADD = $(QT_LDADD) ../widgets/projectionselector/libqgsprojectionselector.la
|
||||
qgisdesignerwidgets_la_LDFLAGS = -avoid-version -module
|
||||
qgisdesignerwidgets_la_CXXFLAGS = $(CXXFLAGS) $(EXTRA_CXXFLAGS) $(QT_CXXFLAGS) $(DEBUG_QGIS) -I../ -I../legend
|
||||
qgisdesignerwidgets_la_CXXFLAGS = $(CXXFLAGS) $(EXTRA_CXXFLAGS) $(QT_CXXFLAGS) $(DEBUG_QGIS) -I../gui/ -I../legend
|
||||
|
@ -94,7 +94,7 @@
|
||||
#include "qgshelpviewer.h"
|
||||
#include "qgslegend.h"
|
||||
#include "qgslegendlayerfile.h"
|
||||
#include "legend/qgslegendlayerfile.h"
|
||||
#include "qgslegendlayerfile.h"
|
||||
#include "qgslegendlayer.h"
|
||||
#include "qgsmapcanvas.h"
|
||||
#include "qgsmaplayer.h"
|
||||
@ -118,8 +118,8 @@
|
||||
#include "qgssinglesymrenderer.h"
|
||||
#include "qgsvectorfilewriter.h"
|
||||
#include "qgsvectorlayer.h"
|
||||
#include "../plugins/qgisplugin.h"
|
||||
#include "../images/themes/default/qgis.xpm"
|
||||
#include "../../plugins/qgisplugin.h"
|
||||
#include "../../images/themes/default/qgis.xpm"
|
||||
|
||||
//
|
||||
// Gdal/Ogr includes
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
x
Reference in New Issue
Block a user