As soon as paths or library names differ, you will have to use scoped declarations. Otherwise it really does not matter. Win32 also links correctly using -lSomeCoolLib, therefor you could just use one LIBS directive.
@JKSH there might be a slight difference in my case actually:
I'm not trying to embed a window from another application, but a HWND created by my own.
Does it makes a difference, or the problem is the same?
Same problems. By "external", I meant "not made by Qt Widgets".
it is out of subject on this forum, but I tested with the win32 function Shellexecute and "runas" as second parameter instead of qprocess and it created my service.so I mark this subject solved.thanks.