Reputation: 2530
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?
Upvotes: 5
Views: 2386
Reputation: 76775
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.
Upvotes: 5
Reputation: 1280
In Qt Creator:
application/x-qt.ui+qml
;Upvotes: 7