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. QML and Gestures
QtWS25 Last Chance

QML and Gestures

Scheduled Pinned Locked Moved QML and Qt Quick
9 Posts 4 Posters 6.6k Views
  • 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.
  • 2 Offline
    2 Offline
    2beers
    wrote on last edited by
    #1

    hi I want to build an app using Gestures: "http://doc.qt.nokia.com/4.7/qml-gesturearea.html":http://doc.qt.nokia.com/4.7/qml-gesturearea.html , but it seems that the functions are not included in qt 4.7 . are they gone be included in 4.7.x or should I download and use them externally?

    [edit: fixed link / chetankjain]

    1 Reply Last reply
    0
    • M Offline
      M Offline
      mbrasser
      wrote on last edited by
      #2

      Hi,

      They should be included in 4.7. Can you be more specific about what is going wrong? Looking at the docs, the import statement looks wrong to me -- I think it should be "import Qt.labs.gestures 1.0" (rather than 0.1)

      Regards,
      Michael

      1 Reply Last reply
      0
      • 2 Offline
        2 Offline
        2beers
        wrote on last edited by
        #3

        hi mbrasser. thanks. yes that was the problem 1.0 instead of 0.1

        but now I have a different problem: Qt Creator doesn't recognize the signals such as onTap, onSwipe, etc..

        I don't receive any error but nothing happens. I also tried this "example":http://doc.qt.nokia.com/4.7/declarative-touchinteraction-gestures-experimental-gestures-qml.html

        [edit: fixed link / chetankjain]

        1 Reply Last reply
        0
        • M Offline
          M Offline
          mbrasser
          wrote on last edited by
          #4

          What platform are you using? As a first step, I'd suggest trying some of Qt's non-QML touch/gesture examples, and see whether or not those work for you.

          1 Reply Last reply
          0
          • 2 Offline
            2 Offline
            2beers
            wrote on last edited by
            #5

            [quote author="mbrasser" date="1285204678"]What platform are you using? As a first step, I'd suggest trying some of Qt's non-QML touch/gesture examples, and see whether or not those work for you.[/quote]

            I'm trying to run it in simulator. I can't run the example on simulator using the mouse?

            I have qt 4.7 and qt creator 2.01 . Like I said the creator doesn't recognize onTap,onSwipe signals, it shows me with a red underline.

            All others QML examples are working. at least the ones I tried. :)

            1 Reply Last reply
            0
            • M Offline
              M Offline
              mbrasser
              wrote on last edited by
              #6

              Hi,

              The red underline is due to an incomplete type specification in the file "qml-builtin-types.xml" used by Creator to provide meta information on the QML types.

              Looking at "this suggestion":http://bugreports.qt.nokia.com/browse/QTSIM-77, I'd say gestures aren't yet supported in the simulator.

              Regards,
              Michael

              1 Reply Last reply
              0
              • 2 Offline
                2 Offline
                2beers
                wrote on last edited by
                #7

                thanks mbrasser

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

                  I also like. I tried the N8 but it only recognize ONTAP, onTapAndHold

                  1 Reply Last reply
                  0
                  • N Offline
                    N Offline
                    nesaver
                    wrote on last edited by
                    #9

                    N950 only recognize Ontap, onTapAndHold

                    How the way i can get onPan event ?? Pls help me.

                    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