Editing Qt5-Maemo5/Development

Warning: You are not logged in. Your IP address will be recorded in this page's edit history.
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision Your text
Line 50: Line 50:
  cd qtdeclarative && fakeroot make install && cd ..
  cd qtdeclarative && fakeroot make install && cd ..
  ln -s /opt/qt5/bin/qmake /usr/bin/qmake-qt5
  ln -s /opt/qt5/bin/qmake /usr/bin/qmake-qt5
 +
 +
=== Use Qt5 ===
 +
If you like to compile any Qt program with the newly created Qt build
 +
${GITROOT}/qtbase/bin/qmake
 +
#qmake already knows about sysroot and toolchain as configured above
 +
make
 +
#copy results to N900
 +
 +
Theoretically, you can even install this Qt build in scratchbox (untested):
 +
#only the first step should require root privileges
 +
ln -s  /scratchbox/users/${USER}/targets/${TARGET}/opt/qt5 /opt/qt5
 +
cd ${GITROOT}/qtbase && make install
 +
cd ${GITROOT}/qtdeclarative && make install
 +
cd ${GITROOT}/qtjsbackend && make install
 +
#... (some more as needed by qtdeclarative, e.g. qtsvg)
 +
/scratchbox/login
 +
#change target to the target TARGET
 +
cd /your/qt/program/
 +
/opt/qt5/bin/qmake
 +
make
= Building Qt5 for the N900 (using MADDE) =
= Building Qt5 for the N900 (using MADDE) =

Learn more about Contributing to the wiki.


Please note that all contributions to maemo.org wiki may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see maemo.org wiki:Copyrights for details). Do not submit copyrighted work without permission!


Cancel | Editing help (opens in new window)