summaryrefslogtreecommitdiff
path: root/.qmake.conf
diff options
context:
space:
mode:
authorPaolo Angelelli <paolo.angelelli@qt.io>2018-11-11 14:16:49 +0100
committerPaolo Angelelli <paolo.angelelli@qt.io>2018-11-28 18:45:36 +0000
commitbe0658bfdb37de213f6b54837706aabc2d088d62 (patch)
tree99444eee90e4e69e787289c280218d2474f787aa /.qmake.conf
parent9307404d2dcb0b53d0dfcad6c28677cc2aba4a12 (diff)
downloadqtlocation-be0658bfdb37de213f6b54837706aabc2d088d62.tar.gz
Make tiled renderer and QGeoProjectionWebMercator debuggable
This patch introduces a new macro, QT_LOCATION_DEBUG, that, when fed via qmake command line, changes the scope of some members, adds some extra members and some extra data dumping into these members. In this way external code can inspect the state of the renderer in order to debug it. The patch also moves a few classes into separate files, as well as privately exporting them. Change-Id: I32a042863f78dcd10f94b0b7fe8b90f3fc486891 Reviewed-by: Paolo Angelelli <paolo.angelelli@qt.io>
Diffstat (limited to '.qmake.conf')
-rw-r--r--.qmake.conf5
1 files changed, 5 insertions, 0 deletions
diff --git a/.qmake.conf b/.qmake.conf
index 3566a973..0815e3b5 100644
--- a/.qmake.conf
+++ b/.qmake.conf
@@ -2,3 +2,8 @@ load(qt_build_config)
CONFIG += warning_clean
MODULE_VERSION = 5.12.0
+
+# Adds a way to debug location. The define is needed for multiple subprojects as they
+# include the essential headers.
+# Alternatively, the define can be passed directly to qmake
+# DEFINES+=QT_LOCATION_DEBUG