Uploaded image for project: 'Qt Creator'
  1. Qt Creator
  2. QTCREATORBUG-6112

ReferenceError: Can't find variable: Orientation - Error seen while executing qml based calculator application.

    XMLWordPrintable

Details

    • Bug
    • Resolution: Out of scope
    • P3: Somewhat important
    • None
    • Qt Creator 2.3.1
    • Quick / QML Support
    • Qt Creator 2.3.1
      Based on Qt 4.7.4 (64 bit)

      Built on Sep 13 2011 at 14:43:43

      From revision cdbb6f2cb9

    Description

      qtsdkinstaller-x64-2011-09-14-Ubuntu8.04.4LTS.run - custom installed of this installer with all harmattan components selected.

      Steps:

      1. create a imported qml application from qtcreator

      File - New project - Qt quick application -

      and select qt quick app type as "use a existig qml" - at this stage select the calculator qml application (QtSDK- demos -declarative - ui components - calculator)

      Follow the steps till end.

      2. Compile the project against nokia meego target and execute on qemu.

      Expected outcome:
      When run on qemu , app should be launched with out any errors on qtcreator.
      When qemu is rotated the application should rotate accordingly which is not happening now.

      Attached is the screenshot.

      Acutal outcome:

      Killing remote process(es)...
      Starting remote process ...
      Remote process started.
      file:///opt/myimpcalc/qml/calculator/calculator.qml:64: ReferenceError: Can't find variable: runtime
      file:///opt/myimpcalc/qml/calculator/calculator.qml:150: ReferenceError: Can't find variable: Orientation
      file:///opt/myimpcalc/qml/calculator/calculator.qml:146: ReferenceError: Can't find variable: Orientation
      file:///opt/myimpcalc/qml/calculator/calculator.qml:142: ReferenceError: Can't find variable: Orientation
      Killing remote process(es)...

      Attachments

        1. calculatorqml.png
          570 kB
          Tulasi Punaganti
        2. qmlviewer-qtcreator.png
          299 kB
          Tulasi Punaganti

        Activity

          People

            kkohne Kai Köhne
            tpunagan Tulasi Punaganti
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: