We must figure out why a Yocto package doesn't work as expected. So, we must tweak the source code a bit here and there, cross-build the package for our ARM-based embedded Linux system and install some shared libraries
In the beginning, the application shows the Main Screen. When the user clicks on the Open button, the application will show a second screen. The second screen creates a C++ model when opened and destroys this model when closed.
As
When the driver turns off the ignition in a vehicle, display computers like terminals in harvesters or infotainment systems in cars should be notified. The display computers should save important data and shut down orderly.
When the display computer runs
Correction: In the original post, I stated that ownership is transferred from C++ to QML by READ functions of Q_PROPERTYs. This is wrong. Ownership is only transferred by Q_INVOKABLE functions and slots, which return a QObject pointer. I
My program received messages from a network as an array of bytes. The sender of the messages encoded integers in Big Endian format. So, the hex number 0x1540 arrived in the sequence [0x15, 0x40]. I wrote the following function, which
Agritechnica 2017 was my third visit after 2013 and 2015. My focus was on terminals (display computers) as usual.
The standard terminal of 2017 is powered by a quad-core NXP i.MX6 processor (32-bit ARM Cortex-A9 with ARMv7a architecture) and
My favourite new feature in Qt 5.10 is the inconspicuous function QmlEngine::retranslate(). Finally, seven years after QML's birth, there is a Qt way to change the language of your application at runtime. There is no need
I am delighted that roughly 70 people attended my talk "Qt vs. Web - Total Cost of Ownership. Thanks a lot for coming and for the great questions!
You can find the video of my talk here.
Here are
We have created a custom class, say Person, and use it in a unit test.
void TestPerson::testEquality() { Person p1("Alice", 42); Person p2("Bob", 37); QCOMPARE(p1, p2); }
The unit test fails with this message.
We have defined a Qt property warningLevel in the C++ class MainModel:
Q_PROPERTY(WarningLevel::Enum warningLevel READ warningLevel WRITE setWarningLevel NOTIFY warningLevelChanged)
We want to use this property in QML. For example, we want to colour a rectangle according
Security researchers from TrendMicro and the Technical University of Milano explain in a blog post "The Crisis of Connected Cars: When Vulnerabilities Affect the CAN Standard" and a video how to switch off any electronic control unit (ECU)
After offshoring and near-shoring, there is a new outsourcing trend: domestic outsourcing. For example, a company in California outsources work to a company in Indiana or Wisconsin. A New York Times article sheds some light on the reasons for domestic