Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QML and Qt Quick
  4. Which version of qt has qml with toucharea support?
Forum Updated to NodeBB v4.3 + New Features

Which version of qt has qml with toucharea support?

Scheduled Pinned Locked Moved QML and Qt Quick
11 Posts 3 Posters 5.2k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • Y Offline
    Y Offline
    ytbryan
    wrote on last edited by
    #1

    Hi all

    which version of qt has qml with toucharea support?

    1 Reply Last reply
    0
    • T Offline
      T Offline
      TobbY
      wrote on last edited by
      #2

      "Qt 4.7 have, you will find it here...":http://labs.qt.nokia.com/2011/02/08/a-toucharea-for-qml/

      1 Reply Last reply
      0
      • T Offline
        T Offline
        thisisbhaskar
        wrote on last edited by
        #3

        [quote author="ytbryan" date="1310459246"]Hi all

        which version of qt has qml with toucharea support? [/quote]

        According to "this post":http://labs.qt.nokia.com/2011/02/08/a-toucharea-for-qml/ , its supported in latest Qt 4.7 and toucharea has to be built separately as a QML plugin.

        1 Reply Last reply
        0
        • T Offline
          T Offline
          TobbY
          wrote on last edited by
          #4

          "Example of QML toucharea":http://qt.gitorious.org/qt-labs/qml-toucharea

          1 Reply Last reply
          0
          • Y Offline
            Y Offline
            ytbryan
            wrote on last edited by
            #5

            Hi all,

            Thanks for the reply.

            But when i run TouchArea.pro in the example but got
            :-1: error: [imports\Qt\labs\toucharea\qmltouchareaplugind.dll] Error 1

            Is there any instruction on how to integrate TouchArea into a current project? I cannot find TouchArea in the latest 4.7.3 thou.

            /bryan

            1 Reply Last reply
            0
            • T Offline
              T Offline
              thisisbhaskar
              wrote on last edited by
              #6

              Ok.. Did little bit of RnD and this is how it works.

              if you are importing a component as
              @import Qt.labs.TouchArea 1.0@

              You should have dir structure /Qt/labs/TouchArea under dir QtSDK1.1.2\Simulator\Qt\mingw\imports

              And /Qt/labs/TouchArea should have your TouchArea dlls and a file named qmldir with below text in it
              @plugin qmltouchareaplugin@

              To get the above effect, do below things

              1. you get the code from http://qt.gitorious.org/qt-labs/qml-toucharea

              2. hen copy project TouchArea in to path "QtSDK1.1.2\Simulator\Qt\mingw\imports\Qt\labs"

              3. import TouchArea\TouchArea.pro in to your QtCreator. In your Projects tab of QtCreator, select the build directory to QtSDK1.1.2\Simulator\Qt\mingw and now build it.

              At this point you should qmltouchareaplugind.dll in your QtSDK1.1.2\Simulator\Qt\mingw\imports\Qt\labs\TouchArea

              if you have it, then you are ready to start.

              Just do
              @import Qt.labs.TouchArea 1.0@
              and you can start using TouchArea in your project.

              More information about general process to make a module at at http://doc.qt.nokia.com/4.7-snapshot/qdeclarativemodules.html

              1 Reply Last reply
              0
              • Y Offline
                Y Offline
                ytbryan
                wrote on last edited by
                #7

                Hi Vijay,

                Thanks. I got the dll. However, the qtcreator still doesn't recognise "import Qt.labs.TouchArea 1.0"

                Can I build and use this on a Desktop? Because it seems to be built for Simulator? I tried to run it on the Desktop Directory but doesn't build well.

                /bryan

                1 Reply Last reply
                0
                • T Offline
                  T Offline
                  thisisbhaskar
                  wrote on last edited by
                  #8

                  Are you running it on Simulator or desktop??

                  1 Reply Last reply
                  0
                  • T Offline
                    T Offline
                    thisisbhaskar
                    wrote on last edited by
                    #9

                    And one more thing.. where is your .dll created. Can you give me the full path of your .dll.
                    This dll should be under QtSDK1.1.2\Simulator\Qt\mingw\imports\Qt\labs\TouchArea

                    1 Reply Last reply
                    0
                    • Y Offline
                      Y Offline
                      ytbryan
                      wrote on last edited by
                      #10

                      Hi,

                      Yes for desktop and the dll path.

                      C:\QtSDK\Simulator\Qt\mingw\imports\Qt\labs\TouchArea\qmltouchareaplugind.dll

                      1 Reply Last reply
                      0
                      • Y Offline
                        Y Offline
                        ytbryan
                        wrote on last edited by
                        #11

                        ok i found the error

                        EDITED:
                        @c:/qtsdk/symbian/sdks/symbian1qt473/mkspecs/symbian-abld/qmake.conf(8): 'option' is not a recognized test function
                        c:/qtsdk/symbian/sdks/symbian3qt473/mkspecs/symbian-sbsv2/qmake.conf(8): 'option' is not a recognized test function
                        Type dump of QML plugin in C:/QtSDK/Desktop/Qt/4.7.3/mingw/imports/Qt/labs/toucharea failed.
                        Errors:
                        Processing object QDeclarativeTextInput
                        Processing property parent
                        Processing property effect
                        Processing property parent
                        Processing property anchors
                        Processing object QDeclarativeAnchors
                        Processing property fill
                        Processing property centerIn
                        Processing property cursorDelegate
                        Processing property validator
                        Processing object QDeclarativeMouseArea
                        Processing property parent
                        Processing property effect
                        Processing property parent
                        Processing property anchors
                        Processing property drag
                        Processing object QDoubleValidator
                        Processing object QDeclarativeGrid
                        Processing property parent
                        Processing property effect
                        Processing property parent
                        Processing property anchors
                        Processing property move
                        Processing property add

                        .....

                        Processing property parent
                        Processing property effect
                        Processing property parent
                        Processing property anchors
                        Processing property move
                        Processing property add
                        Processing object QDeclarativeXmlListModel
                        QDeclarativeComponent: Component is not ready
                        Could not create "Easing" : "file:///C:/QtSDK/Desktop/Qt/4.7.3/mingw/imports/typeinstance.qml:2 Element is not creatable.
                        "
                        Processing object QDeclarativeRectangle
                        Processing property parent
                        Processing property effect
                        Processing property parent
                        Processing property anchors
                        Processing property gradient
                        Processing property border
                        Processing object QDeclarativeScriptAction
                        QDeclarativeComponent: Component is not ready
                        Could not create "Font" : "file:///C:/QtSDK/Desktop/Qt/4.7.3/mingw/imports/typeinstance.qml:2 Element is not creatable.
                        "
                        Processing object QDeclarativeColorAnimation
                        Processing property target
                        Processing object QGraphicsScale
                        QDeclarativeComponent: Component is not ready
                        Could not create "Animation" : "file:///C:/QtSDK/Desktop/Qt/4.7.3/mingw/imports/typeinstance.qml:2 Animation is an abstract class
                        "
                        Processing object QDeclarativeListModel
                        Processing object QDeclarativeFlipable
                        Processing property parent
                        Processing property effect
                        Processing property parent
                        Processing property anchors
                        Processing property front
                        Processing property back
                        Processing object QDeclarativePackage
                        Processing object QDeclarativePropertyAnimation
                        Processing property target
                        QDeclarativeComponent: Component is not ready
                        Could not create "Keys" : "file:///C:/QtSDK/Desktop/Qt/4.7.3/mingw/imports/typeinstance.qml:2 Keys is only available via attached properties
                        "
                        Processing object QDeclarativeParallelAnimation
                        Processing object QDeclarativeColumn
                        Processing property parent
                        Processing property effect
                        Processing property parent
                        Processing property anchors
                        Processing property move
                        Processing property add
                        Processing object QDeclarativeFontLoader
                        Processing object QDeclarativePathView
                        Processing property parent
                        Processing property effect
                        Processing property parent
                        Processing property anchors
                        Processing property path
                        Processing property highlight
                        Processing property highlightItem
                        Processing property delegate
                        QDeclarativeComponent: Component is not ready
                        Could not create "KeyNavigation" : "file:///C:/QtSDK/Desktop/Qt/4.7.3/mingw/imports/typeinstance.qml:2 KeyNavigation is only available via attached properties
                        "
                        Processing object QDeclarativeAnchorAnimation
                        Processing object QDeclarativeColorAnimation
                        Processing property target
                        Processing object QDeclarativeTimer
                        Processing property parent
                        Processing object QDeclarativePathPercent
                        Processing object QDeclarativeRepeater
                        Processing property parent
                        Processing property effect
                        Processing property parent
                        Processing property anchors
                        Processing property delegate
                        QDeclarativeComponent: Component is not ready
                        "file:///C:/QtSDK/Desktop/Qt/4.7.3/mingw/imports/typelist.qml:2:1: cannot load module "Qt.labs.toucharea": File name case mismatch for "C:/QtSDK/Desktop/Qt/4.7.3/mingw/imports/Qt/labs/toucharea/qmldir""
                        @

                        1 Reply Last reply
                        0

                        • Login

                        • Login or register to search.
                        • First post
                          Last post
                        0
                        • Categories
                        • Recent
                        • Tags
                        • Popular
                        • Users
                        • Groups
                        • Search
                        • Get Qt Extensions
                        • Unsolved