MessagePopper on Symbian and Linux

Qt 4.6 was released, and Alessandro put together some awesome tutorial videos for setting up a Qt/Symbian development platform.

The installation was not so smooth, however. I have a Nokia 6650, branded and locked down by AT&T, which makes it awful. It’s filled with bloatware I can’t remove and there are all sorts of restrictions in the operating system, especially related to app installation. It would not let me install PIPS, which is required for OpenC and Qt, and gave me either a nasty error from Qt’s demo installer or from the standalone installer an error message like “Component already built-in. You’re screwed.” So I had to jailbreak the phone, by installing HelloCarbide to allow me to install CapsOn/Off to allow me to insert a hacked installserver.exe so that it would let me install PIPS. Whew that took a long time. Debug deployment is also broken with a message like “General OS error.” No clue. It will sometimes work if installed manually, but basically, AT&T’s restrictions make development pretty rough.

Nevertheless, I prevailed in porting my classic Qt example app: MessagePopper. The only modifications were having the main window show with showMaximized() instead of show() for Q_OS_SYMBIAN and focusing a text input, because evidently if a focused widget is hidden and no other visible widget is programmatically focused, the user cannot select anything. The huge addition was adding a function call to ask Symbian for a network connection, and this required including from Qt’s FTP demo the sym_iap_util.h header and qmake pro additions. Oy. I wish this part were built in to QtNetwork.

It worked beautifully though, and here’s a video demonstrating the app:

(link to youtube original)

December 5, 2009 · [Print]

6 Comments to “Testing out Qt for Symbian”

  1. iampiti says:

    Great! I don’t know how symbian development was before but QT seems to simplify things a lot. Did you check the symbian examples that the QT people made? (weather, shopping list,etc.) They really overshadow the symbian default apps on my nokia 5800 and any symbian apps I’ve seen so far. It really looks symbian apps are going to get much better thanks to QT

    • anon says:

      “I don’t know how symbian development was before ”

      Let’s just say that you are very, very lucky that this the case ;)

  2. Luigi Fulk says:

    Some bloggers even use their blogs as a means to advertise. Some authors advertise their books on their blogs. While other bloggers, use their blogs to shed light to currents issues, events, news and catastrophes.

  3. EET says:

    Hello, nice app in the video!

    I’d love to develop programs with Qt for s60 3rd, but when I try to “install” the app to the phone via Qt Creator, it says:

    “Inferior start failed
    Cannot start executable “C:\sys\bin\MyFirstApp.exe” on the device:
    General OS-related error”

    After some Googling I found out that you’ve had the same problem, I just couldn’t find out how did you manage it?

    So, I’d appreciate a little help.

    Thank You,
    EE

  4. CoCo says:

    Hi
    I’m using QT 4.6 on Symbian SDK 5. and when I import the ftp example and compile it keeps popping up a wrong message “error: `setdefaultif’ undeclared (first use this function)” and the function ‘setdefaultif’ is in grey, which means it is not defined. any idea?

  5. TheRohan says:

    Hi all,
    Just wanted to share about this new Qt hybrid application which demonstrates how to use the QtWebKit module to display web content in Qt.

    check this:
    http://www.forum.nokia.com/info/sw.nokia.com/id/f12cce87-430e-49b0-81b1-0ec1b07cdb1c/QtWebKit_Beta_Labs_Example.html

Leave a Reply