Details
-
Bug
-
Resolution: Done
-
P1: Critical
-
Qt Creator 3.4.0-beta1
-
Ubuntu 14.04 LTS 64 bit
Qt 5.3.2, 5.4.0
-
4e53c23b4b445af0ce01511305e7991a3c6990a2
Description
- Create a new Qt Quick Application project.
- Open the QML file from the project.
It's being opened in a QmlJSEditor::Internal::QmlJSEditorWidget. Highlighting works correctly. - Open tests/manual/qml/testfiles_quick2/helloworld.qml from Creator's repository.
It's being opened in a CppEditor::Internal::CppEditorWidget. Highlighting does not work.
QML files should always be opened in a QML editor.
Found and tested by Squish test tst_delete_externally and others.
Introduced by self-reviewed commit:
5a3a940ad3b3984b308b539e7f0456ce11d4d90e is the first bad commit commit 5a3a940ad3b3984b308b539e7f0456ce11d4d90e Author: Eike Ziller <eike.ziller@theqtcompany.com> Date: Wed Feb 4 09:32:46 2015 +0100 Use new mime database Change-Id: I4305872b6b11ef3e8a364280ffa5209a5a793600 Reviewed-by: Eike Ziller <eike.ziller@theqtcompany.com>
Attachments
Issue Links
- replaces
-
QTCREATORBUG-14018 MIME-Type: QC opens QML files in CppEditor [Regression]
- Closed
For Gerrit Dashboard: QTCREATORBUG-13994 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
107041,4 | Mime types: Fix that some QML files were opened as C++ | 3.4 | qt-creator/qt-creator | Status: MERGED | +2 | 0 |