Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
mobile Datovka
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
14
Issues
14
List
Boards
Labels
Service Desk
Milestones
Merge Requests
4
Merge Requests
4
Operations
Operations
Incidents
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Datovka projects
mobile Datovka
Commits
bc3a0fdf
Commit
bc3a0fdf
authored
Feb 20, 2018
by
Martin Straka
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Updated host detection in project file
parent
cf950417
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
12 deletions
+12
-12
mobile-datovka.pro
mobile-datovka.pro
+12
-12
No files found.
mobile-datovka.pro
View file @
bc3a0fdf
...
...
@@ -75,26 +75,26 @@ system($$command)|error("Failed to run: $$command")
# Copy translation files at qmake invocation.
win32|winphone|winrt {
message(Copying Qt translation from $$shell_path($$[QT_INSTALL_DATA]).)
message(
Windows:
Copying Qt translation from $$shell_path($$[QT_INSTALL_DATA]).)
system($$QMAKE_COPY $$shell_path($$[QT_INSTALL_DATA])\translations\qtbase_cs.qm res\locale\qtbase_cs.qm)
system($$QMAKE_COPY $$shell_path($$[QT_INSTALL_DATA])\translations\qtbase_en.qm res\locale\qtbase_en.qm)
} else:macx|osx|ios|unix {
message(Copying Qt translation from $$[QT_INSTALL_DATA].)
system($$QMAKE_COPY $$[QT_INSTALL_DATA]/translations/qtbase_cs.qm res/locale/qtbase_cs.qm)
system($$QMAKE_COPY $$[QT_INSTALL_DATA]/translations/qtbase_en.qm res/locale/qtbase_en.qm)
} else:android {
contains(QMAKE_
PLATFORM, win32
) {
message(Copying Qt translation from $$shell_path($$[QT_INSTALL_DATA]).)
contains(QMAKE_
HOST.os, Windows
) {
message(
Windows:
Copying Qt translation from $$shell_path($$[QT_INSTALL_DATA]).)
system($$QMAKE_COPY $$shell_path($$[QT_INSTALL_DATA])\translations\qtbase_cs.qm res\locale\qtbase_cs.qm)
system($$QMAKE_COPY $$shell_path($$[QT_INSTALL_DATA])\translations\qtbase_en.qm res\locale\qtbase_en.qm)
}
contains(QMAKE_
PLATFORM, uni
x) {
message(Copying Qt translation from $$[QT_INSTALL_DATA].)
contains(QMAKE_
HOST.os, Linu
x) {
message(
Unix:
Copying Qt translation from $$[QT_INSTALL_DATA].)
system($$QMAKE_COPY $$[QT_INSTALL_DATA]/translations/qtbase_cs.qm res/locale/qtbase_cs.qm)
system($$QMAKE_COPY $$[QT_INSTALL_DATA]/translations/qtbase_en.qm res/locale/qtbase_en.qm)
}
} else:macx|osx|ios|unix {
message(Unix: Copying Qt translation from $$[QT_INSTALL_DATA].)
system($$QMAKE_COPY $$[QT_INSTALL_DATA]/translations/qtbase_cs.qm res/locale/qtbase_cs.qm)
system($$QMAKE_COPY $$[QT_INSTALL_DATA]/translations/qtbase_en.qm res/locale/qtbase_en.qm)
} else {
message(For this target you must copy Qt translation (qtbase_cs.qm) from $$[QT_INSTALL_DATA]/translations/.)
message(
Error:
For this target you must copy Qt translation (qtbase_cs.qm) from $$[QT_INSTALL_DATA]/translations/.)
}
TRANSLATIONS_FILES += \
...
...
@@ -256,10 +256,10 @@ ios: include(ios/ios.pri)
# android target.
android {
contains(QMAKE_
PLATFORM, win32
) {
contains(QMAKE_
HOST.os, Windows
) {
system(sed.exe -e "s/@VERSION@/$${VERSION}/g" "android/AndroidManifest.tmp" > "android/AndroidManifest.xml")
}
contains(QMAKE_
PLATFORM, uni
x) {
contains(QMAKE_
HOST.os, Linu
x) {
system(sed -e "s/@VERSION@/$${VERSION}/g" "android/AndroidManifest.tmp" > "android/AndroidManifest.xml")
}
ANDROID_PACKAGE_SOURCE_DIR = $$PWD/android
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment