Okay, thanks.
I think I'm doing it wrong with QTimer and QThread.
I need to find the right order. I've tried a lot of things but can't get it right (especially with my sensors).
I'm trying...
QTimer requires an event loop, since it uses signals and slots to communicate its status. That means you either have to start it in the main application (QApplication-based instance) or in a thread...
d_stranz Yesterday, 16:27Hi everyone,
I'm trying to create a Qt application to run GPIOs on the Raspberry Pi with sensors.
I'm having trouble.
The interface works fine.
I have a screen (mainwindow class) with 5...
Create and configure CMakeLists.txt for the project and test, link to the library containing the Calculatrice class. => create a test file in the tests/ folder, use QTest to write unit tests for the...
LonieHaag 24th April 2025, 10:10A useful approach is to set coverage metrics as test criteria before merging code, and use mocking to isolate tests. QT testing can be complex, but with the right approach, efficiency comes.
...
Qt Centre is a community site devoted to programming in C++ using the Qt framework developed at The Qt Company.
If you have any problems with Qt or its usage, you can get help from the members of Qt community on our forum.
Don't forget to check out our links section for more Qt resources.
Qt is a cross-platform application and UI framework. Using Qt, you can write web-enabled applications once and deploy them across desktop, mobile and embedded operating systems without rewriting the source code.
Troubleshooting USB Communication with Qt and libusb for Embedded Device Recognition
17th March 2025 15:16 by Andrew23