Important: Please read the Qt Code of Conduct -

Both Touch & Mouse not working properly with QTimer.

  • Dear friends,

    If i run the QTimer in my program when touch screen is enabled, its running fine.

    But If i run the QTimer in my program when mouse is enabled or mouse & touch enabled, its only running the timer for every mouse move.unless it's idle.

    what is the problem?what is the relation with QTimer & Mouse event?

  • Lifetime Qt Champion


    You need to provide more information: What OS/Qt Version/Platform ? etc...

  • Hi,
    OS-Embededd Linux
    Qt Version-Qt 4.6.1
    IDE-Eclipse with Qt C++ Eclipse Integration(Version: 1.6.1)

  • For touch i use,

    @export TSLIB_TSDEVICE="/dev/input/ts0"
    export QWS_MOUSE_PROTO="tslib:/dev/input/event0"@

    For mouse i use,

    @export TSLIB_TSDEVICE="/dev/event1"
    export QWS_MOUSE_PROTO="IntelliMouse:/dev/input/mouse1"@

    For both mouse&touch

    @export TSLIB_TSDEVICE=?
    export QWS_MOUSE_PROTO="tslib:/dev/input/event0 IntelliMouse:/dev/input/mouse1"@

    what i need to export in "TSLIB_TSDEVICE" for both mouse&touch.

  • Lifetime Qt Champion

    I don't know if having both input method at the same time is supported. You should ask that on the interest mailing list, you'll find there Qt's developers/maintainers (this forum is more user oriented)

Log in to reply