A long time ago, I wrote a post about creating custom shapes in Qt Quick, via the scene-graph APIs. That post covered defining suitable geometry to draw a part of a circle, known also as a ‘sector’, efficiently, since such sectors occur commonly in instrument and vehicle interfaces. I started writing the second part, about […]
Author Archives: James Turner
My file menu is not full of eels Or, why do my menus behave oddly on macOS when translated?
This is the story of a bug in an open-source project I maintain; as the maintainer I review and sometimes fix bug reports from the community. Last week, a user reported that the ‘File’ menu of the application was not appearing on macOS. Some investigation showed this didn’t happen when using the default translation (i.e […]
Efficient custom shapes in Qt Quick Because rectangles, even rounded ones, can only get you so far.
QtQuick includes basic visual item to construct many common user-interface components, but people often ask how to create different visual appearances, beyond rectangles, round-rectangles and images. There’s various solutions to this problem, and with Qt 5.10, there’s the new Shapes module which makes it easy to define paths, ellipses and other standard SVG drawing elements. […]
iOS video rendering
The multimedia layer in Qt has possibilities for streaming video in QtQuick applications. On iOS there is a limitation: QtMultimedia only supports window-level integration. We decided to fix this.
Introducing Qt3D 2.0
JamesTurner and Giuseppe D’Angelo are introducing Qt3D 2.0
Integrating QtQuick 2 with 3D renderers
Abstract: “QtQuick in Qt5 uses OpenGL to deliver fluid, performant visuals, and an internal scene-graph structure to permit threaded rendering, decoupling the main application thread from interacting directly with the graphics driver. For developers work with an existing rendering or visualisation technology, this presents both an opportunity but also problems; QtQuick offers a compelling, modern […]
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 […]