View Single Post
evilJazz's Avatar
Posts: 83 | Thanked: 299 times | Joined on Aug 2009 @ Germany, Oldenburg
#3
I had the same problem on my Mac with Nokia's Qt SDK 1.0.2 beta. As I was not able to find a proper script in the distribution package, I came up with my own script:

Code:
#!/bin/bash
SDKROOT="/Users/darkstar/Playground/Development/NokiaQtSDK"
MAEMOROOT="$SDKROOT/Maemo/4.6.2"
QEMUROOT="$MAEMOROOT/tools/qemu-system-arm-0.13.50-pr13-darwin"

cd "$QEMUROOT/lib"
"$QEMUROOT/bin/qemu-system-arm" -M n900 \
        -mtdblock "$MAEMOROOT/runtimes/qemu-n900-pr13/RX-51_2009SE_20.2010.36-2.nand" \
        -sd "$MAEMOROOT/runtimes/qemu-n900-pr13/RX-51_2009SE_20.2010.36-2.emmc" \
        -serial stdio -clock unix \
        -redir tcp:6666:10.0.2.15:22 \
        -redir tcp:13219:10.0.2.15:10000
Make sure to change SDKROOT to where you have installed the Nokia Qt SDK to. Finally make the script executable and start it.

In Qt Creator, open Preferences > Projects > Maemo Device Configurations > Add.
Name: Emulator
Device Type: Maemo emulator
everything else keep as is.

Now, click Projects in the sidebar, select the Maemo target and its run settings. Change the Device configuration to the new one we just added, i.e. Emulator.
__________________
Nokia N900 / N950 / N9 : Sharp Zaurus SL-C3200/36GB running Cacko : Fujitsu U2010/128GB SSD running Win7/Ubuntu
QuasarMX : Quasar Media Player : Blog : Twitter : Ohloh
 

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