How to make UI as library?
Anemone last edited by
I have program which works in console and is written in C.
Now what I like to do is to load dynamical library, call
and C program could continue processing.
A show stopper problem for me is event loop. It is needed to start in this dumb example in initUi() which would never return then. So far I've been tweaking with threads but I haven't been able to find solution which would return from function AND leave responsive UI for user.
Has anyone done this or know some pointers where it has been done?
Hi and welcome to devnet,
It's generally done the other way around, you integrate the cli part in your gui application e.g. using QProcess.