Skip to content

Instantly share code, notes, and snippets.

@Phrogz
Created November 16, 2016 23:26
Show Gist options
  • Save Phrogz/5096b53ee08173ee3eca59805e48fe29 to your computer and use it in GitHub Desktop.
Save Phrogz/5096b53ee08173ee3eca59805e48fe29 to your computer and use it in GitHub Desktop.
TEMPLATE = app
QT += qml quick
CONFIG += c++11
SOURCES += main.cpp
RESOURCES += qml.qrc
INSTALL_DIR = $$PWD/../install
target.path = $$INSTALL_DIR
# Copy the QQuickMapboxGL folder to the install directory
plugin.files = QQuickMapboxGL/*
plugin.path = $$INSTALL_DIR/QQuickMapboxGL
INSTALLS += target plugin
# Create directory named `QQuickMapboxGL` and place this `qmldir` file in it
plugin qmapboxgl
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment