The Viking Blog

Read our blog for inspiration from Viking Software’s expert insights.

Signals and slots were one of the distinguishing features that made Qt an exciting and innovative tool back in time.

If we consider this the wrong approach in C++, isn’t it wrong in QML as well? This blog post will discuss best practice of building QML components.

Sometimes you have to stop a class from emitting a signal for a while. The solution is quite standard and have been published in other blogs as well, but tend to miss one or two features.

Implementation of a simple tool tip component in QML.

If none of the four standard positioners (Column, Row, Flow, Grid) work for you, you can write your own.

A simple and clean solution to using a QAction and set a keyboard shortcut to handle Ctrl + Return in text edits.

When debugging XML code, you often wonder about the contents of a subtree. To view the contents of a subtree, you can use this simple function.

The object orientation guys have pretty much won the battle. So much, that when something doesn’t fit in a neat OO inheritance tree, it can’t be done.

One of the questions I often get from companies that hire me to help them in their first project with Qt, is how to structure the source tree.