2012. május 25., péntek

Symbian Anna/Belle development with Qt Creator under Ubuntu Linux (Developing for a dead platform)

It is fairly easy, but underdocumented:

1. Download testinstaller_scp1.2_v201109280000_241.x32.7z and install from http://projects.developer.nokia.com/symbian_linux_qtsdk.
2. Copy and install public_coda_installer_1-0-5_build2_signed.sis from the Qt Creator installation (QtSDK/Symbian/sis/Symbian^3/CODA) to the Symbian phone.
3. Connect the mobile phone and a computer to a WLAN network.
4. Run the CODA on the phone, go to its settings, select the WLAN mode and start it. The IP address and the debug port are shown in CODA.
5. Create a project in Qt Creator, select the Symbian target.
6. Go to Projects/Symbian device/Run settings/Deployment and set the IP address+port from the phone in the WLAN field (e.g 192.168.20.13:1534).
7. Add the following code to the main.cpp, otherwise, you get an instant crash (at least on N9/Symbian Anna):

static CTrapCleanup *tc = CTrapCleanup::New();

8. Run the project on the device and enjoy!

Nincsenek megjegyzések: