Details
-
Bug
-
Resolution: Unresolved
-
Not Evaluated
-
None
-
Qt Creator 14.0.0
-
None
-
Ubuntu 22.04
Description
I upgraded Qt Creator from 13.0.0 to 14.0.0 and now I cannot run qmlformat from Qt 6.5.5 SDK anymore on file save:
`Error in text formatting: Failed to format: The command "/home/*/Qt6.5.5/6.5.5/gcc_64/bin/qmlformat --inplace /tmp/QtCreator-rXyPtj/qtc_beautifier_klYNDWhd.qml terminated abnormally.."`
This happens for all of my QML files, so apparently there is something fundamentally broken in those temporary files. However, I cannot see what the temporary file contains as it seems that the files get immediately deleted even on an error.
I can run the same qmlformat binary successfully in CLI and the integration with Qt Creator 13.0.0 still works. The QML editor is so broken that it's impossible to use without auto-formatting. Also, the build-in formatter applies a completely different formatting as the SDK formatter, which is annoying (e.g. removes semicolons vs adding semicolons).
Attachments
Issue Links
- relates to
-
QTCREATORBUG-29668 Automatic Formatting on File Save does not read .qmlformat.ini
- Closed