I want to call a QObject method from a different thread (Qt::QueuedConnection) if my app is multithreaded and from the same thread (Qt::DirectConnection) if my app is running on