273 Commits

Author SHA1 Message Date
Nyall Dawson
a435441239 Add support for generating coverage statistics for tests
Build option ENABLE_COVERAGE must be set. There's also a secondary
option GENERATE_COVERAGE_DOCS which requires lcov and will generate
html docs of unit test coverage.

To generate coverage, first enable the cmake options, then build
QGIS. From the build directory, run "make qgis_coverage".

You can also add command line arguments to "make qgis_coverage" which
are forwarded on to ctest. This allows for skipping failing tests
which prevent generation of coverage docs. This is done by adding
the command line argument CMD_ARGS= to the "make qgis_coverage"
command. Eg,

make qgis_coverage CMD_ARGS="-E \"PalLabeling|LocalServer|AppStartup\"

will skip tests which match the listed expressions.
2014-12-04 07:45:22 +11:00
Juergen E. Fischer
6a1e1bb668 * fix server plugin build on windows
* move src/mapserver to src/server (IMHO better name and in sync with
  python/server)
* rename cmake option WITH_MAPSERVER to WITH_SERVER
* rename define MAPSERVER_HAVE_PYTHON_PLUGINS to HAVE_SERVER_PYTHON_PLUGINS
2014-11-28 16:46:29 +01:00
Juergen E. Fischer
8b65ebdeca don't build server plugins if server isn't built 2014-11-28 12:22:44 +01:00
elpaso
7d428468f2 Enabled by default and removed linked qgispython
Funded by ItOpen - http://www.itopen.it
2014-11-26 16:07:51 +01:00
elpaso
98cab97409 Added python server plugins 2014-11-26 16:02:32 +01:00
Matthias Kuhn
78c519546a Add Qt5 support 2014-11-21 11:45:32 +01:00
Matthias Kuhn
06ea980189 Fix CPack path to README.md 2014-11-17 10:33:14 +01:00
Matthias Kuhn
35286613d2 Add .travis.yml for automated testing 2014-11-14 18:30:27 +01:00
Matthias Kuhn
1c2bdf1ea3 Switch tests to automoc
Required for Qt5 compatibility
Raises minimum CMake version to 2.8.6
2014-11-04 09:18:26 +01:00
Juergen E. Fischer
0bfe8aba56 Bump version to 2.7 2014-10-31 13:00:45 +01:00
Juergen E. Fischer
1691014069 Remove sqlanywhere plugin and provider (implements #10840) 2014-07-08 08:38:29 +02:00
Nyall Dawson
e13e9f7487 Make QScintilla a required dependency 2014-07-07 21:15:41 +10:00
Juergen E. Fischer
747c7ff4a7 Bump version to 2.5 2014-06-27 14:00:55 +02:00
Juergen E. Fischer
e3250c1759 several components require spatialite, make it required (fixes #8797) 2014-06-21 14:13:35 +02:00
Juergen E. Fischer
b6d8331429 fix windows build 2014-06-13 16:41:00 +02:00
Juergen E. Fischer
c1f50db1ac fix warnings 2014-05-29 01:43:04 +02:00
Denis Rouzaud
790b31ef80 set custom widget lib default to false 2014-05-20 08:18:55 +02:00
Juergen E. Fischer
7127e58974 fix customwidgets build on windows 2014-05-19 13:44:21 +02:00
Denis Rouzaud
a5b77b9b0e Merge pull request #1325 from 3nids/qtdesignerplugin
QGIS custom widgets plugins for Qt Designer
2014-05-19 08:30:53 +02:00
Denis Rouzaud
f9d7aef6ea create custom widgets by default 2014-05-19 08:30:09 +02:00
Juergen E. Fischer
25885b8a0c move internal python extensions to common directory and fix metasearch install 2014-05-17 19:27:23 +02:00
Denis Rouzaud
38c694d9ad use specific PyQt4/uic widget-plugins module for python compilation of widgets 2014-05-12 16:28:43 +02:00
Denis Rouzaud
148021ca7e fix CMakeLists 2014-05-12 16:28:42 +02:00
Denis Rouzaud
2cf3e7c5dd custom widgets for Qt Designer, QgsScaleVisibilityGroupBox plugin 2014-05-12 16:28:42 +02:00
Matthias Kuhn
be8ae5fbfb Add new CMake option: WITH_INTERNAL_HTTPLIB (default True)
If set to False, you have to make sure that the httplib2 package
is available on the target platform

Fix #9618
2014-03-11 11:11:26 +01:00
Larry Shaffer
30fff85703 Define QGIS_MACAPP_BUNDLE in qgsconfig.h so resources can be found when QGIS_MACAPP_BUNDLE=0 2014-02-22 15:02:51 -07:00
Juergen E. Fischer
0881750565 Bump version to 2.3 2014-02-22 09:49:29 +01:00
Juergen E. Fischer
3e5ff1f9eb set minimum Qt version to 4.7 and remove #ifdef code depending on prior versions 2013-11-30 10:52:15 +01:00
Juergen E. Fischer
d02e47339b report found Qt version on build 2013-11-14 09:14:18 +01:00
Larry Shaffer
3fce4a5c0a Add extra CXXFLAGS flags set by user; can be -D CXX_EXTRA_FLAGS or environment variable
- Command line -D option overrides environment variable
- Useful for suppressing transient upstream warnings in dependencies, like Qt
2013-09-24 15:42:04 -06:00
Larry Shaffer
546b8d2397 [globe] Fix Mac dependencies so plugin can run from app bundle 2013-09-14 10:04:48 -06:00
Juergen E. Fischer
22512b29bb install qbrowser manpage 2013-09-10 23:20:00 +02:00
Larry Shaffer
1942239049 [Android] Change order of finding QtMobility package so Qt isn't 'found' twice 2013-09-09 17:15:38 -06:00
Juergen E. Fischer
0a1d44fc63 make qgis_app a shared library and fix some more stl warnings with msvc 2013-09-07 00:22:10 +02:00
Tim Sutton
96a1b862b8 Bumped master version to 2.1.0 2013-09-04 22:50:30 +02:00
Larry Shaffer
6e197484ed [pyqgis-console] Fix build error. Revert adding of qsci-pap-master target
- Leave only qsci-pap-src target for updating default pyqgis.pap in source tree
- Mark WITH_QSCIAPI as advanced in CMake, since it mostly a dev function
2013-08-31 14:05:08 -06:00
Larry Shaffer
dc4628599e [pyqgis-console] Add targets and python script for generating console's QScintilla .pap file, for auto-completion
- Run 'make;make qsci-pap-src; make install' to update the default .pap file in source tree
- Run 'make;make qsci-pap-master[; make install]' for local-only .pap that overrides the default .pap (when testing new bindings)
- Update console to override default .pap if master.pap is available
- Include new qgis.core.NULL attribute defined in <src>/python/__init__.py for QPyNullVariant comparisons
- Update 11-month-old default .pap
2013-08-30 13:12:38 -06:00
Juergen E. Fischer
5c80e50f42 raise Qt dependency to 4.5 2013-07-27 16:48:28 +02:00
Juergen E. Fischer
67376d14d9 raise cmake dependency to 2.8 2013-07-21 21:45:20 +02:00
Nathan Woodrow
bb8e47fc84 Change build path.txt to be more unique 2013-06-16 22:45:39 +10:00
Juergen E. Fischer
4d3d678080 introduce MAPSERVER_SKIP_ECW setting to disable ECW support in mapserver 2013-05-22 14:17:12 +02:00
Juergen E. Fischer
65d3535fc5 - Quantum GIS => QGIS update
- integrate PythonConsole help into main translation
- allow referencing QGIS images in context help(viewer)
2013-05-20 16:48:51 +02:00
Juergen E. Fischer
2db0f62de8 spatialite isn't optional anymore (offlineediting, osm):
- remove configuration options
2013-04-07 23:14:25 +02:00
Juergen E. Fischer
82a36f9cbe adjustments to build on cygwin 2013-04-06 18:30:28 +02:00
William Kyngesburye
00c5edf217 always search /Library/Frameworks for linking on OS X in case SDK won't 2013-04-01 16:24:57 -05:00
Larry Shaffer
691322a8eb Disable 'overloaded virtual' warning globally when using clang
- Commit 1145bd2 now causing 200+ 'overloaded virtual' warnings
2013-03-18 15:30:46 -06:00
Larry Shaffer
d7d1ecec1a Revert unnecessary disabling of unknown warnings 2013-03-12 18:07:02 -06:00
Larry Shaffer
28e17159d1 Fix for #7289, add CMake option to enable building with Qt jom (nmake) on Windows
- Can now compile using NMake with jom directly from QtCreator using MSVC compiler (2008) and OSGeo4W devel libs
- Make app capable of running from build directory
- Caveat: may be better way to do it; could have better warning control
2013-03-08 19:57:40 -07:00
Juergen E. Fischer
24ba638af6 Make QSPATIALITE optional, but still include it in osgeo4w and debian package 2013-02-19 20:07:57 +01:00
Larry Shaffer
e33bd25c62 Merge pull request #418 from dakcarto/cmake_stagedplugins-optmz_2
Update stage-installed plugins CMakeLists.txt
2013-02-18 19:01:23 -08:00