In Qt creator whenever you open a ui.qml
file by double clicking or CTRL + TAB the file normally opens in design mode. To see the code, you need to hit ESC to go the text editor. I want that the ui.qml
files should open by default in the editor. How can I do that in settings?
In Qt Creator:
application/x-qt.ui+qml
;If you want to edit .ui.qml
files by hand, don't use .ui.qml
files?
These are made to be edited by the designer and are limited to a small subset of QML because of that.
Just use the normal .qml
extension in this case.
More info on QML UI files here.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With