Qt5-Maemo5
(split development and use of libs into different pages) |
(→Testing Qt5 on the N900) |
||
(3 intermediate revisions not shown) | |||
Line 1: | Line 1: | ||
+ | <!--<imagemap> | ||
+ | Image:QtLogos.png|thumb|200px|right|alt=Qt banner|Install Qt5 thumb repo | ||
+ | desc none | ||
+ | default [http://repos.fuhlbrueck.net/qt5thumbrepo.install Install Qt5 thumb repo] | ||
+ | </imagemap>--> | ||
+ | |||
+ | Subpages: '''[[Qt5-Maemo5/WhatWorks|WhatWorks]] [[Qt5-Maemo5/Development|Development]]''' | ||
+ | <p> | ||
+ | [http://repos.fuhlbrueck.net/qt5thumbrepo.install Add Qt5 thumb repo] | ||
+ | </p> | ||
+ | |||
= Use Qt5 to build apps = | = Use Qt5 to build apps = | ||
Prerequisites: | Prerequisites: | ||
* scratchbox ARMEL target [[CSSU-thumb toolchain setup (gcc4.7.2-linaro)]] (tested), others may work | * scratchbox ARMEL target [[CSSU-thumb toolchain setup (gcc4.7.2-linaro)]] (tested), others may work | ||
* thumb2 compatible kernel on device (cssu or kp52) | * thumb2 compatible kernel on device (cssu or kp52) | ||
+ | ** seems to require CSSU-testing or CSSU-thumb | ||
#not endless bandwidth, so use with care or offer mirror: | #not endless bandwidth, so use with care or offer mirror: | ||
echo "deb http://repos.fuhlbrueck.net/qt5-maemo5 fremantle main" >> /etc/apt/sources.list | echo "deb http://repos.fuhlbrueck.net/qt5-maemo5 fremantle main" >> /etc/apt/sources.list | ||
+ | #there is now a mirror under: http://marmistrz.comli.com/repository/qt5-maemo5 | ||
#libXc11-xcb1 is not optified, but tiny | #libXc11-xcb1 is not optified, but tiny | ||
fakeroot apt-get install qt5-base-dev qt5-declarative-dev qt5-maemo5-dev | fakeroot apt-get install qt5-base-dev qt5-declarative-dev qt5-maemo5-dev | ||
- | #install other parts as needed, see [[Qt5-Maemo5 | + | #install other parts as needed, see [[Qt5-Maemo5/WhatWorks]] |
#convenience, otherwise call /opt/qt5/bin/qmake directly | #convenience, otherwise call /opt/qt5/bin/qmake directly | ||
ln -s /opt/qt5/bin/qmake /usr/bin/qmake-qt5 | ln -s /opt/qt5/bin/qmake /usr/bin/qmake-qt5 | ||
Line 22: | Line 35: | ||
= Testing Qt5 on the N900 = | = Testing Qt5 on the N900 = | ||
sudo gainroot | sudo gainroot | ||
- | |||
echo "deb http://repos.fuhlbrueck.net/qt5-maemo5 fremantle main" >> /etc/apt/sources.list | echo "deb http://repos.fuhlbrueck.net/qt5-maemo5 fremantle main" >> /etc/apt/sources.list | ||
+ | #mirror under http://marmistrz.comli.com/repository/qt5-maemo5 | ||
apt-get install qt5-base qt5-declarative qt5-maemo5 | apt-get install qt5-base qt5-declarative qt5-maemo5 | ||
#some examples available e.g. | #some examples available e.g. | ||
Line 31: | Line 44: | ||
# some simple examples and flatboat | # some simple examples and flatboat | ||
# see http://repos.fuhlbrueck.net/qt5-maemo5-examples/ | # see http://repos.fuhlbrueck.net/qt5-maemo5-examples/ | ||
+ | # some of them don't work under Qt5.2 because qreal is now double on ARM | ||
wget http://repos.fuhlbrueck.net/qt5-maemo5-examples/EXAMPLE | wget http://repos.fuhlbrueck.net/qt5-maemo5-examples/EXAMPLE | ||
chmod 755 EXAMPLE | chmod 755 EXAMPLE | ||
./EXAMPLE | ./EXAMPLE | ||
#don't be confused, if it shows some debug output | #don't be confused, if it shows some debug output |
Latest revision as of 22:20, 6 March 2014
Subpages: WhatWorks Development
[edit] Use Qt5 to build apps
Prerequisites:
- scratchbox ARMEL target CSSU-thumb toolchain setup (gcc4.7.2-linaro) (tested), others may work
- thumb2 compatible kernel on device (cssu or kp52)
- seems to require CSSU-testing or CSSU-thumb
#not endless bandwidth, so use with care or offer mirror: echo "deb http://repos.fuhlbrueck.net/qt5-maemo5 fremantle main" >> /etc/apt/sources.list #there is now a mirror under: http://marmistrz.comli.com/repository/qt5-maemo5 #libXc11-xcb1 is not optified, but tiny fakeroot apt-get install qt5-base-dev qt5-declarative-dev qt5-maemo5-dev #install other parts as needed, see Qt5-Maemo5/WhatWorks #convenience, otherwise call /opt/qt5/bin/qmake directly ln -s /opt/qt5/bin/qmake /usr/bin/qmake-qt5
Build your project:
cd /your/project qmake-qt5 make
Please report results in the second table at Qt5-Maemo5/WhatWorks or discuss them in the related TMO thread.
[edit] Testing Qt5 on the N900
sudo gainroot echo "deb http://repos.fuhlbrueck.net/qt5-maemo5 fremantle main" >> /etc/apt/sources.list #mirror under http://marmistrz.comli.com/repository/qt5-maemo5 apt-get install qt5-base qt5-declarative qt5-maemo5 #some examples available e.g. apt-get install trojita-tp exit
# some simple examples and flatboat # see http://repos.fuhlbrueck.net/qt5-maemo5-examples/ # some of them don't work under Qt5.2 because qreal is now double on ARM wget http://repos.fuhlbrueck.net/qt5-maemo5-examples/EXAMPLE chmod 755 EXAMPLE ./EXAMPLE #don't be confused, if it shows some debug output
- This page was last modified on 6 March 2014, at 22:20.
- This page has been accessed 6,126 times.