5/3/2023 0 Comments Mapbox vs maptiler![]() However, this can be solved by switching to WebView module ![]() On some platforms, we cannot use Chromium in our application.Embedding web browser will always cause significant performance loss in Qt Applications.The most straightforward complete solution.See the main.cpp file below: #include #include #include #include int main(int argc, char *argv) Now, you should see our demo application with three tabs: each tab consists of a different map viewer. Qt will now parse the project and prepare build files.Īfter the process is finished, you can run the demo application simply by pressing the Run button in the bottom left corner. Qt Creator will now ask you to select the correct Qt Development kit: select Qt 5.12 and proceed. Įxtract the repository and open MaptilerQML.pro using QtCreator. Setting up MapTiler demo projectĪfter successful Qt Creator installation, clone or zip/tar download our demo repository located at. If you are using Windows, please note that as of Qt 5.12.1, Mapbox GL plugin used in this tutorial is available in MinGW only. Linux requires valid GCC installation.Īlso, uncheck Android and select Sources and all other submodules. I would recommend using native MSVC 2017, which you can download as part of build tools from the Microsoft website. It is GCC on Linux/macOS, on Windows you can choose between MinGW and MSVC. Depending on your platform, you have to select the correct build environment. Open the installer and install Qt 5.12 with the latest Qt Creator. Go to, select OpenSource and download the online installer for your platform. First, you have to install Qt Framework with dev tools on your workspace.
0 Comments
Leave a Reply. |