Details
-
Bug
-
Resolution: Fixed
-
P2: Important
-
6.7.0
-
None
-
PySide6 on Windows 11
-
9b7843457 (dev), e0689651d (6.7), 4937f983b (tqtc/lts-6.5)
Description
Calling `pyside6-project qmllint` automatically generates type and `qmldir` files for classes to be registered with QML.
However, it ultimately fails when running on Windows as the paths get passed to `pyside6-qmllint` with Windows-style \ separators, but `importQmlDirs` (see qtdeclarative/src/qmlcompiler/qqmljsimporter.cpp at dev ยท qt/qtdeclarative (github.com)) requires the file to end in `/qmldir` (with a forward slash).
Manually re-running the command but replacing that final \ with a / causes the command to work without issue, but this prevents using `pyside6-project` as recommended.
EDIT: Fixed typo, `/qmllint` -> `/qmldir`