Hi,

My os is archlinux 64bit., desktop is KDE 4.2.1

Finally i got hbqt lib after some changes:

commented the line //#if QT_VERSION >= 0x040500  and //#endif at files

hbqt_qabstractbutton.cpp 
hbqt_qabstractitemview.cpp

Also at hbqt_qabstractitemview.cpp i changed the include line to 

<QtGui/QAbstractItemView>


Using the following command i got the test program compiled and linked:

[vagsk...@vsarch tests]$ ~/harbour/bin/hbmk2 demoqt.prg -L/usr/lib -lhbqt
-lQtCore -lQtGui
hbmk: Processing configuration: /home/vagskarm/harbour/bin/hbmk.cfg
Harbour 1.1.0dev (Rev. 10687)
Copyright (c) 1999-2009, http://www.harbour-project.org/
Compiling 'demoqt.prg'...
Lines 70, Functions/Procedures 1
Generating C source output to 'demoqt.c'... Done.

But when i try to run it i am getting:

[vagsk...@vsarch tests]$ ./demoqt
Xlib:  extension "Generic Event Extension" missing on display ":0.0".
Xlib:  extension "Generic Event Extension" missing on display ":0.0".
Xlib:  extension "Generic Event Extension" missing on display ":0.0".

Unrecoverable error 6005: Exception SIGSEGV at address 0x21
Called from QT_QWIDGET_SETWINDOWTITLE(0)
Called from MAIN(63) in demoqt.prg

Am i missing something ?

Best regards
Vagelis
-- 
View this message in context: 
http://www.nabble.com/A-little-help-with-hbqt-demoqt-tp22730759p22730759.html
Sent from the Harbour - Dev mailing list archive at Nabble.com.

_______________________________________________
Harbour mailing list
[email protected]
http://lists.harbour-project.org/mailman/listinfo/harbour

Reply via email to