Commit 83fe2b8f authored by Oswald Buddenhagen's avatar Oswald Buddenhagen
Browse files

fix non-prefix builds


Task-number: QTBUG-52256
Change-Id: I1efc42c6d65516beedacc1d262bac2531f047a67
Reviewed-by: default avatarLiang Qi <liang.qi@qt.io>
Showing with 9 additions and 0 deletions
...@@ -3,3 +3,5 @@ TEMPLATE = aux ...@@ -3,3 +3,5 @@ TEMPLATE = aux
cfg.files = config cfg.files = config
cfg.path = $$[QT_INSTALL_DATA]/qtvirtualkeyboard/lipi_toolkit/projects/alphanumeric cfg.path = $$[QT_INSTALL_DATA]/qtvirtualkeyboard/lipi_toolkit/projects/alphanumeric
INSTALLS += cfg INSTALLS += cfg
!prefix_build: COPIES += cfg
...@@ -3,3 +3,5 @@ TEMPLATE = aux ...@@ -3,3 +3,5 @@ TEMPLATE = aux
cfg.files = config cfg.files = config
cfg.path = $$[QT_INSTALL_DATA]/qtvirtualkeyboard/lipi_toolkit/projects/demonumerals cfg.path = $$[QT_INSTALL_DATA]/qtvirtualkeyboard/lipi_toolkit/projects/demonumerals
INSTALLS += cfg INSTALLS += cfg
!prefix_build: COPIES += cfg
...@@ -3,3 +3,5 @@ TEMPLATE = aux ...@@ -3,3 +3,5 @@ TEMPLATE = aux
cfg.files += lipiengine.cfg cfg.files += lipiengine.cfg
cfg.path = $$[QT_INSTALL_DATA]/qtvirtualkeyboard/lipi_toolkit/projects cfg.path = $$[QT_INSTALL_DATA]/qtvirtualkeyboard/lipi_toolkit/projects
INSTALLS += cfg INSTALLS += cfg
!prefix_build: COPIES += cfg
...@@ -245,6 +245,7 @@ static { ...@@ -245,6 +245,7 @@ static {
hunspell_data.files = 3rdparty/hunspell/data/*.dic 3rdparty/hunspell/data/*.aff hunspell_data.files = 3rdparty/hunspell/data/*.dic 3rdparty/hunspell/data/*.aff
hunspell_data.path = $$DATAPATH/hunspell hunspell_data.path = $$DATAPATH/hunspell
INSTALLS += hunspell_data INSTALLS += hunspell_data
!prefix_build: COPIES += hunspell_data
} else { } else {
error("Hunspell dictionaries are missing! Please copy .dic and .aff" \ error("Hunspell dictionaries are missing! Please copy .dic and .aff" \
"files to src/virtualkeyboard/3rdparty/hunspell/data directory.") "files to src/virtualkeyboard/3rdparty/hunspell/data directory.")
...@@ -272,6 +273,7 @@ pinyin { ...@@ -272,6 +273,7 @@ pinyin {
pinyin_data.files = $$PWD/3rdparty/pinyin/data/dict_pinyin.dat pinyin_data.files = $$PWD/3rdparty/pinyin/data/dict_pinyin.dat
pinyin_data.path = $$DATAPATH/pinyin pinyin_data.path = $$DATAPATH/pinyin
INSTALLS += pinyin_data INSTALLS += pinyin_data
!prefix_build: COPIES += pinyin_data
} }
tcime { tcime {
...@@ -292,6 +294,7 @@ tcime { ...@@ -292,6 +294,7 @@ tcime {
$$PWD/3rdparty/tcime/data/qt/dict_zhuyin.dat $$PWD/3rdparty/tcime/data/qt/dict_zhuyin.dat
tcime_data.path = $$DATAPATH/tcime tcime_data.path = $$DATAPATH/tcime
INSTALLS += tcime_data INSTALLS += tcime_data
!prefix_build: COPIES += tcime_data
} }
hangul { hangul {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment