H Pritbal, I made a change at hbqt_qfont.cpp :
HB_FUNC( QT_QFONT_HANDLE ) { // hb_retptr( ( HFONT ) hbqt_par_QFont( 1 )->handle() ); hb_retptr( (Qt::HANDLE*) hbqt_par_QFont( 1 )->handle() ); } But it is not only this. Also hbqt_qregion.cpp: HB_FUNC( QT_QREGION_HANDLE ) { //hb_retptr( ( HRGN ) hbqt_par_QRegion( 1 )->handle() ); hb_retptr( ( Region ) hbqt_par_QRegion( 1 )->handle() ); } Also hbqt_qpixmap.cpp (commented a function because at qpixmap.h there is no #else for the os): /* HB_FUNC( QT_QPIXMAP_TOWINHBITMAP ) { hb_retptr( new HBITMAP( hbqt_par_QPixmap( 1 )->toWinHBITMAP( ( HB_ISNIL( 2 ) ? ( QPixmap::HBitmapFormat ) QPixmap::NoAlpha : ( QPixmap::HBitmapFormat ) hb_parni( 2 ) ) ) ) ); } */ Also i am getting some errors from hbqt_qwidget.cpp, but after i make my 3 years old son korn-flakes i am going to look at it too. One dummy idea would be to use the same environment variables. I am not so familiar with c but it seems to me strange the following i am copying from qregion.h #if defined(Q_WS_WIN) inline HRGN handle() const { ensureHandle(); return d->rgn; } #elif defined(Q_WS_X11) inline Region handle() const { if(!d->rgn) updateX11Region(); return d->rgn; } #elif defined(Q_WS_MAC) Would it be problem to use the follwing syntax ? : #if defined(Q_WS_WIN) inline HRGN handle() const { ensureHandle(); return d->rgn; } #elif defined(Q_WS_X11) inline HRGN handle() const { if(!d->rgn) updateX11Region(); return d->rgn; } #elif defined(Q_WS_MAC) and the details to be handled at HRGN or whatever definition ? Regards Vagelis p.s.: Still i am not sure if the qtdemo app will run without segmentation errors at my 64bit linux os, like the past ones. -- View this message in context: http://www.nabble.com/Error-compiling-hbqt-with-latest-svn-tp22968155p22972671.html Sent from the Harbour - Dev mailing list archive at Nabble.com. _______________________________________________ Harbour mailing list Harbour@harbour-project.org http://lists.harbour-project.org/mailman/listinfo/harbour