QML app with C++ plugin (cmake) has wrong import in example code
Bug #1437682 reported by
Cris Dywan
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
qtcreator-plugin-ubuntu (Ubuntu) |
Fix Released
|
High
|
Zoltan Balogh |
Bug Description
Creating a new 'QML app with C++ plugin (cmake)' that is called FOOBAR results in something that doesn't build because the FOOBAR.qml contains a line "import Myapp 1.0" instead of "import FOOBAR 1.0".
Related branches
lp:~bzoltan/qtcreator-plugin-ubuntu/lp_1437682
- PS Jenkins bot: Approve (continuous-integration)
- Ubuntu SDK team: Pending requested
-
Diff: 11 lines (+1/-1)1 file modifiedshare/qtcreator/templates/wizards/ubuntu/backend-app-cmake/app/displayName.qml (+1/-1)
Changed in qtcreator-plugin-ubuntu (Ubuntu): | |
status: | New → Confirmed |
assignee: | nobody → Zoltan Balogh (bzoltan) |
Changed in qtcreator-plugin-ubuntu (Ubuntu): | |
status: | Confirmed → In Progress |
To post a comment you must log in.
The backend is called Myapp, that is why it imports that one. The project is called FOOBAR, but the app is called myapp as you left it on default in the project creation wizard.
For me the template project builds fine.