View Single Post
MohammadAG's Avatar
Posts: 2,473 | Thanked: 12,265 times | Joined on Oct 2009 @ Jerusalem, PS/IL
#6
You can test directly from Qt Creator in scratchbox with this tutorial:
http://blogs.forum.nokia.com/blog/ka...and-scratchbox

As for installation of packages, that was kinda messed up and I spent some time figuring it out.
Download the debs you need with scratchbox (apt-get -d --reinstall install packages).
You'll find them in /scratchbox/users/$USER/targets/FREMANTLE_ARMEL/var/cache/apt/archives/
cd into ~/QtSDK/Maemo/4.6.2/bin

then use xdpkg:
Code:
Usage: mad ../madlib/ma-cmds/xdpkg <command> ...

 Commands
    -i|--install <package>.deb  Install extra package
    -P|--purge <package>        Remove/Purge extra package
    -l|--list                   List available extra packages
    -L|--listfiles <package>    List files of an extra package
    -p|--print-avail <package>  Display some details about package
Quick script:
Code:
cd ~/QtSDK/Maemo/4.6.2/bin && for files in /scratchbox/users/$USER/targets/FREMANTLE_ARMEL/var/cache/apt/archives/libqtm-12*.deb; do mad ../madlib/ma-cmds/xdpkg -i $files; done
 

The Following User Says Thank You to MohammadAG For This Useful Post: