Create GUI (based on QML) from back ground thread
Prasanthwtl last edited by
An existing C++ app (console application) is to be added with QT QML GUIs.
Is it possible to keep the existing application's main thread (main() function) as the main thread and start a new worker thread for creating GUI from back ground.
VRonin last edited by
The GUI must be created in the same thread where the
QGuiApplicationinstance is created
Do the other way around. Keep the UI in main & move your C++ code worker thread.