Skip to content

Commit be39fc0

Browse files
committed
Merge branch 'master' into release
2 parents 3a3f4e4 + 73398c2 commit be39fc0

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

72 files changed

+1512
-879
lines changed

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ endif()
2929

3030
# Project declaration
3131

32-
project(Mapper VERSION 0.8.3 LANGUAGES CXX C)
32+
project(Mapper VERSION 0.8.4 LANGUAGES CXX C)
3333

3434
if(Mapper_VERSION_DISPLAY)
3535
message(STATUS "Custom version display string: \"${Mapper_VERSION_DISPLAY}\"")

android/AndroidManifest.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<?xml version="1.0"?>
2-
<manifest xmlns:android="http://schemas.android.com/apk/res/android" android:versionName="0.8.3" android:versionCode="803" package="org.openorienteering.mapper" android:installLocation="auto">
2+
<manifest xmlns:android="http://schemas.android.com/apk/res/android" android:versionName="0.8.4" android:versionCode="804" package="org.openorienteering.mapper" android:installLocation="auto">
33
<application android:name="org.qtproject.qt5.android.bindings.QtApplication" android:label="@string/long_app_name" android:icon="@drawable/icon">
44
<activity android:configChanges="orientation|uiMode|screenLayout|screenSize|smallestScreenSize|locale|fontScale|keyboard|keyboardHidden|navigation"
55
android:name="org.openorienteering.mapper.MapperActivity"

android/Mapper.pro.in

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,11 @@ CONFIG(debug, release|debug) {
4141
}
4242

4343

44+
versionAtLeast(QT_VERSION, 5.12) {
45+
system(sed -i -e $$shell_quote(s/minSdkVersion=\"[0-9]*\"/minSdkVersion=\"16\"/) "$$ANDROID_PACKAGE_SOURCE_DIR/AndroidManifest.xml")
46+
}
47+
48+
4449
# Additional configuration from packaging/custom_install.cmake
4550
include(mapper_libs.pri)
4651

doc/manual/CMakeLists.txt

Lines changed: 13 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -136,19 +136,26 @@ if(Mapper_MANUAL_QTHELP)
136136
# Qt Help generation
137137
#
138138

139+
find_package(Qt5Core 5.3 REQUIRED)
140+
if (Qt5Core_VERSION VERSION_LESS 5.12)
141+
set(qcollectiongenerator_name qcollectiongenerator)
142+
else()
143+
set(qcollectiongenerator_name qhelpgenerator)
144+
endif()
145+
139146
# Qt provides a broken Qt5::qcollectiongenerator when crosscompiling.
140147
if (CMAKE_CROSSCOMPILING AND NOT TARGET Qt5::qcollectiongenerator)
141148
find_program(Qt5Help_QCOLLECTIONGENERATOR_EXECUTABLE
142-
NAMES qcollectiongenerator-qt5 qcollectiongenerator
143-
DOC "The path of the Qt Assistant executable"
149+
NAMES ${qcollectiongenerator_name}-qt5 ${qcollectiongenerator_name}
150+
DOC "The path of the Qt Help collection generator executable"
144151
)
145-
add_executable(Qt5::qcollectiongenerator IMPORTED)
146-
set_target_properties(Qt5::qcollectiongenerator PROPERTIES
152+
add_executable(Qt5::${qcollectiongenerator_name} IMPORTED)
153+
set_target_properties(Qt5::${qcollectiongenerator_name} PROPERTIES
147154
IMPORTED_LOCATION ${Qt5Help_QCOLLECTIONGENERATOR_EXECUTABLE}
148155
)
149156
elseif(NOT Qt5Help_QCOLLECTIONGENERATOR_EXECUTABLE)
150157
find_package(Qt5Help REQUIRED)
151-
set(Qt5Help_QCOLLECTIONGENERATOR_EXECUTABLE Qt5::qcollectiongenerator)
158+
set(Qt5Help_QCOLLECTIONGENERATOR_EXECUTABLE Qt5::${qcollectiongenerator_name})
152159
endif()
153160

154161
# Reproducible builds need a modifications to the help collection file.
@@ -265,3 +272,4 @@ if(Mapper_MANUAL_PDF)
265272
DESTINATION "${MAPPER_ABOUT_DESTINATION}"
266273
)
267274
endif()
275+

examples/complete map.omap

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4899,7 +4899,7 @@ do not assume any liability!</text></object>
48994899
</templates>
49004900
<view>
49014901
<grid color="#646464" display="0" alignment="0" additional_rotation="0" unit="1" h_spacing="5" v_spacing="5" h_offset="0" v_offset="0"/>
4902-
<map_view zoom="0.707107" rotation="0" position_x="-2902" position_y="-1183"><map opacity="1" visible="true"/><templates hidden="true" count="0"/></map_view>
4902+
<map_view zoom="0.707107" position_x="-2902" position_y="-1183"><map opacity="1" visible="true"/><templates hidden="true" count="0"/></map_view>
49034903
</view>
49044904
<print scale="4000" resolution="300" simulate_overprinting="true" mode="raster"><page_format paper_size="A4" orientation="portrait" h_overlap="5.00" v_overlap="5.00"><dimensions width="210.000" height="297.000"/><page_rect left="4.230" top="3.530" width="201.540" height="289.940"/></page_format><print_area left="-103.672" top="-146.153" width="201.540" height="289.940" center_area="true" single_page="true"/></print>
49054905
</barrier>

examples/forest sample.omap

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -743,7 +743,7 @@ The purple line will extend a bit into the finish symbol. This is a shortcoming
743743
</templates>
744744
<view>
745745
<grid color="#646464" display="0" alignment="0" additional_rotation="0" unit="1" h_spacing="500" v_spacing="500" h_offset="0" v_offset="0" snapping_enabled="true"/>
746-
<map_view zoom="2" rotation="0" position_x="94442" position_y="62930" overprinting_simulation_enabled="true"><map opacity="1" visible="true"/><templates count="0"/></map_view>
746+
<map_view zoom="2" position_x="94442" position_y="62930" overprinting_simulation_enabled="true"><map opacity="1" visible="true"/><templates count="0"/></map_view>
747747
</view>
748748
<print scale="10000" resolution="600" simulate_overprinting="true" mode="raster"><page_format paper_size="Custom" orientation="portrait" h_overlap="5.00" v_overlap="5.00"><dimensions width="110.000" height="110.000"/><page_rect left="0.000" top="0.000" width="110.000" height="110.000"/></page_format><print_area left="59.639" top="18.763" width="74.685" height="65.687" center_area="true"/></print>
749749
</barrier>

examples/overprinting.omap

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -231,7 +231,7 @@ overprinting preview.</text></object>
231231
</templates>
232232
<view>
233233
<grid color="#646464" display="0" alignment="0" additional_rotation="0" unit="1" h_spacing="500" v_spacing="500" h_offset="0" v_offset="0" snapping_enabled="true"/>
234-
<map_view zoom="4" rotation="0" position_x="-25283" position_y="-43762" overprinting_simulation_enabled="true"><map opacity="1" visible="true"/><templates count="0"/></map_view>
234+
<map_view zoom="4" position_x="-25283" position_y="-43762" overprinting_simulation_enabled="true"><map opacity="1" visible="true"/><templates count="0"/></map_view>
235235
</view>
236236
<print scale="15000" resolution="600" simulate_overprinting="true" mode="raster"><page_format paper_size="Custom" orientation="portrait" h_overlap="5.00" v_overlap="5.00"><dimensions width="110.000" height="110.000"/><page_rect left="0.000" top="0.000" width="110.000" height="110.000"/></page_format><print_area left="-80.283" top="-98.762" width="110.000" height="110.000" center_area="true"/></print>
237237
</barrier>

examples/src/complete map.xmap

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74838,7 +74838,7 @@ do not assume any liability!</text>
7483874838
</templates>
7483974839
<view>
7484074840
<grid color="#646464" display="0" alignment="0" additional_rotation="0" unit="1" h_spacing="5" v_spacing="5" h_offset="0" v_offset="0"/>
74841-
<map_view zoom="0.707107" rotation="0" position_x="-2902" position_y="-1183">
74841+
<map_view zoom="0.707107" position_x="-2902" position_y="-1183">
7484274842
<map opacity="1" visible="true"/>
7484374843
<templates hidden="true" count="0"/>
7484474844
</map_view>

examples/src/forest sample.xmap

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20484,7 +20484,7 @@ The purple line will extend a bit into the finish symbol. This is a shortcoming
2048420484
</templates>
2048520485
<view>
2048620486
<grid color="#646464" display="0" alignment="0" additional_rotation="0" unit="1" h_spacing="500" v_spacing="500" h_offset="0" v_offset="0" snapping_enabled="true"/>
20487-
<map_view zoom="2" rotation="0" position_x="94442" position_y="62930" overprinting_simulation_enabled="true">
20487+
<map_view zoom="2" position_x="94442" position_y="62930" overprinting_simulation_enabled="true">
2048820488
<map opacity="1" visible="true"/>
2048920489
<templates count="0"/>
2049020490
</map_view>

examples/src/overprinting.xmap

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7105,7 +7105,7 @@ overprinting preview.</text>
71057105
</templates>
71067106
<view>
71077107
<grid color="#646464" display="0" alignment="0" additional_rotation="0" unit="1" h_spacing="500" v_spacing="500" h_offset="0" v_offset="0" snapping_enabled="true"/>
7108-
<map_view zoom="4" rotation="0" position_x="-25283" position_y="-43762" overprinting_simulation_enabled="true">
7108+
<map_view zoom="4" position_x="-25283" position_y="-43762" overprinting_simulation_enabled="true">
71097109
<map opacity="1" visible="true"/>
71107110
<templates count="0"/>
71117111
</map_view>

0 commit comments

Comments
 (0)