Created
November 16, 2016 23:31
-
-
Save Phrogz/7a924fa7996c4a836d3d6b3349264c38 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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