summaryrefslogtreecommitdiffstats
path: root/cmake/QtPublicPluginHelpers.cmake
diff options
context:
space:
mode:
authorKarsten Heimrich <karsten.heimrich@qt.io>2021-05-18 23:14:25 +0200
committerKarsten Heimrich <karsten.heimrich@qt.io>2021-05-19 21:38:38 +0200
commit06689a2d7a18882535819ed13ac7248c81330529 (patch)
treec99dfe7dec2233ae33caee550704ce65532fb11e /cmake/QtPublicPluginHelpers.cmake
parentf111c376d6535ef8c60a34ddd4682fcfa0f4e2bb (diff)
Fix QUrl::fromLocalFile with long path prefix
After commit 3966b571 the function was kinda broken already, though this got unnoticed since it was not covered by an the auto-test. This commit adds another test case with Windows native separators and removes the use of QDir::fromNativeSeparators. Instead use the original code from QDir::fromNativeSeparators to replace the backslashes. Pick-to: 5.15 6.0 6.1 Change-Id: I190560d0e75cb8c177d63b142aa4be5b01498da2 Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
Diffstat (limited to 'cmake/QtPublicPluginHelpers.cmake')
0 files changed, 0 insertions, 0 deletions