Cordova runtime not installed when creating an HTML5 app template
Bug #1338445 reported by
David Planella
This bug affects 3 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ubuntu HTML5 UI SDK |
Invalid
|
Undecided
|
Alexandre Abreu | ||
qtcreator-plugin-ubuntu |
Fix Released
|
Undecided
|
Alexandre Abreu | ||
qtcreator-plugin-ubuntu (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
When I try to create a new HTML5 app in Qt Creator as a template, it contains the following lines in index.html:
<!-- Cordova platform API access - Uncomment this to have access to the Javascript APIs -->
<!-- <script src="cordova/
However, the cordova/cordova.js file is never copied to the project, making it impossible for app developers to use it.
Related branches
lp:~abreu-alexandre/qtcreator-plugin-ubuntu/add-doc-for-html5-cordova-import
- Zoltan Balogh: Approve
- PS Jenkins bot: Approve (continuous-integration)
- Adnane Belmadiaf (community): Approve
-
Diff: 17 lines (+6/-1)1 file modifiedshare/qtcreator/templates/wizards/ubuntu/html5-simple/www/index.html (+6/-1)
tags: | added: html5-blocker |
Changed in qtcreator-plugin-ubuntu: | |
status: | New → Fix Released |
To post a comment you must log in.
To have the cordova runtime imported locally to your project, in QtC you have to go to:
- Tools > Ubuntu > Add Cordova runtime to Html5 project
I'll add an update to the QtC template to improve the documentation for this since this is far from obvious