summaryrefslogtreecommitdiffstats
path: root/src/corelib/configure.json
diff options
context:
space:
mode:
authorSoroush Rabiei <soroush@ametisco.ir>2019-08-08 20:35:13 +0200
committerVolker Hilsheimer <volker.hilsheimer@qt.io>2019-08-22 10:10:02 +0000
commit702664571252e4f5705e39a8258fc81a3fbf37d4 (patch)
tree01abab3715dfe2f5193dc56802c1b0d50870cc0d /src/corelib/configure.json
parenta8cc4cea92bfe4c251458722cbd2e60c49024a2d (diff)
Add support for the Islamic Civil calendar
This has its own locale data, extracted from CLDR. This data may potentially be shared with other variants on the Islamic calendar, so is handled by a separate base-class, QHijriCalendar, on which such variants may base their implementations. [ChangeLog][QtCore][QCalendar] Added support for the Islamic Civil calendar, controlled by feature islamiccivilcalendar, with locale data that can be shared with other implementations, controlled by feature hijricalendar. Fixes: QTBUG-56675 Change-Id: Idf32d3da7034baa8ec5e66ef847e59a8a2f31cbd Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
Diffstat (limited to 'src/corelib/configure.json')
-rw-r--r--src/corelib/configure.json13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/corelib/configure.json b/src/corelib/configure.json
index 2f3d30d5b2..3febb59480 100644
--- a/src/corelib/configure.json
+++ b/src/corelib/configure.json
@@ -1047,6 +1047,19 @@
"section": "Utilities",
"output": [ "publicFeature" ]
},
+ "hijricalendar": {
+ "label": "QHijriCalendar",
+ "purpose": "Generic basis for Islamic calendars, providing shared locale data",
+ "section": "Utilities",
+ "output": [ "privateFeature" ]
+ },
+ "islamiccivilcalendar": {
+ "label": "QIslamicCivilCalendar",
+ "purpose": "Support the Islamic Civil calendar",
+ "section": "Utilities",
+ "condition": "features.hijricalendar",
+ "output": [ "publicFeature" ]
+ },
"timezone": {
"label": "QTimeZone",
"purpose": "Provides support for time-zone handling.",