Qt5 platform configurations: Difference between revisions

From Qt Wiki
Jump to navigation Jump to search
No edit summary
 
No edit summary
Line 1: Line 1:
=List of Qt5 configuration parameters for different platforms with references=
h1. List of Qt5 configuration parameters for different platforms with references


This page aggregates configuration parameters of Qt5 for different platforms in one place. If you need more information for specific platform, please check the reference link. Before calling the configuration, setup $QTDIR_PREFIX variable, which should point to directory where the Qt should be installed to.
This page aggregates configuration parameters of Qt5 for different platforms in one place. If you need more information for specific platform, please check the reference link. Before calling the configuration, setup $QTDIR_PREFIX variable, which should point to directory where the Qt should be installed to.
Line 5: Line 5:
Feel free to add other platforms.
Feel free to add other platforms.


==Blackberry 10==
== Blackberry 10 ==


[[Building-Qt5-for-Blackberry|Building Qt5 for Blackberry]] ''[qt.io]''
<code>./configure -prefix $QTDIR_PREFIX -xplatform blackberry-armle-v7-qcc -opengl es2 -nomake docs -nomake examples -nomake demos -nomake tests -opensource -confirm-license -release -no-neon [-no-c+''11]<code>


==iOS==
<br />&quot;Building Qt5 for Blackberry&amp;quot;:http://wiki.qt.io/Building-Qt5-for-Blackberry
<br />h2. iOS
<br /></code>./configure -prefix $QTDIR_PREFIX -xplatform unsupported/macx-ios-clang -nomake examples -nomake tests -release [-sdk iphonesimulator]</code>
<br />&quot;Qt for iOS Preview&amp;quot;:http://blog.qt.io/blog/2013/03/05/qt-for-ios-preview/
<br />h2. Android
<br /><code>./configure -prefix $QTDIR_PREFIX -xplatform android-g''+ -nomake tests -nomake examples -android-ndk &lt;path/to/ndk&amp;gt; -android-sdk &lt;path/to/sdk&amp;gt; -android-ndk-host &lt;e.g. linux-x86_64&amp;gt; -skip qttools -skip qttranslations -skip qtwebkit -skip qtserialport -skip qtwebkit-examples<code>


[http://blog.qt.io/blog/2013/03/05/qt-for-ios-preview/ Qt for iOS Preview] ''[blog.qt.io]''
&quot;Building Qt 5 for Android&amp;quot;:http://wiki.qt.io/Qt5ForAndroidBuilding


==Android==
== RaspberryPi ==


[[Qt5ForAndroidBuilding|Building Qt 5 for Android]] ''[qt.io]''
</code>./configure -opengl es2 -device linux-rasp-pi-g++ <s>device-option CROSS_COMPILE=~/opt/gcc-4.7-linaro-rpi-gnueabihf/bin/arm-linux-gnueabihf</s> -sysroot /mnt/rasp-pi-rootfs -opensource -confirm-license -optimized-qmake -reduce-relocations -reduce-exports -release -make libs -prefix $QTDIR_PREFIX</code>


==RaspberryPi==
&quot;Beginner’s guide to cross-compile Qt5 on RaspberryPi&amp;quot;:http://wiki.qt.io/RaspberryPi_Beginners_guide
 
[[RaspberryPi Beginners guide|Beginner’s guide to cross-compile Qt5 on RaspberryPi]] ''[qt.io]''

Revision as of 09:55, 24 February 2015

h1. List of Qt5 configuration parameters for different platforms with references

This page aggregates configuration parameters of Qt5 for different platforms in one place. If you need more information for specific platform, please check the reference link. Before calling the configuration, setup $QTDIR_PREFIX variable, which should point to directory where the Qt should be installed to.

Feel free to add other platforms.

Blackberry 10

./configure -prefix $QTDIR_PREFIX -xplatform blackberry-armle-v7-qcc -opengl es2 -nomake docs -nomake examples -nomake demos -nomake tests -opensource -confirm-license -release -no-neon [-no-c+''11]<code>

<br />&quot;Building Qt5 for Blackberry&amp;quot;:http://wiki.qt.io/Building-Qt5-for-Blackberry
<br />h2. iOS
<br />

./configure -prefix $QTDIR_PREFIX -xplatform unsupported/macx-ios-clang -nomake examples -nomake tests -release [-sdk iphonesimulator]


"Qt for iOS Preview&quot;:http://blog.qt.io/blog/2013/03/05/qt-for-ios-preview/
h2. Android


./configure -prefix $QTDIR_PREFIX -xplatform android-g''+ -nomake tests -nomake examples -android-ndk &lt;path/to/ndk&amp;gt; -android-sdk &lt;path/to/sdk&amp;gt; -android-ndk-host &lt;e.g. linux-x86_64&amp;gt; -skip qttools -skip qttranslations -skip qtwebkit -skip qtserialport -skip qtwebkit-examples<code>

&quot;Building Qt 5 for Android&amp;quot;:http://wiki.qt.io/Qt5ForAndroidBuilding

== RaspberryPi ==

./configure -opengl es2 -device linux-rasp-pi-g++ device-option CROSS_COMPILE=~/opt/gcc-4.7-linaro-rpi-gnueabihf/bin/arm-linux-gnueabihf -sysroot /mnt/rasp-pi-rootfs -opensource -confirm-license -optimized-qmake -reduce-relocations -reduce-exports -release -make libs -prefix $QTDIR_PREFIX

"Beginner’s guide to cross-compile Qt5 on RaspberryPi&quot;:http://wiki.qt.io/RaspberryPi_Beginners_guide