Commit cf950417 authored by Karel Slaný's avatar Karel Slaný

Fixed calling of lrelease from qtcreator on Windows.

parent f71c4a0d
......@@ -63,8 +63,13 @@ SOURCES += qml/*.qml \
qml/pages/*.qml
}
# run LRELEASE to generate the qm files
# Run lrelease to generate the qm files.
qtPrepareTool(LRELEASE, lrelease)
contains(QMAKE_HOST.os, Windows) {
# Remove shell quotes and replace them with system quotes.
LRELEASE=$$replace(LRELEASE, "'", "")
LRELEASE=$$system_quote($$LRELEASE)
}
command = $$LRELEASE mobile-datovka.pro
system($$command)|error("Failed to run: $$command")
......
Markdown is supported
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