Harbour Integrate with QT

HMG Samples and Enhancements

Moderator: Rathinagiri

Post Reply
imniche
Posts: 4
Joined: Fri Jul 08, 2011 6:13 am

Harbour Integrate with QT

Post by imniche »

Hi,

Can any one can share your experience on integrate harbour with Qt ? The resource im looking for binaries needs to be installed, pre-requisites , examples etc.

I have QT designer and hb20, hb21 installed in my pc.

I'm getting below error.

C:\apps\hb21\sam>hbmk2 sam
Harbour 2.1.0rc2 (Rev. 16888)
Copyright (c) 1999-2011, http://harbour-project.org/
Compiling 'sam.prg'...
Lines 2368, Functions/Procedures 1
Generating C source output to 'C:\Users\Acer\AppData\Local\Temp\hbmk_pcy833.dir\sam.c'... Done.
C:/Users/Acer/AppData/Local/Temp/hbmk_pcy833.dir/sam.o:sam.c:(.data+0x38): undefined reference to `HB_FUN_QAPPLICATION'
C:/Users/Acer/AppData/Local/Temp/hbmk_pcy833.dir/sam.o:sam.c:(.data+0x48): undefined reference to `HB_FUN_QMAINWINDOW'
collect2: ld returned 1 exit status
hbmk2: Error: Running linker. 1
gcc.exe C:/Users/Acer/AppData/Local/Temp/hbmk_pcy833.dir/sam.o C:/Users/Acer/AppData/Local/Temp/hbmk_pcy833.dir/hbmk_3m78pv.o -mconsole -Wl,--start-group -lhbextern -
hbdebug -lhbvm -lhbrtl -lhblang -lhbcpage -lgtcgi -lgtpca -lgtstd -lgtwin -lgtwvt -lgtgui -lhbrdd -lhbuddall -lhbusrrdd -lrddntx -lrddcdx -lrddnsx -lrddfpt -lhbrdd -lhbh
x -lhbsix -lhbmacro -lhbcplr -lhbpp -lhbcommon -lhbmainstd -lkernel32 -luser32 -lgdi32 -ladvapi32 -lws2_32 -lwinspool -lcomctl32 -lcomdlg32 -lshell32 -luuid -lole32 -lol
aut32 -lmpr -lwinmm -lmapi32 -limm32 -lmsimg32 -lwininet -lhbpcre -lhbzlib -Wl,--end-group -osam.exe -LC:/HMG3.0.37/HARBOUR/lib/win/mingw -LC:/HMG3.0.37/HARBOUR/bin


I'm using Windows 7. thanks.

Cheers
Dhana
User avatar
apais
Posts: 440
Joined: Fri Aug 01, 2008 6:03 pm
DBs Used: DBF
Location: uruguay
Contact:

Re: Harbour Integrate with QT

Post by apais »

You'll have to study HMG4 sources to see how QT and harbour interacts to create HMG4, or else ask in harbour's user group.

http://groups.google.com/group/harbour-users

This is an HMG group and your question exceeds its scope.

HTH
Angel
Angel Pais
Web Apps consultant/architect/developer.
imniche
Posts: 4
Joined: Fri Jul 08, 2011 6:13 am

Re: Harbour Integrate with QT

Post by imniche »

Hi,

Thanks. I will look at it.

Cheers
Post Reply