Results 1 to 2 of 2

Thread: Qt and touch functionality

  1. #1
    Join Date
    Dec 2008
    Location
    My spaceship needs repairs..so, I am stuck on beautiful earth
    Posts
    98
    Thanks
    25
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11

    Post Qt and touch functionality

    Hi everyone.
    got a few questions on touch functionality on Qt.
    1)If I want to develop a touch application,do I have to use Qt for embedded linux?I have Qt for linux/x11 in my PC.

    From what I have understood(ofcourse,I might be wrong) ,I think that to develop any touch sensitive application for a desktop system,I will have to use Qt for linux/x11 and if I want to develop touch applications for PDAs,Mobiles,I would have to use Qt for embedded Linux.Please correct me if I am wrong or if I am missing out on anything.


    2)won't an application built using Qt for linux/x11 function when ported to a touchscreen device (like a touch senstive mobile phone or touch senstive PC )?

    I think it should work but am confused about the need for 'tslib'.Please give me some idea on this.I would appreciate some help on this topic.



    3)Are APIs for 'Qt on linux/x11' and 'Qt for embedded linux' different?

    Trolltech has a download link for Qt on linux/x11 and one for Qt for embedded linux.What's the difference in the APIs and if there's no difference in APIs then,where's the difference?

    Looking forward to your answers.
    Thanks in advance.

  2. #2
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,359
    Thanks
    3
    Thanked 5,015 Times in 4,792 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: Qt and touch functionality

    Quote Originally Posted by rishiraj View Post
    Hi everyone.
    got a few questions on touch functionality on Qt.
    1)If I want to develop a touch application,do I have to use Qt for embedded linux?I have Qt for linux/x11 in my PC.
    No, if your X11 is configured to handle the touch screen, Qt will see it as a regular pointing device.

    From what I have understood(ofcourse,I might be wrong) ,I think that to develop any touch sensitive application for a desktop system,I will have to use Qt for linux/x11 and if I want to develop touch applications for PDAs,Mobiles,I would have to use Qt for embedded Linux.Please correct me if I am wrong or if I am missing out on anything.
    Yeeees... and nooo...

    Qt/Embedded is mainly for systems that can't run X11. If you have a PDA that can handle X11, you can run Qt/X11 on it.

    2)won't an application built using Qt for linux/x11 function when ported to a touchscreen device (like a touch senstive mobile phone or touch senstive PC )?
    It will work fine, just remember a smaller screen might require a different user interface and use of globalStrut() in case of touch screen based devices.

    3)Are APIs for 'Qt on linux/x11' and 'Qt for embedded linux' different?
    Qt/Embedded has an additional layer for where Qt/X11 relies on X11 (like the windowing system). Apart from that and few other things it's basically the same.

    Trolltech has a download link for Qt on linux/x11 and one for Qt for embedded linux.What's the difference in the APIs and if there's no difference in APIs then,where's the difference?
    There is almost no difference in the API. The difference is mostly in the configuration script and build environment.

    Sorry for such a late response but maybe it's still helpful
    Your biological and technological distinctiveness will be added to our own. Resistance is futile.

    Please ask Qt related questions on the forum and not using private messages or visitor messages.


  3. The following user says thank you to wysota for this useful post:

    rishiraj (13th March 2009)

Similar Threads

  1. how to enable touch screen in qt/embedded
    By sar_van81 in forum Qt for Embedded and Mobile
    Replies: 8
    Last Post: 25th March 2011, 10:44
  2. will someone plz answer my queries on touch functionality/tslib
    By rishiraj in forum Qt for Embedded and Mobile
    Replies: 1
    Last Post: 10th January 2009, 14:45
  3. how to do touch screen calibration for qtopia-core-opensource-4.3.2
    By avrecorder in forum Qt for Embedded and Mobile
    Replies: 2
    Last Post: 15th September 2008, 12:49
  4. Touch screen on t-Embedded 4.4 on i.MX31ADS
    By HT in forum Qt for Embedded and Mobile
    Replies: 1
    Last Post: 7th June 2008, 09:06
  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, 10:23

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.