Now you block the Qt queue in the process method (while(1) loop). Use Qtimer to run the process method periodically.
Lesiok Yesterday, 11:39Hi, I'm starting from scratch with a thread without run();
I can't get my signal to work anymore; it's always true!
And if you have any ideas for organizing my code, see my other posts.
...
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 26th April 2025, 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...
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