wouldn't the gui freeze if i would implement the command polling in gui thread?
Am 25.06.2018 16:51 schrieb Thiago Macieira <[email protected]>: On Monday, 25 June 2018 06:54:12 PDT Lodron, Gerald wrote: > another idea what i have is to inherite of a qlabel, reimplement paint event > and set a mutex before.... then i should be able to call repaint > (hopefully?) from other thread... or i simply do nothing in paint event and > make my own paint member function which i call from remote... i will test > this tomorrow... You cannot call repaint from another thread. You cannot touch any GUI function from another thread. In fact, you don't need threads for your application. Remove them. -- Thiago Macieira - thiago.macieira (AT) intel.com Software Architect - Intel Open Source Technology Center _______________________________________________ Interest mailing list [email protected] http://lists.qt-project.org/mailman/listinfo/interest _______________________________________________ Interest mailing list [email protected] http://lists.qt-project.org/mailman/listinfo/interest
