284 Commits

Author SHA1 Message Date
Nyall Dawson
34d5394409 Enable coverage reports for Travis builds
Changes required:
- switch Travis builds to gcc, using O0 for build speed
- enable a debug build
- enable coverage report for ctest on Travis (sent to dash)
2015-01-28 14:36:48 +11:00
Matthias Kuhn
3752be6678 Make QwtPolar optional 2015-01-21 15:56:07 +01:00
Juergen E. Fischer
313f2c8de0 OVERRIDE macro breaks globeplugin (OVERRIDE is an enum value in OpenSceneGraph)
replace 'OVERRIDE' macro with 'override' keyword in code and define it an empty
macro where C++11 is not available (followup 466f2563efd)
2015-01-16 08:22:52 +01:00
Nyall Dawson
db9fc098c7 Disable deprecated register warning/error for clang, breaks Travis build 2015-01-14 19:39:07 +11:00
Nyall Dawson
34b10e59c2 Enable -Wno-error=c++11-narrowing for clang builds
...until underlying issues are fixed
2015-01-14 19:38:46 +11:00
Nyall Dawson
466f2563ef Add OVERRIDE macro, allows "override" keyword when c++11 is available
...and no errors when compiler is not capable of c++11 builds.
2015-01-14 19:38:21 +11:00
Denis Rouzaud
d8acc55a49 Fix Qt5 build for custom widgets 2015-01-06 17:03:27 +01:00
Matthias Kuhn
664efe9d5b Print version when building with Qt5 2015-01-06 09:01:57 +01:00
Juergen E. Fischer
841af773e3 remove (outdated) internal spatialite 2015-01-04 16:18:01 +01:00
Larry Shaffer
a4aaff5d53 Fix CMake policy warnings/changes introduced in 3.0.0 and higher 2014-12-22 17:06:13 -07:00
Sandro Santilli
98e8f03662 Add ENABLE_MODELTEST cmake variable/define, default to false 2014-12-19 15:00:59 +01:00
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