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. QQuickView reimplement mouse event does not work on Windows Phone 8
Forum Updated to NodeBB v4.3 + New Features

QQuickView reimplement mouse event does not work on Windows Phone 8

Scheduled Pinned Locked Moved QML and Qt Quick
qquickviewqquickwindow
1 Posts 1 Posters 776 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.
  • L Offline
    L Offline
    lemta2000
    wrote on 18 Jun 2015, 08:49 last edited by
    #1

    Hello everyone,
    I'm trying custom qquickview and reimplement mouse press event. On the Desktop 8.1 (winrt) that is ok, but on the windows phone 8.1 it does't work, nothing happen when press on screen. Here is code:
    class QQuickViewEx : public QQuickView
    {
    Q_OBJECT
    public:
    QQuickViewEx(QWindow *parent = 0);
    virtual ~QQuickViewEx();

    public:
    virtual void mousePressEvent(QMouseEvent *)
    {
    QMessageBox::information( 0, "info", "Pressed",QMessageBox::Ok); //OK on desktop, nothing on WP
    }
    }

    I'm using qt 5.4.1 for winrt.
    Anyone know reason for this? Thanks!

    1 Reply Last reply
    0

    1/1

    18 Jun 2015, 08:49

    • Login

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