Skip to content

Instantly share code, notes, and snippets.

@Phrogz
Created November 16, 2016 23:31
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Phrogz/7a924fa7996c4a836d3d6b3349264c38 to your computer and use it in GitHub Desktop.
Save Phrogz/7a924fa7996c4a836d3d6b3349264c38 to your computer and use it in GitHub Desktop.
index 0dd8c96..b28aebf 100644
--- a/platform/qt/qmlapp/main.cpp
+++ b/platform/qt/qmlapp/main.cpp
@@ -1,5 +1,3 @@
-#include <QMapbox>
-
#include <QGuiApplication>
#include <QIcon>
#include <QQmlApplicationEngine>
@@ -13,10 +11,6 @@ int main(int argc, char *argv[])
app.setWindowIcon(QIcon(":icon.png"));
#endif
- // Exposes the QQuickMapboxGL module so we
- // can do `import QQuickMapboxGL 1.0`.
- QMapbox::registerTypes();
-
QQmlApplicationEngine engine;
engine.load(QUrl(QStringLiteral("qrc:/main.qml")));
--
2.10.2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment