Changes between Version 21 and Version 22 of BB10


Ignore:
Timestamp:
Jan 7, 2013, 2:58:07 AM (11 years ago)
Author:
Martin Kolman
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • BB10

    v21 v22  
    2727[http://qt-project.org/wiki/Building-Qt4-for-Blackberry Building Qt4 for BB10]
    2828
    29 Weather the on-device Qt version can be used, or custom Qt version needs to be used to run !modRana still needs to be determined. If using the on-device version is possible, the resulting installation package would be quite a bit smaller as the Qt libraries would not need to be included.
     29Weather the on-device Qt version can be used, or custom Qt version needs to be used to run modRana still needs to be determined. If using the on-device version is possible, the resulting installation package would be quite a bit smaller as the Qt libraries would not need to be included.
     30
     31==== Making sure the right Qt is used ====
     32By default (when just running the bbndk environment script before build), Shiboken & !PySide pick-up the Qt libraries that are included in the BB10NDK target, completely ignoring your local Qt build.
     33
     34If you want for both Shiboken & PySide to use the proper build, you need to modify ''PATH'' & ''LD_LIBRARY_PATH'' so that it is preferred to the one in the BB10NDK target:
     35
     36{{{
     37source <BB10NDK PATH>/bbndk-env.sh
     38export QTDIR=<PATH TO YOUR CUSTOM Qt BUILD>
     39export LD_LIBRARY_PATH="$QTDIR/lib:$LD_LIBRARY_PATH"
     40export PATH="$QTDIR/bin:$PATH"
     41}}}
     42
     43You need to either run this in your shell (or put it in a script ''source'' it to your shell) before issuing the ''configure'' commands for Shiboken & !PySide.
    3044
    3145==== !PySide ====
     
    4559}}}
    4660
    47 Yeah, really - tis means modifying you system installation of CMAKE - make sure to have a backup ! :)
     61Yeah, really - this means modifying you system installation of CMAKE - make sure to have a backup ! :)
    4862
    4963'''Creating a package'''