I not good undestrand wich is your problem , difficult understand your sample, but want notice you
Recent evolution in qt seem give new feature in using gtqtc and hbqt
+ hbqt/tests/gt_in_qt.prg
+ Added: another app to demonstrate how to execute a GT window
from within a HbQt window. Both windows remain active and can
be switched back and forth. Note, only one GT window can remain
active at a time in ST applications.
! Adopted: GtQTC code belonging to QApplication() initialization.
This is Przemek's tip, thanks.
It makes it possible to call HbQt components from GtQTC based
console applications and vice-versa.
; W A R N I N G - Incompatible. Any application using
QApplication():quit() should be fixed to use
other methods.