<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>i.MX ProcessorsのトピックRe: How to run QT embeded with touch support on iMX platform (Based on qt 4.7.3)</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/How-to-run-QT-embeded-with-touch-support-on-iMX-platform-Based/m-p/170464#M5437</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;STRONG style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;A href="https://community.nxp.com/people/Qiang_FSL"&gt;Qiang_FSL&lt;/A&gt;&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;I was able to use QtQuick applications with touch support in my iMX6 Sabre SD. Now I want to use multi touch gestures which is not enable for now. Each should be the steps to do this ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 12 Dec 2014 16:46:59 GMT</pubDate>
    <dc:creator>raz3l</dc:creator>
    <dc:date>2014-12-12T16:46:59Z</dc:date>
    <item>
      <title>How to run QT embeded with touch support on iMX platform (Based on qt 4.7.3)</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/How-to-run-QT-embeded-with-touch-support-on-iMX-platform-Based/m-p/170459#M5432</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Here we just used the framebuffer based embeded QT, no X11 support.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;1. Install the Freescale LTIB BSP, for example “L2.6.35_11.05.01_ER_source.tar.gz”&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;2.&lt;/STRONG&gt; &lt;STRONG&gt;Goto ltib folder build the BSP for iMX board:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;I&gt;$ ./ltib –selectype&lt;/I&gt;&lt;/P&gt;&lt;P&gt;(1)&amp;nbsp;&amp;nbsp;&amp;nbsp; Select imx5x platform and min profile:&amp;nbsp;&lt;/P&gt;&lt;P&gt;(2)&amp;nbsp;&amp;nbsp;&amp;nbsp; Save and goto next page, select the&amp;nbsp;board&amp;nbsp;for example&amp;nbsp;“mx50_rdp”.&lt;/P&gt;&lt;P&gt;(3)&amp;nbsp;&amp;nbsp;&amp;nbsp; In same page, goto “Target Image Generation”, and select “ext2.gz ramdisk” image for SD boot and save.&amp;nbsp;&lt;/P&gt;&lt;P&gt;(4)&amp;nbsp;&amp;nbsp;&amp;nbsp; Goto “Package List ” and select the “Tslib” to enable touch panel or QT, save.&amp;nbsp;&lt;/P&gt;&lt;P&gt;(5)&amp;nbsp;&amp;nbsp;&amp;nbsp; Save and exit, LTIB will start to build the image.&amp;nbsp;&lt;/P&gt;&lt;P&gt;(6)&amp;nbsp;&amp;nbsp;&amp;nbsp; The rootfs will be built out at ltib folder “rootfs”.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;3.&amp;nbsp;&lt;/STRONG&gt;&lt;STRONG&gt;Get the “tslib” source code from LTIB: “&lt;I&gt;$&lt;/I&gt; &lt;I&gt;./ltib –p&amp;nbsp; tslib -m prep&lt;/I&gt;”; the tslib source code can be found at “ltib/rpm/BUILD/tslib-1.0”&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;4.&amp;nbsp;&lt;/STRONG&gt;&lt;STRONG&gt;Set the CROSS_COMPILE for both tslib and QT compiling.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;In Ubuntu, the LTIB cross compiler will be installed to “/opt/freescale/usr/local/gcc-4.4.4-glibc-2.11.1-multilib-1.0”.&lt;/P&gt;&lt;P&gt;Edit “~/.bashrc”, and add the followed line, then logout and login again:&lt;/P&gt;&lt;P&gt;&lt;I&gt;export PATH=/opt/freescale/usr/local/gcc-4.4.4-glibc-2.11.1-multilib-1.0/arm-fsl-linux-gnueabi/bin/:$PATH&lt;/I&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;5.&amp;nbsp;&lt;/STRONG&gt;&lt;STRONG&gt;Build the tslib&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;I&gt;$ cd ~/tslib-1.0&lt;/I&gt;&lt;/P&gt;&lt;P&gt;&lt;I&gt;$ ./autogen.sh&lt;/I&gt;&lt;/P&gt;&lt;P&gt;&lt;I&gt;$ echo "ac_cv_func_malloc_0_nonnull=yes" &amp;gt;arm-linux.cache&lt;/I&gt;&lt;/P&gt;&lt;P&gt;&lt;I&gt;$ ./configure --host=arm-linux --cache-file=arm-linux.cache &amp;nbsp;-prefix=/home/ubuntu123/tslib&lt;/I&gt;&lt;/P&gt;&lt;P&gt;&lt;I&gt;$ make&lt;/I&gt;&lt;/P&gt;&lt;P&gt;&lt;I&gt;$ make install&lt;/I&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Now tslib head files and lib will be at folder “home/ubuntu123/tslib/”.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;6.&amp;nbsp;&lt;/STRONG&gt;&lt;STRONG&gt;Build the QT, the last QT source code can be downloaded from “&lt;A href="http://get.qt.nokia.com/qt/source/qt-everywhere-opensource-src-4.7.3.tar.gz"&gt;http://get.qt.nokia.com/qt/source/qt-everywhere-opensource-src-4.7.3.tar.gz&lt;/A&gt;”.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;I&gt;$ cd ~&lt;/I&gt;&lt;/P&gt;&lt;P&gt;&lt;I&gt;$ tar -zxvf qt-everywhere-opensource-src-4.7.3.tar.gz&lt;/I&gt;&lt;/P&gt;&lt;P&gt;&lt;I&gt;$ cd qt-everywhere-opensource-src-4.7.3&lt;/I&gt;&lt;/P&gt;&lt;P&gt;Edit the file “mkspecs/qws/linux-arm-gnueabi-g++/qmake.conf”, and add the line “QMAKE_LFLAGS += -Wl,-rpath-link=/home/ubuntu123/tslib/lib”.&lt;/P&gt;&lt;P&gt;&lt;I&gt;$ ./configure -embedded arm -xplatform qws/linux-arm-gnueabi-g++ -prefix ~/qt_demo -hostprefix ~/qt_target -opensource -qt-mouse-tslib -I ~/tslib/include -L ~/tslib/lib -confirm-license&lt;/I&gt;&lt;/P&gt;&lt;P&gt;&lt;I&gt;$ make&lt;/I&gt;&lt;/P&gt;&lt;P&gt;&lt;I&gt;$ make install&lt;/I&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Then the built out QT libs can be found at “/home/ubuntu123/qt_target”.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;7.&amp;nbsp;&lt;/STRONG&gt;&lt;STRONG&gt;Prepare the rootfs&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;(1)&amp;nbsp;&amp;nbsp;&amp;nbsp; Copy “/home/ubuntu123/qt_target/*” to “ltib/rootfs/qt” folder; copy “/home/ubuntu123/qt_demo/*” to “ltib/rootfs/qt”.&lt;/P&gt;&lt;P&gt;(2)&amp;nbsp;&amp;nbsp;&amp;nbsp; Edit the file “ltib/rootfs/etc/profile”, and add the followed lines:&lt;/P&gt;&lt;P&gt;&lt;I&gt;export QTDIR=/qt&lt;/I&gt;&lt;/P&gt;&lt;P&gt;&lt;I&gt;export QPEDIR=/qt&lt;/I&gt;&lt;/P&gt;&lt;P&gt;&lt;I&gt;export PATH=$QTDIR/bin:$PATH&lt;/I&gt;&lt;/P&gt;&lt;P&gt;&lt;I&gt;export TSLIB_ROOT=/usr&lt;/I&gt;&lt;/P&gt;&lt;P&gt;&lt;I&gt;export TSLIB_CONSOLEDEVICE=none&lt;/I&gt;&lt;/P&gt;&lt;P&gt;&lt;I&gt;export TSLIB_FBDEVICE=/dev/fb0&lt;/I&gt;&lt;/P&gt;&lt;P&gt;&lt;I&gt;export TSLIB_TSDEVICE=/dev/input/ts0&lt;/I&gt;&lt;/P&gt;&lt;P&gt;&lt;I&gt;export TSLIB_PLUGINDIR=$TSLIB_ROOT/lib/ts&lt;/I&gt;&lt;/P&gt;&lt;P&gt;&lt;I&gt;export TSLIB_CONFFILE=$TSLIB_ROOT/etc/ts.conf&lt;/I&gt;&lt;/P&gt;&lt;P&gt;&lt;I&gt;export TSLIB_CALIBFILE=/etc/pointercal&lt;/I&gt;&lt;/P&gt;&lt;P&gt;&lt;I&gt;export QWS_MOUSE_PROTO=Tslib:/dev/input/ts0&lt;/I&gt;&lt;/P&gt;&lt;P&gt;&lt;I&gt;export QWS_DISPLAY=LinuxFb:/dev/fb0&lt;/I&gt;&lt;/P&gt;&lt;P&gt;&lt;I&gt;export set QT_QWS_FONTDIR=$QTDIR/lib/fonts/&lt;/I&gt;&lt;/P&gt;&lt;P&gt;&lt;I&gt;export LD_LIBRARY_PATH=$TSLIB_ROOT/lib:$QTDIR/lib:/usr/local/lib:$LD_LIBRARY_PATH&lt;/I&gt;&lt;/P&gt;&lt;P&gt;(3)&amp;nbsp;&amp;nbsp;&amp;nbsp; “$ cd ~/ltib/rootfs”; “$ tar -jcvf ../rootfs.tar.bz2&amp;nbsp; .”; now the rootfs.tar.bz2 can be burned to iMX board with MFGTool.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;8.&amp;nbsp;&lt;/STRONG&gt;&lt;STRONG&gt;Run the QT demo&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;After the board booted up, we can run “$ ts_calibrate” to calibrate the touch panel; use the followed commands to run the QT demos.&lt;/P&gt;&lt;P&gt;&lt;I&gt;$ cd /qt/demos/mainwindow&lt;/I&gt;&lt;/P&gt;&lt;P&gt;&lt;I&gt;$ ./mainwindow&amp;nbsp; -qws&lt;/I&gt;&lt;/P&gt;&lt;P&gt;&lt;I&gt;&amp;nbsp;&lt;/I&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Sep 2011 05:52:10 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/How-to-run-QT-embeded-with-touch-support-on-iMX-platform-Based/m-p/170459#M5432</guid>
      <dc:creator>qiang_li-mpu_se</dc:creator>
      <dc:date>2011-09-16T05:52:10Z</dc:date>
    </item>
    <item>
      <title>Re: How to run QT embeded with touch support on iMX platform (Based on qt 4.7.3)</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/How-to-run-QT-embeded-with-touch-support-on-iMX-platform-Based/m-p/170460#M5433</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What exactly is your question?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If you just want to use Qt on imx, take a look here.. &lt;A href="http://www.imxdev.org/wiki/index.php?title=All_Boards_Qt" target="_blank"&gt;http://www.imxdev.org/wiki/index.php?title=All_Boards_Qt&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Sep 2011 10:50:07 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/How-to-run-QT-embeded-with-touch-support-on-iMX-platform-Based/m-p/170460#M5433</guid>
      <dc:creator>danix</dc:creator>
      <dc:date>2011-09-16T10:50:07Z</dc:date>
    </item>
    <item>
      <title>Re: How to run QT embeded with touch support on iMX platform (Based on qt 4.7.3)</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/How-to-run-QT-embeded-with-touch-support-on-iMX-platform-Based/m-p/170461#M5434</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you for the concise directions on he environment variables.&amp;nbsp; I did need to tweak them since I used tlib and everything (except the examples) ended up under /usr (instead of /qt).&amp;nbsp; Now... since I don't have a touch screen, must determine how to use mouse instead... {maybe the imxdev site has stuff}&lt;/P&gt;&lt;P&gt;Thanks again.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 31 Mar 2012 06:32:59 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/How-to-run-QT-embeded-with-touch-support-on-iMX-platform-Based/m-p/170461#M5434</guid>
      <dc:creator>PaulRobertson</dc:creator>
      <dc:date>2012-03-31T06:32:59Z</dc:date>
    </item>
    <item>
      <title>Re: How to run QT embeded with touch support on iMX platform (Based on qt 4.7.3)</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/How-to-run-QT-embeded-with-touch-support-on-iMX-platform-Based/m-p/170462#M5435</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the detailed instructions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have taken the latest LTIB version and when I select QT from Package list, the build fails and I am not able to generate image. Could you please let me know is there are some setting changes needed for building Qt successfully&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Jun 2013 17:44:21 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/How-to-run-QT-embeded-with-touch-support-on-iMX-platform-Based/m-p/170462#M5435</guid>
      <dc:creator>vishal284</dc:creator>
      <dc:date>2013-06-24T17:44:21Z</dc:date>
    </item>
    <item>
      <title>Re: How to run QT embeded with touch support on iMX platform (Based on qt 4.7.3)</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/How-to-run-QT-embeded-with-touch-support-on-iMX-platform-Based/m-p/170463#M5436</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Vishal,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; i had suceeded in building&amp;nbsp; QT through LTIB, can you please post your log details. so that i can guide you, how to fix the errors.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards,&lt;/P&gt;&lt;P&gt;Raybiztech&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Oct 2013 10:27:12 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/How-to-run-QT-embeded-with-touch-support-on-iMX-platform-Based/m-p/170463#M5436</guid>
      <dc:creator>Raybiztech</dc:creator>
      <dc:date>2013-10-11T10:27:12Z</dc:date>
    </item>
    <item>
      <title>Re: How to run QT embeded with touch support on iMX platform (Based on qt 4.7.3)</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/How-to-run-QT-embeded-with-touch-support-on-iMX-platform-Based/m-p/170464#M5437</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;STRONG style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;A href="https://community.nxp.com/people/Qiang_FSL"&gt;Qiang_FSL&lt;/A&gt;&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;I was able to use QtQuick applications with touch support in my iMX6 Sabre SD. Now I want to use multi touch gestures which is not enable for now. Each should be the steps to do this ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Dec 2014 16:46:59 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/How-to-run-QT-embeded-with-touch-support-on-iMX-platform-Based/m-p/170464#M5437</guid>
      <dc:creator>raz3l</dc:creator>
      <dc:date>2014-12-12T16:46:59Z</dc:date>
    </item>
  </channel>
</rss>

