Need a fix for a Qt bug? Look no further… At KDAB, we know that fixing bugs in Qt requires resources, deep knowledge of Qt in various use cases and the right tools. Sounds simple enough but can you afford to take the time to do it yourself? Taking part in hundreds of our clients’ […]
KDAB on Qt Get the RSS Feed
Posts about Qt, for feeds like planetqt and planetkde
KDAB contributions to Qt 5.4: qmllint
One type of bug I see very often comes down to syntax errors in QML and JavaScript files. Most of the time these errors are simple typos; however, they creep in, go unnoticed by continuous integration and sometimes reach production — especially on delayed loaded components. I like fixing bugs, but what I love even […]
Creating a PDF from a QtQuick 2 scene in SlideViewer
The Challenge Previously on this blog, we featured a series of articles about our QML-based presentation tool, SlideViewer. To quickly recap: SlideViewer is a presentation program that allows writing slides entirely in QML. There are situations in which the slide deck needs to be available in PDF format in addition to the QML source: For […]
Qt WebChannel – bridging the gap between C++/QML and the web
Hybrid applications, which mix a UI built with Qt Widgets or Qt Quick with embedded HTML websites, are very popular. In particular, something like an HTML 5 app framework is often requested by customers. Qt WebKit makes it trivial to embed HTML content in any graphical application. But how does one bridge the gap between […]
Of vectors and scalable things SVG, fonts, and QML
Vectors Moving away from my original plan, today we will be talking about Vectors. To start this series of posts I had a main motivator, SVG. It is a great file format, it’s the file type I use day in day out and the format I use the most to create all of my images… But […]
Code highlighting in SlideViewer
A couple of months ago, Jesper Pedersen introduced our presentation tool for trainings, called SlideViewer. As SlideViewer is mainly used for our Qt and Squish trainings, we naturally have many code examples on the slides, ranging from C++ and QML to Python and XML. In this blog post, we will take a closer look at […]
Adapting SlideViewer to Qt Quick Controls
Several previous posts have introduced our SlideViewer tool which we created for use in the various trainings we deliver. The tool started out as an experiment, created using basic QtQuick 2 Items. Startup configuration was specified by command line arguments, and a simple Keys.onPressed function provided most of the runtime control: both navigating around the slide […]
Analysing QtQuick apps with GammaRay or “Why is my button gone?”
This is a typical situation when you program a GUI for an application. You have just created a new control, you start your application and… no control. But now: Is it obscured? Is it misplaced? Is it completely transparent or set to ‘invisible’? Is my custom OpenGL-stuff broken or is the item actually not created for […]
BorderImage is for Scaling! Scalable UIs 2.2
In the previous blog post, we talked about the importance of pixels and their indivisible nature, the way we deal with that in the icon area and introduced the concept of PPI dependable UIs – all this to have truly scalable graphics in QML. We used the BorderImage element to illustrate how an element could […]
Context-sensitive CMake documentation in QtCreator
CMake 3.0 was released last week with many major new features and new Qt integration for uic and rcc. A major change with this CMake release is the new documentation system based on reStructuredText and Sphinx. Sphinx has the ability to generate Qt Assistant files, so these are now easy to create reproducibly from the […]