[qt] Build improvements and better handling of map settings (#197)
* QMapboxGLSettings functions for changing default options and getting default styles
* [qt] allow to build without widgets and other cmake improvements
* [qt] Install include/mbgl for development
* [qt] library static/shared install+export
* [qt] Add missing mbgl-compiler-options dependency for 'qmapboxgl'
* [qt] Raise CMAKE_OSX_DEPLOYMENT_TARGET from 10.13 to 13.0
* [qt] Add Qt::Sql dependency also to the final library. Build qmapboxgl as OBJECT lib inside QtLocation plugin.
* Remove Qt::Sql dependency from 'qmapboxgl'. Not really needed.
* Set CMake config files path back to ${CMAKE_INSTALL_LIBDIR}/cmake/QMapboxGL/
* [qt] Set CMAKE_OSX_DEPLOYMENT_TARGET only if it is not yet set
* [qt] Support CMake v3.11 and earlier versions
* [qt] Comment out 'iOS_static' from CI until it is fixed.
Co-authored-by: Rinigus <rinigus.git@gmail.com>
This commit is contained in:
12
.github/workflows/qt-ci.yml
vendored
12
.github/workflows/qt-ci.yml
vendored
@@ -38,11 +38,11 @@ jobs:
|
||||
static: ON
|
||||
qt: 5.15.2
|
||||
qt_target: desktop
|
||||
- name: iOS_static
|
||||
os: macos-latest
|
||||
static: ON
|
||||
qt: 5.15.2
|
||||
qt_target: ios
|
||||
# - name: iOS_static
|
||||
# os: macos-latest
|
||||
# static: ON
|
||||
# qt: 5.15.2
|
||||
# qt_target: ios
|
||||
- name: macOS
|
||||
os: macos-latest
|
||||
static: ON
|
||||
@@ -133,7 +133,7 @@ jobs:
|
||||
mkdir build && cd build
|
||||
cmake ../source/ \
|
||||
-DCMAKE_TOOLCHAIN_FILE=../source/platform/ios/platform/ios/toolchain.cmake \
|
||||
-G Xcode \
|
||||
-G XCode \
|
||||
-DPLATFORM=OS64COMBINED \
|
||||
-DDEPLOYMENT_TARGET=12.0 \
|
||||
-DENABLE_BITCODE=ON \
|
||||
|
||||
Reference in New Issue
Block a user