<?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: Building Qt5 for imx53</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/Building-Qt5-for-imx53/m-p/193291#M9988</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Instructions to build Qt5 from GIT are for native build, and cross-compiling should be done slightly differently. Hopefully you modified ./configure command accordingly and properly set up the mkspec.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MMX, SSE, etc. are x86-specific extensions that naturally won't work with ARM toolchain, so no problem with that. Not sure where XCB can be obtained from, if not in LTIB. Maybe can be cross-compiled separately as well if X is needed....&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 08 Dec 2011 08:16:11 GMT</pubDate>
    <dc:creator>VladanJovanovic</dc:creator>
    <dc:date>2011-12-08T08:16:11Z</dc:date>
    <item>
      <title>Building Qt5 for imx53</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Building-Qt5-for-imx53/m-p/193290#M9987</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I am trying to build Qt5 for imx53.&lt;/P&gt;&lt;P&gt;Reading this forum post&amp;nbsp;&lt;A href="http://imxcommunity.org/group/imxqt/forum/topics/building-qt-for-imx5x" target="_self"&gt;building-qt-for-imx5x&lt;/A&gt; and this qtdev post &lt;A href="http://developer.qt.nokia.com/wiki/Building_Qt_5_from_Git" target="_blank"&gt;building-qt5-from-git&lt;/A&gt;&amp;nbsp;I didn't succeed in building&amp;nbsp;Qt5 for imx53.&lt;/P&gt;&lt;P&gt;I managed it to install LTIB so far. This forum post is about building Qt 4.7.4 on imx5x. In my opinion it should work with Qt5 as well.&lt;BR /&gt;The next step for me is to build Qt5 based on the toolchain and libraries provided by LTIB.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;The problem is, that the linker can't find some libraries. I was able to find some of the headers manually. These are the headers that the linker couldn't find:&lt;BR /&gt;&lt;A href="https://community.nxp.com/discussions/472-missinglibs.JPG" target="_self"&gt;https://community.nxp.com/discussions/472-missinglibs.JPG" target="_self&lt;/A&gt;&lt;A href="https://community.nxp.com/discussions/473-missinglibs.JPG" target="_self"&gt;https://community.nxp.com/discussions/473-missinglibs.JPG" target="_self&lt;/A&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="474-missinglibs.JPG"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/118783iBA13B39AC98502AB/image-size/large?v=v2&amp;amp;px=999" role="button" title="474-missinglibs.JPG" alt="474-missinglibs.JPG" /&gt;&lt;/span&gt;&lt;A href="https://community.nxp.com/discussions/476-missinglibs.JPG" target="_self"&gt;https://community.nxp.com/discussions/476-missinglibs.JPG" target="_self&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Additionaly the arm-none-linux-gnueabi-g++ compiler does not recognize the following arguments:&lt;BR /&gt;-mmx&lt;BR /&gt;-m3dnow&lt;BR /&gt;-msse&lt;BR /&gt;-msse2&lt;BR /&gt;-msse3&lt;BR /&gt;-mssse3&lt;BR /&gt;-msse4.1&lt;BR /&gt;-msse4.2&lt;BR /&gt;-mavx&lt;BR /&gt;-lxcb&lt;/P&gt;&lt;P&gt;That's a part of the output of the building process (look the attached output of&amp;nbsp;the configure command, to view all of the error messages):&lt;BR /&gt;/opt/freescale/usr/local/gcc-4.4.4-glibc-2.11.1-multilib-1.0/arm-fsl-linux-gnueabi/bin/arm-none-linux-gnueabi-g++ -c -pipe -mmmx -g -Wall -W&amp;nbsp; -I../../../mkspecs/linux-g++-mx5x -I. -I/home/lucid/imx/11.09/ltib/rootfs/usr/include -I/home/lucid/imx/11.09/ltib/rootfs/usr/include/glib-2.0 -I/tftpboot/ltib/usr/lib/glib-2.0/include -I/tftpboot/ltib/usr/include/gstreamer-0.10 -I/tftpboot/ltib/usr/include/libxml2 -I/home/lucid/imx/11.09/ltib/rootfs/usr/include/freetype2 -I/home/lucid/imx/11.09/ltib/rootfs/usr/include/mysql -I/opt/freescale/usr/local/gcc-4.4.4-glibc-2.11.1-multilib-1.0/arm-fsl-linux-gnueabi/lib/gcc/arm-fsl-linux-gnueabi/4.4.4/include -o mmx.o mmx.cpp&lt;BR /&gt;cc1plus: error: unrecognized command line option "-mmmx"&lt;BR /&gt;make: *** [mmx.o] Error 1&lt;BR /&gt;mmx disabled.&lt;/P&gt;&lt;P&gt;Any ideas how to include these missing libraries?&lt;/P&gt;&lt;P&gt;Did somebody succeed in building Qt5 for any imx?&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;I tried to do it like this:&lt;BR /&gt;QMAKE_LFLAGS_RPATH = -Wl,-rpath,&lt;BR /&gt;QMAKE_RPATHDIR&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; += "/tftpboot/ltib/usr/lib"&lt;BR /&gt;QMAKE_RPATHDIR&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; += "/tftpboot/ltib/usr/local/lib"&lt;BR /&gt;QMAKE_RPATHDIR&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; += "/tftpboot/ltib/lib"&lt;/P&gt;&lt;P&gt;but this approach didn't work.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;BR /&gt;Dietrich&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Dec 2011 15:13:34 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Building-Qt5-for-imx53/m-p/193290#M9987</guid>
      <dc:creator>DidiGo</dc:creator>
      <dc:date>2011-12-05T15:13:34Z</dc:date>
    </item>
    <item>
      <title>Re: Building Qt5 for imx53</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Building-Qt5-for-imx53/m-p/193291#M9988</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Instructions to build Qt5 from GIT are for native build, and cross-compiling should be done slightly differently. Hopefully you modified ./configure command accordingly and properly set up the mkspec.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MMX, SSE, etc. are x86-specific extensions that naturally won't work with ARM toolchain, so no problem with that. Not sure where XCB can be obtained from, if not in LTIB. Maybe can be cross-compiled separately as well if X is needed....&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Dec 2011 08:16:11 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Building-Qt5-for-imx53/m-p/193291#M9988</guid>
      <dc:creator>VladanJovanovic</dc:creator>
      <dc:date>2011-12-08T08:16:11Z</dc:date>
    </item>
    <item>
      <title>Re: Building Qt5 for imx53</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Building-Qt5-for-imx53/m-p/193292#M9989</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I have managed it to enable OpenGL ES 2.x and XLib during the Qt5 compilation. Now I am recieving this error message:  xcb auto-detection... () /opt/freescale/usr/local/gcc-4.4.4-glibc-2.11.1-multilib-1.0/arm-fsl-linux-gnueabi/bin/arm-none-linux-gnueabi-g++ -c -pipe -g -Wall -W -I../../../mkspecs/linux-g++-mx5x -I. -I/home/lucid/imx/11.09/ltib/rootfs/usr/include -I/home/lucid/imx/11.09/ltib/rootfs/usr/include/glib-2.0 -I/tftpboot/ltib/usr/lib/glib-2.0/include -I/tftpboot/ltib/usr/include/gstreamer-0.10 -I/tftpboot/ltib/usr/include/libxml2 -I/home/lucid/imx/11.09/ltib/rootfs/usr/include/freetype2 -I/home/lucid/imx/11.09/ltib/rootfs/usr/include/mysql -I/usr/include/xcb -I/opt/freescale/usr/local/gcc-4.4.4-glibc-2.11.1-multilib-1.0/arm-fsl-linux-gnueabi/lib/gcc/arm-fsl-linux-gnueabi/4.4.4/include -o xcb.o xcb.cpp xcb.cpp:46:27: error: xcb/xcb_icccm.h: No such file or directory xcb.cpp:50:27: error: xcb/xcb_image.h: No such file or directory xcb.cpp:51:29: error: xcb/xcb_keysyms.h: No such file or directory xcb.cpp: In function 'int main(int, char**)': xcb.cpp:59: warning: unused variable 'connection' make: *** [xcb.o] Error 1 xcb disabled. The XCB test failed! You might need to install dependency packages. See src/plugins/platforms/xcb/README.  Xcb is recognized, but some headers are missing. Any ideas how I can include the missing libraries in LTIB? These are the required packages for xcb:  libxcb1 libxcb1-dev libx11-xcb1 libx11-xcb-dev libxcb-keysyms1 libxcb-keysyms1-dev libxcb-image0 libxcb-image0-dev libxcb-shm0 libxcb-shm0-dev libxcb-icccm1 libxcb-icccm1-dev libxcb-sync0 libxcb-sync0-dev libxcb-render-util0 libxcb-render-util0-dev libxcb-xfixes0-dev&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Dec 2011 09:14:21 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Building-Qt5-for-imx53/m-p/193292#M9989</guid>
      <dc:creator>DidiGo</dc:creator>
      <dc:date>2011-12-08T09:14:21Z</dc:date>
    </item>
  </channel>
</rss>

