Unsolved Create GUI (based on QML) from back ground thread
-
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. -
The GUI must be created in the same thread where the
QGuiApplication
instance is created -
Do the other way around. Keep the UI in main & move your C++ code worker thread.