Look at the Internet. Qgis C + + Two development environment most of them still stay in the QGIS2.9 version and QT4, it should be three years ago, and most of the use of relwithdebinfo. mode, the personal feeling that pattern is the Qgis development community to learn Qgis code for people to provide a compromise mode, not real application development, and when debugging with this version of a lot of debug information is not displayed, so error is also difficult to determine the cause of the error.
Now the QGIS3 version has been officially released, and the version before 2.9 has changed a lot, whether it is a function or an interface. For example, adding XYZ layer support can directly load TMS maps such as gold, Google, etc., add CAD DWG data support, add 3D Map Support (non-plug-in mode), etc. It can also be said that the function is very powerful, so we keep up with the pace of the times is very necessary.
The main purpose of this article is to demonstrate how the new Qgis two development environment is built and uses the map initialization and layer loading code we provide to demonstrate the effect of the environment.
The Qgis platform version used in this article is a 64-bit compiled version of the 2.99 branch source code downloaded from GitHub. And I have developed two projects and a small product with this version, which can provide the basic development platform for your Qgis two times development. The debug version and release version can be downloaded here (note: No use of relwithdebinfo, although that is the official recommendation of Qgis, but it seems to be recommended for research and learning Qgis people use. It seems that the release of the program will have a strange problem, when debugging with this version of a lot of debug information is not displayed, so error is also difficult to determine the cause of the mistake. )。
Qgis just released the official trial version (QGIS3) I am also compiling, the completion of the release for everyone to use, but this version should not be very stable, it is recommended to use caution first.
QGIS C + + Two development environment (2.99+QT5.7.1+VS2015 Debug Environment), this document includes: Environment construction instruction Document (15 pages), Environment Building tool (VS2015\VSQT plugin), QGIS Two development package, QT environment package file, Qgis third-party library files, test sample programs. This documentation and information can help you build a debug environment that Qgis two times, making debugging and error lookups easier when you write your application.
QGIS C + + Two development environment (2.99+QT5.7.1+VS2015 release environment), the document includes: Environmental building Instructions (15 pages), Environment building tools (VS2015\VSQT plug-in), QGIS two development packages, QT environment packaging files, Qgis third-party library files, test sample programs. This documentation and information can help you build a release environment that Qgis two times, optimize your program for speed and reduce the size of your release program, making your apps faster and smaller.
For details, see: https://user.qzone.qq.com/2665146134/blog/1521197818
QGIS C + + two-time development environment