Details
-
Bug
-
Resolution: Duplicate
-
Not Evaluated
-
Qt Creator 4.3.0-rc1
-
Ubuntu 16.04 LTS 64 bit
Description
- Create a new Qt Quick Application project using defaults.
- Show the Projects view.
- If needed, expand the project tree.
- In the project's file main.qml, right-click on "MainForm".
- From the context menu, select "Refactoring" -> " Move Component into Separate File".
A dialog shows up. - Click "OK".
The file "MyComponent.qml" will be created and added to the qrc file, but it will not be shown in the Projects view. - Close the project.
- Open the project again.
Now "MyComponent.qml" will be shown in the Projects view.
The Projects view should always show the files contained in the qrc-file. In Creator 4.2 this used to work correctly.
Found by Squish test tst_QMLS04.
Attachments
Issue Links
- relates to
-
QTCREATORBUG-17963 Adding new (QML) files to a .qrc does not work
- Closed
-
QTCREATORBUG-17847 [REG 4.2 -> 4.3] QML files disappear from Projects view when refactoring
- Closed
-
QTCREATORBUG-17930 ProjectExplorer: Add files to qrc is broken
- Closed