diff options
author | Ulf Hermann <ulf.hermann@qt.io> | 2017-08-17 15:55:54 +0200 |
---|---|---|
committer | Ulf Hermann <ulf.hermann@qt.io> | 2017-08-17 15:01:05 +0000 |
commit | a1dff1a11ad303a1f82f181e6386194de90ec08f (patch) | |
tree | 7379184df019452a83cafa25e261b71f3b7b13cd /examples | |
parent | 5a4550879d30d1897e9b62e4fb73e7392c4182b8 (diff) |
Properly convert URLs to local files in QML state machine loader
toString() doesn't do what we're looking for. "file:" URLs can be
readily converted to local files, "qrc:" URLs can be converted by
prepending a ":" to their path component. All others cannot. In order to
support those, we'd have to extend QScxmlCompiler to accept generic URLs
rather than file names, and then we still might not be able to actually
resolve relative file names from <invoke> tags.
Change-Id: I138318e8abd87e6e097445f77148668439ff980c
Task-number: QTBUG-62178
Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io>
Diffstat (limited to 'examples')
0 files changed, 0 insertions, 0 deletions