Skip to content
Archive of posts filed under the Qt Development category.

iControlPad support libarary for Qt

The iControlPad didn’t work in keyboard mode with Symbian devices, so I decided to make my own support library for it. The iControlPad is working on SPP mode as default, and that mode support also the analog nubs, so I decided to write support for it. You can get the support library from GitHub: https://github.com/Summeli/iCP4Qt Integrating […]

Fast blit with OpenGl ES and Qt

In my previous post I wrote about blit with opengl es 2.0 texture upload. However I noticed that using just Qt’s QGLWidget and implementing only the paintEvent is as fast as the texture upload with pure OpenGL ES API. I guess that QGLWidget is making the drawing via OpenGL, since the performance seems to be […]

Fast Blit with OpenGL ES 2.0 and texture uploading

OpenGL ES 2.0 is fully shader based, which means you can’t draw any geometry without having the appropriate shaders loaded and bound. This means there is more setup code required to render than there was in OpenGL ES 1.1 with fixed pipeline. Setting up the OpenGL ES 2.0 pipeline. The actual drawing is done in […]

Building Symbian Projects with QtSDK

All new Symbian SDKs are now distributed inside the new QtSDK, so that should be my primary build environment. The new QtSDK also includes an updated version of GCCE (4.x), and new sbsv2 build, which is a lot better than the old symbian abld-build. With this tutorial you can still build your old symbian projects […]

Implementing AntSnes with Qt part 6: Final touch, using stylesheets

The Qt’s default style tries to look as much your original S60 theme as possible. The big problem is that each phone can have very different theme, and then your application might look really bad. The good news is that you can write your own style, and use it in your own application. Here’s a […]

Implementing AntSnes with Qt part 5: Implementing the Blit

The current Qt version is implemented on top of the old Avkon layer, and it really doesn’t have fast blitting methods available. Therefore I Implemented the blit with Symbian’s Anti-Tearing API, which should be the fastest available method to draw on the screen. Forum.nokia has a very good example how to use the Anti-tearing API. […]

Implementing AntSnes with Qt part 4: using special keys

Support for green, red, menu, and camera keys: Current S60 v. 5.0 phones really don’t have that much keys, so I decided to add support for all keys that I can find from the phone. This will require the SwEvent capability. The downside is that SwEvent requires signing by user. The signing can be made […]

Implementing AntSnes with Qt part 3: Running the emulation in worker thread

I decided to build a two threaded application.  The main thread is for the UI, and the worker thread if for the emulator. This makes all porting easier in general, since now we can have a UI thread to handle all rendering, key I/O etc, and run the emulator thread as worker thread, which can […]

Implementing AntSnes with Qt part 2: Creating Settings View

I’m using the Qt now, so I wanted to make a new fresh clean look to the UI.  Therefore I dumped the old S60 UI style, which really wasn’t good design for touch devices. You can see my settings view in the picture below. The empty space on top of the view is for the […]

Implementing AntSnes with Qt part 1: Creating Views

This is first post on Qt App development series on Symbian. In this series I will describe how I made a new user interface with Qt for AntSnes. The same Ui will be later be used with gpsp and psx4all. The mobile UI should be pretty much different, than the desktop UI, so there are […]