This repository has been archived by the owner on Sep 4, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[libcontacts] Provide decomposeDisplayLabel() function. Contributes t…
…o MER#1379 Some data sources provide a display label (or formatted name) but not structured name data. The qtcontacts-sqlite backend uses structured name data to perform aggregation, and thus it is useful to have the decomposition function provided for clients (e.g., sync plugins). Contributes to MER#1379
- Loading branch information
Chris Adams
committed
Oct 30, 2015
1 parent
8af9c02
commit 9ded8af
Showing
5 changed files
with
110 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -1,5 +1,5 @@ | |||
TEMPLATE = subdirs | TEMPLATE = subdirs | ||
SUBDIRS = src tests | SUBDIRS = src tests translations | ||
OTHER_FILES += rpm/libcontacts-qt5.spec | OTHER_FILES += rpm/libcontacts-qt5.spec | ||
|
|
||
tests.depends = src | tests.depends = src |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -0,0 +1,28 @@ | |||
TEMPLATE = aux | |||
|
|||
TS_FILE = $$OUT_PWD/libcontacts.ts | |||
EE_QM = $$OUT_PWD/libcontacts_eng_en.qm | |||
|
|||
ts.commands += lupdate $$PWD/../src -ts $$TS_FILE | |||
ts.output = $$TS_FILE | |||
ts.input = . | |||
|
|||
ts_install.files = $$TS_FILE | |||
ts_install.path = $$PREFIX/share/translations/source | |||
ts_install.CONFIG += no_check_exist | |||
|
|||
engineering_english.commands += lrelease -idbased $$TS_FILE -qm $$EE_QM | |||
engineering_english.depends = ts | |||
engineering_english.input = $$TS_FILE | |||
engineering_english.output = $$EE_QM | |||
|
|||
TRANSLATIONS_PATH = $$PREFIX/share/translations | |||
engineering_english_install.path = $$TRANSLATIONS_PATH | |||
engineering_english_install.files = $$EE_QM | |||
engineering_english_install.CONFIG += no_check_exist | |||
|
|||
QMAKE_EXTRA_TARGETS += ts engineering_english | |||
PRE_TARGETDEPS += ts engineering_english | |||
DEFINES += TRANSLATIONS_PATH=\"\\\"\"$${TRANSLATIONS_PATH}\"\\\"\" | |||
|
|||
INSTALLS += ts_install engineering_english_install |