Browsed by
Tag: Qt

Going to the Qt Contributors’ Summit

Going to the Qt Contributors’ Summit

I will leave Reykjavik around midnight, arrive in the early morning in Berlin and then try to get to the venue. This means I will most likely miss the keynotes but should be there by lunch time. Besides being interested in technical topics like the networking stack, signals for Qt5, I think I will try to focus on the license part of the contribution model. With recent events like Lodys going after individual developers I wonder if there is something…

Read More Read More

In the name of performance

In the name of performance

I tend to see people doing weird things and then claim that the change is improving performance. This can be re-ordering instructions to help the compiler, attempting to use multiple cores of your system, writing a memfill in assembly. On the one hand people can be right and the change is making things faster, on the other hand they could use assembly to make things look very complicated, justify their pay, and you might feel awkward to question if it…

Read More Read More

Qt Mobility – Note to myself on making QCamera work

Qt Mobility – Note to myself on making QCamera work

Just a small note on Qt Mobility when using GStreamer to capture the image. You will need a QCamera, a QCameraImageCapture. So far so easy. You will also need to call start() but you will also need to create a QCameraViewfinder and set it on the QCamera. If you do not set a view finder, it will not will work. Maybe I will remember this the next time.

Back from the DevDays

Back from the DevDays

Like many others I was at the DevDays. I happened to be in Munich for GSM related things but managed to attend half a day on Monday and half on Tuesday. I was very happy to reconnect with friends from Australia, Oslo, Brazil and the US and I am always impressed by the team that the Qt unit has recruited and still manages to recruit. Creating awesome technology is just the consequence of that and as written in earlier posts,…

Read More Read More

Deploying WebKit, common issues

Deploying WebKit, common issues

From my exposure to people deploying QtWebKit or WebKit/GTK+ there are some things that re-appear and I would like to discuss these here. Weird compile error in JavaScript? It is failing in JavaScriptCore as it is the first that is built. It is most likely that the person that provided you with the toolchain has placed a config.h into it. There are some resolutions to it. One would be to remove the config.h from the toolchain (many things will break),…

Read More Read More

Using Video in QML – the hacky way

Using Video in QML – the hacky way

For my current QML project I am required to embed video “into” the QDeclarativeView. I think the proper way will be to use the Qt Multimedia package that comes with a QML VideoView but for this project the customer wanted to use a specific proprietary media player (I wish I could call names). I started with creating a QWidget called VideoWidget and added three Q_INVOKABLE methods, one is setPos(x, y, w, h), setUrl(url) and play(), and bind one instance of…

Read More Read More

Going from dummy to real data

Going from dummy to real data

I was writing about my current QML project earlier and now was the time to go from dummy data to real ones. For the prototyping phase we were using models created with ListModel and the attributes we need in the UI. For some JavaScript code that is called to execute actions we were using ListModel.get(index) to get the item and then execute code. The QML Documentation was bringing me very far. I was using the rootContext of the QDeclarativeView to…

Read More Read More

QML and dealing with states

QML and dealing with states

In the last days I have resumed my QML work (I had a small break to work on the MGCP GW code of OpenBSC to fix some real world issues) and there is one kind of issue I tend to run in and I wonder how others are solving it. Let us imagine we have a QML Component for a Button. The Button itself can hold a text (property alias text: buttonLabel.text) and the button has three states (enabled, focused,…

Read More Read More