Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>I used ARM9 S3C Mini2440. Please download the source code from Qt site and compile it. Below configuration work with Qt4.6</p> <pre><code>@host:/qt-everywhere-opensource-src-4.6.2#./configure \ -opensource \ -confirm-license \ -release -shared \ -embedded arm \ -xplatform qws/linux-arm-g++ \ -depths 16,18,24 \ -fast \ -optimized-qmake \ -pch \ -qt-sql-sqlite \ -qt-libjpeg \ -qt-zlib \ -qt-libpng \ -qt-freetype \ -little-endian -host-little-endian \ -no-qt3support \ -no-libtiff -no-libmng \ -no-opengl \ -no-mmx -no-sse -no-sse2 \ -no-3dnow \ -no-openssl \ -no-webkit \ -no-qvfb \ -no-phonon \ -no-nis \ -no-opengl \ -no-cups \ -no-glib \ -no-xcursor -no-xfixes -no-xrandr -no-xrender \ -no-separate-debug-info \ -nomake examples -nomake tools -nomake docs \ -qt-mouse-tslib -I/usr/local/tslib/include -L/usr/local/tslib/lib @host:/qt-everywhere-opensource-src-4.6.2# make @host:/qt-everywhere-opensource-src-4.6.2# make install </code></pre> <p>After the install command, you will have ARM Qt4.6 in your <code>/usr/local/Trolltech/QtEmbedded-4.6.2-arm</code>. Create a symblic link to ARM qmake tool</p> <pre><code>ln -s /usr/local/Trolltech/QtEmbedded-4.6.2-arm/bin/qmake /usr/local/bin/qmake-arm </code></pre> <p>Create and environment file in order to switch to Qt ARM. Let's call it <code>setenv-qt-arm.sh</code></p> <pre><code>export QTEDIR=/usr/local/Trolltech/QtEmbedded-4.6.2-arm export PATH=/usr/local/Trolltech/QtEmbedded-4.6.2-arm/bin:$PATH export LD_LIBRARY_PATH=/usr/local/Trolltech/QtEmbedded-4.6.2-arm/lib:$LD_LIBRARY_PATH export CPLUS_INCLUDE_PATH=/usr/local/arm/4.3.2/arm-none-linux-gnueabi/include/c++:/usr/local/arm/4.3.2/arm-none-linux-gnueabi/include/c++/4.3.2/arm-none-linux-gnueabi:$CPLUS_INCLUDE_PATH </code></pre> <p>In order to cross compile your project</p> <pre><code>cd /your_project_dir . /&lt;path_to&gt;/setenv-qt-arm.sh qmake-arm make </code></pre> <p>I did not cross compile Qt project with QtCreator, I used the previous commands instead. If you set your qmake to the correct file (qmake-arm), I think there should be no problem, because this qmake will generate all the Makefile needed to compile your project</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload