← Back to team overview

ubuntu-sdk-bugs team mailing list archive

[Bug 1215913] Re: QML Extension Library + Tabbed Touch UI needs manual configuration

 

I mark it released, please indicate if Saucy backport is needed.

** Changed in: qtcreator (Ubuntu)
       Status: In Progress => Fix Released

** Changed in: qtcreator (Ubuntu Saucy)
       Status: In Progress => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
SDK bug tracking, which is subscribed to qtcreator in Ubuntu.
https://bugs.launchpad.net/bugs/1215913

Title:
  QML Extension Library + Tabbed Touch UI needs manual configuration

Status in “qtcreator” package in Ubuntu:
  Fix Released
Status in “qtcreator” source package in Saucy:
  Fix Released

Bug description:
  If I start a new project and choose QML Extension Library + Tabbed
  Touch UI, it needs manual configuration to build and run the app.
  Steps to reproduce:

  1. Create a new project in qtcreator, select Ubuntu/QML Extension Library + Tabbed Touch UI
  2. name it testcompiled1
  3. 'Configure Project' dialog pops up. Click 'Configure Project' in lower right

  At this point, I should be able to click the Green triangle in the
  lower left of qtcreator and run the test application. However, I
  cannot because more configuration is needed. Specifically, a shadow
  directory is used for the build but the 'app' directory is not copied
  over into it, and the 'qmldir' is not either. Also, because we are
  importing a module, we must pass -I to qmlscene in the run step.
  Specific steps:

  4. click Projects in the left hand column. This brings up the Build Settings dialog. If not, click 'Build' under 'Desktop' at the top.
  5. In the Build Settings dialog, add a Build Step:
   a) click Add Build Step and choose 'Custom Process Step
   b) set this build step up with the following:
     Command: cp
     Arguments: -a %{sourceDir}/app %{buildDir}
     Working directory: %{buildDir}
  6. In the Build Settings dialog, add another Build Step:
   a) click Add Build Step and choose 'Custom Process Step
   b) set this build step up with the following:
     Command: cp
     Arguments: -f %{sourceDir}/backend/modules/testcompiled1/qmldir %{buildDir}/backend/modules/testcompiled1
     Working directory: %{buildDir}
  7. At the top of the qtcreator window, click 'Run' under 'Desktop'. This shows the 'Run Settings'
  8. Under 'Run', use the following:
     Command: qmlscene
     Arguments: -I backend/modules app/testcompiled1.qml
     Working directory: %{buildDir}

  At this point, you should be able to build and run the program with
  the three big buttons at the lower left (Run, Debug run, Build)
  (though debug run doesn't actually work-- filing another bug)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/qtcreator/+bug/1215913/+subscriptions