Cordova Ubuntu template project lacks required plugins.xml
Bug #1214031 reported by
Víctor R. Ruiz
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
[obsolete] Ubuntu QtCreator Plugins |
Fix Released
|
Critical
|
Alexandre Abreu |
Bug Description
Test case:
- Install Ubuntu SDK, Cordova Ubuntu 2.8 and Qt Creator plugin for Cordova Ubuntu.
- Run the project.
Expected result:
- A window must open and the Cordova application must state "Device Ready".
Actual result:
- The window closes and log says "Critical: Error loading plugins config! The program has unexpectedly finished."
This happens because the project template lacks a required file, plugins.xml, which states the Cordova plugins that must be loaded.
Related branches
lp://staging/~abreu-alexandre/qtcreator-plugin-ubuntu/add-plugins-xml-to-cordova-project
- Alexandre Abreu (community): Approve
- PS Jenkins bot: Approve (continuous-integration)
-
Diff: 61 lines (+46/-0)2 files modifiedshare/qtcreator/templates/wizards/ubuntu/cordovaubuntu/plugins.xml (+43/-0)
share/qtcreator/templates/wizards/ubuntu/projectypes.json (+3/-0)
description: | updated |
tags: | added: cordova |
Changed in ubuntu-qtcreator-plugins: | |
status: | New → In Progress |
Changed in ubuntu-qtcreator-plugins: | |
status: | In Progress → Fix Committed |
To post a comment you must log in.
at least the 0.1-0ubuntu3 version of the qtcreator- plugin- ubuntu- cordova- common fixes this issue:
$ dpkg -l qtcreator- plugin- ubuntu- common| grep ii plugin- ubuntu- common 0.1-0ubuntu3 all Common data files for the Ubuntu plugin for Qt Creator IDE
ii qtcreator-
$ dpkg -L qtcreator- plugin- ubuntu- cordova- common| grep xml qtcreator/ templates/ wizards/ ubuntu/ cordovaubuntu/ plugins. xml
/usr/share/
$ apt-cache policy qtcreator- plugin- ubuntu- cordova- common plugin- ubuntu- cordova- common: fi.archive. ubuntu. com/ubuntu/ saucy/universe i386 Packages dpkg/status
qtcreator-
Installed: 0.1-0ubuntu3
Candidate: 0.1-0ubuntu3
Version table:
*** 0.1-0ubuntu3 0
500 http://
100 /var/lib/