Commit dcd71423 authored by Sveinung Kvilhaugsvik's avatar Sveinung Kvilhaugsvik Committed by Sveinung Kvilhaugsvik

Build: Don't assume that the xmlpatterns command is available.

The xmlpatterns command line tool is required when Qt 5 is used.

Task-number: QTCREATORBUG-11768
Change-Id: I7946a35ba66ccfcc44d732a0da2ac836a9640647
Reviewed-by: default avatarKai Koehne <kai.koehne@digia.com>
Reviewed-by: default avatarOswald Buddenhagen <oswald.buddenhagen@digia.com>
Reviewed-by: default avatarEike Ziller <eike.ziller@digia.com>
parent 5830cb0b
......@@ -118,6 +118,8 @@ greaterThan(QT_MAJOR_VERSION, 4) {
# Qt 5's plugin system by running a XSLT sheet on the
# pluginspec file before moc runs.
XMLPATTERNS = $$targetPath($$[QT_INSTALL_BINS]/xmlpatterns)
!exists($$XMLPATTERNS): \
error("Cannot find the Qt command line tool 'xmlpatterns'!")
pluginspec2json.name = Create Qt 5 plugin json file
pluginspec2json.input = PLUGINSPEC
......
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