summaryrefslogtreecommitdiff
path: root/platform/qt/src/qt_geojson.cpp
diff options
context:
space:
mode:
authorThiago Marcos P. Santos <tmpsantos@gmail.com>2018-11-12 16:38:34 +0200
committerThiago Marcos P. Santos <tmpsantos@gmail.com>2018-11-13 22:55:26 +0200
commitcd92a231b3e11c65321a48d0167898bb0e5a5fa8 (patch)
treef821513781bee5b9039945489d1fe926c8900a6d /platform/qt/src/qt_geojson.cpp
parentb891a8d6b0dc9e92a283756448b4671bef3da71f (diff)
downloadqtlocation-mapboxgl-cd92a231b3e11c65321a48d0167898bb0e5a5fa8.tar.gz
[qt] Deprecate Qt4 and old versions of Qt5
Not enough adoption to keep the platform alive.
Diffstat (limited to 'platform/qt/src/qt_geojson.cpp')
-rw-r--r--platform/qt/src/qt_geojson.cpp8
1 files changed, 0 insertions, 8 deletions
diff --git a/platform/qt/src/qt_geojson.cpp b/platform/qt/src/qt_geojson.cpp
index 9d0a3e96eb..cd808f016c 100644
--- a/platform/qt/src/qt_geojson.cpp
+++ b/platform/qt/src/qt_geojson.cpp
@@ -79,11 +79,7 @@ mbgl::Value asMapboxGLPropertyValue(const QVariant &value) {
};
switch (value.type()) {
-#if QT_VERSION >= 0x050000
case QMetaType::UnknownType:
-#else
- case QVariant::Invalid:
-#endif
return mbgl::NullValue {};
case QMetaType::Bool:
return { value.toBool() };
@@ -107,11 +103,7 @@ mbgl::Value asMapboxGLPropertyValue(const QVariant &value) {
mbgl::FeatureIdentifier asMapboxGLFeatureIdentifier(const QVariant &id) {
switch (id.type()) {
-#if QT_VERSION >= 0x050000
case QMetaType::UnknownType:
-#else
- case QVariant::Invalid:
-#endif
return {};
case QMetaType::ULongLong:
return { uint64_t(id.toULongLong()) };