Hello.
I write exe without gui.
I want to write gui in dll as plugin.
Exe -> "standard main" loop.
If dll exist it load it -> show window etc.
QApplication::exec can't be run on thread, so how i can do?
Hello.
I write exe without gui.
I want to write gui in dll as plugin.
Exe -> "standard main" loop.
If dll exist it load it -> show window etc.
QApplication::exec can't be run on thread, so how i can do?
Your application (main()) will have to have QApplication object.
Implement your GUI in a DLL, not problem with that.
==========================signature=============== ==================
S.O.L.I.D principles (use them!):
https://en.wikipedia.org/wiki/SOLID_...iented_design)
Do you write clean code? - if you are TDD'ing then maybe, if not, your not writing clean code.
Not good. Application isn't Qt application and can't be.
Well, then maybe you can put your non Qt application in a QThread launched by your Qt GUI when you do use the GUI, and run it normal when you don't use the GUI.
==========================signature=============== ==================
S.O.L.I.D principles (use them!):
https://en.wikipedia.org/wiki/SOLID_...iented_design)
Do you write clean code? - if you are TDD'ing then maybe, if not, your not writing clean code.
It is not as easy as i wanted ( my application is part of big application... many work ).
But now i think to start qtapplication as a process from my application.
Bookmarks