Results 1 to 2 of 2

Thread: Touch support for not embedded QT on QWebView and QPushButton and QWidgets

  1. #1
    Join Date
    Sep 2013
    Posts
    3
    Qt products
    Qt5
    Platforms
    Windows

    Question Touch support for not embedded QT on QWebView and QPushButton and QWidgets

    Hello, i'm needing a help, read and searched about this problem and not founded a solution. I'm developing a kiosk browser and it has not worked for touchscreen monitors, simply the QWebView component has not any action of touch on links and input elements, for example.

    Environment: QT 5.1.1, MinGW compiler on Windows 7 32 and 64bits, Windows 8 32 and 64bits.

    I tried use QWebView>setAttribute(Qt::WA_AcceptTouchEvents); but not worked.

    I hope anyone can help me, it is a primordial feature for this software and not know what i do.

  2. #2
    Join Date
    Sep 2013
    Posts
    3
    Qt products
    Qt5
    Platforms
    Windows

    Default Re: Touch support for not embedded QT on QWebView and QPushButton and QWidgets

    I think the component QWebView not recognize touch events, so, i solved this problem setting QWebView>setAttribute(Qt::WA_AcceptTouchEvents, false); to QWebView receive the touch event as mouse events.

    This way solved my problem, thanks.

Similar Threads

  1. Qt Touch Screen Support
    By keyurapatel21 in forum Qt for Embedded and Mobile
    Replies: 2
    Last Post: 19th October 2011, 19:31
  2. Qt embedded and touch screen
    By webquinty in forum Qt for Embedded and Mobile
    Replies: 0
    Last Post: 30th June 2011, 18:03
  3. Replies: 1
    Last Post: 30th October 2009, 09:52
  4. Touch screen and QT embedded, some doubts
    By webquinty in forum Qt for Embedded and Mobile
    Replies: 0
    Last Post: 30th June 2008, 11:59
  5. regarding a touch screen driver for qt-embedded
    By sar_van81 in forum Qt for Embedded and Mobile
    Replies: 0
    Last Post: 2nd March 2007, 11:23

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.