Hi Pritpal,

Trouble isn't that big fortunately.

Please modify contrib/hbqt/hbqt.hbc so that the
line ending with supc++ gets moved after the
last libs= line. This should solve the problem.

I'll commit it in a while, currently I'm in the middle
of other changes.

Brgds,
Viktor

On 2009.08.12., at 6:46, Pritpal Bedi wrote:


Hello Viktor

Today I updated from SVN and made a clean build.
Libs are reported built properly but I am unable to
build .exe's, demoqt and demoxbp.
Here is the last console visible output:

C:/harbour_dev/harbour/mingw/lib/ libhbqt.a(QAbstractListModel.o):QAbstractListMo
del.cpp:(.text+0x3d): undefined reference to `__gxx_personality_sj0'
C:/harbour_dev/harbour/mingw/lib/ libhbqt.a(QAbstractListModel.o):QAbstractListMo del.cpp:(.text+0xfb): undefined reference to `operator new(unsigned int)' C:/harbour_dev/harbour/mingw/lib/ libhbqt.a(QAbstractListModel.o):QAbstractListMo
del.cpp:(.text+0x1aa): undefined reference to `operator delete(void*)'
collect2: ld returned 1 exit status
hbmk: Error: Running linker. 1

gcc.exe demoqt.o hbmk_kszuse.o    -mwindows -lsupc++ -lhbqt -lversion
-lshlwapi
-lQtCore4 -lQtGui4 -lQtNetwork4 -lQtWebKit4 -lhbwin -lhbextern - lhbdebug
-lhbvm
-lhbrtl -lhblang -lhbcpage -lgtcgi -lgtpca -lgtstd -lgtwin -lgtwvt - lgtgui
-lhbr
dd -lhbusrrdd -lhbhsx -lhbsix -lrddntx -lrddcdx -lrddfpt -lhbuddall - lrddnsx
-lh
brtl -lhbvm -lhbmacro -lhbcplr -lhbpp -lhbcommon -lhbpcre -lhbzlib
-lkernel32 -l
user32 -lgdi32 -ladvapi32 -lws2_32 -lwinspool -lcomctl32 -lcomdlg32
-lshell32 -l
ole32 -loleaut32 -luuid -lmpr -lwinmm -lmapi32 -limm32 -lmsimg32
-odemoqt.exe -
LC:/harbour_dev/harbour/mingw/lib -LC:/Qt/2009.01/qt/lib

C:\harbour\contrib\hbqt\tests>

I think Qt libs are not being linked. What I have to do extra?

Regards
Pritpal Bedi
--
View this message in context: 
http://www.nabble.com/Error-Building-demoqt.prg-and-demoxbp.prg-tp24940498p24940498.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

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

Reply via email to