Hi
Bisz István wrote:
>
>
> In QUiLoader.cpp I changed temporarily the QT_QUILOADER_LOAD to:
>
> /*
> * QWidget * load ( QIODevice * device, QWidget * parentWidget = 0 )
> */
> HB_FUNC( QT_QUILOADER_LOAD )
> {
> // hb_retptr( ( QWidget* ) hbqt_par_QUiLoader( 1 )->load(
> hbqt_par_QIODevice( 2 ), hbqt_par_QWidget( 3 ) ) );
> hb_retptrGC( hbqt_gcAllocate_QWidget( ( QWidget* ) hbqt_par_QUiLoader(
> 1
> )->load( hbqt_par_QIODevice( 2 ), hbqt_par_QWidget( 3 ) ) ) );
> }
>
> Maybe we should have here a general solution for the wrappers returning
> objects, some of them are already solved with inserting their pointers to
> the GC system evidence.
>
I think I found a way to do so.
Will be committing shortly after testing.
Regards
Pritpal Bedi
--
View this message in context:
http://old.nabble.com/%28no-subject%29-tp27183396p27184109.html
Sent from the Harbour - Dev mailing list archive at Nabble.com.
_______________________________________________
Harbour mailing list (attachment size limit: 40KB)
[email protected]
http://lists.harbour-project.org/mailman/listinfo/harbour