Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error: No constructor found for "TapHandler" #448

Open
redstoneleo opened this issue Oct 9, 2019 · 3 comments
Open

Error: No constructor found for "TapHandler" #448

redstoneleo opened this issue Oct 9, 2019 · 3 comments

Comments

@redstoneleo
Copy link

I tested an example from https://doc.qt.io/qt-5/qmlfirststeps.html#handling-user-input

import QtQuick 2.12

Rectangle {
    width: 200
    height: 100
    color: "red"

    Text {
        anchors.centerIn: parent
        text: "Hello, World!"
    }

    TapHandler {
        onTapped: parent.color = "blue"
    }
}

with https://qmlweb.github.io/, but got Error: No constructor found for "TapHandler"
So any way to fix the problem ?

@Plaristote
Copy link
Member

TapHandler (like every other touch-related QML type) has not been implemented yet.
It'll probably be a lot of work, and there's still a lot of basic stuff we need to implement before we start working on tap events.

@wian007
Copy link
Contributor

wian007 commented Nov 9, 2019

I wonder what the minimum browser support should be for this library

@patrickelectric
Copy link

Check: https://patrickelectric.work/qmlonline/
It supports TapHandler

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants