Latest posts — page 12

Burkhard on Qt Embedded Systems: No. 3

Welcome to Episode 3 of my newsletter on Qt Embedded Systems. I lead this episode with my thoughts about a better pricing model for Qt. What price would you be willing to pay for Qt and why? I am keen

Benefits of a Relocatable Qt

Bob builds Qt for the development team on a fast compute server. He packs Qt into a tarball and hands the tarball to his teammates. Alice installs the Qt tarball on her PC in a directory that differs from the

Burkhard on Qt Embedded Systems: No. 2

Welcome to my newsletter on Qt Embedded Systems. In my monthly newsletters, I cover a large spectrum of topics needed to build Qt applications on embedded systems. Topics include UI design, QML, Qt, C++, Yocto, system-on-chips, system architecture,

Safe-Guarding the (L)GPL Future of Qt

The little known KDE Free Qt Foundation makes sure that Qt stays free and open-source. It guarantees that all Qt modules currently licensed under LGPLv3 must continue to be available under LGPLv3 in the future. This covers all modules

Detecting Overdraw in QML HMIs with GammaRay

Overdraw happens when one QML item fully eclipses another QML item. The QML renderer always draws both items, although there is no need to draw the eclipsed item. You must help out the renderer by explicitly setting visible: false on

Comparing Two Floating-Point Numbers

The mathematician Leopold Kronecker is believed to have said: God made the integers, all else is the work of man. And Kronecker didn't even know the floating-point numbers "made" for computers. Comparing two numbers of

QCOMPARE with Custom Qt Types

When you write unit tests, you will have to compare the actual value and the expected value. A simplified example with QStrings would look like this. void MyTest::testQCompare() { auto actualStr = QString{"abba"}; auto expectedStr = QString{"juhu&