Hello

Vagelis Skarmaliorakis wrote:
> 
> My installation is Arch Linux 64bit, compiler gcc.
> 
> I am getting the following error:
> 
> make[3]: Entering directory
> `/home/vagskarm/my_svn/harbour/contrib/hbqt/linux/gcc'
> gcc -I. -I../../../../include  -Wall -W -O3   -fPIC  -I/usr/include 
> -I/usr/include  -c ../../hbqt_qfont.cpp -ohbqt_qfont.o
> ../../hbqt_qfont.cpp: In function ‘void HB_FUN_QT_QFONT_HANDLE()’:
> ../../hbqt_qfont.cpp:147: error: ‘HFONT’ was not declared in this scope
> 
> After some search for HFONT i found the following at hqfont.h :
> 
> #ifdef Q_WS_WIN
>     HFONT handle() const;
> #else // !Q_WS_WIN
>     Qt::HANDLE handle() const;
> #endif // Q_WS_WIN
> 
> Does it have to do with the compilation error ?
> 

I can assume that on linux HFONT is not supported,
as per above, instead it should be Qt::HANDLE.

Now the question is how should we resolve it? 
Xavi, Marcos?



> Must i build first harbour and then the sources for qt ?
> 

Not neccessarily, though it should be a good-practice rule.

Regards
Pritpal Bedi


-- 
View this message in context: 
http://www.nabble.com/Error-compiling-hbqt-with-latest-svn-tp22968155p22971894.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

Reply via email to