You need to point -L to the proper QT lib dir, I'm not sure which is that on
your system, on mine it is: C:\devl\Qt\2009.01\qt\lib

Brgds,
Viktor

On Fri, Mar 27, 2009 at 3:53 PM, Massimo Belgrano <[email protected]>wrote:

> Thanks for clarification i have also switched to MinGW
> now compile with success the library and can use hbmk in c:harbour\tests
> Now please help me in last step
> c:\harbour\contrib\hbqt\tests>hbmk2 demoqt -Lc:\devl\qt\lib
> hbmk: Processing configuration: c:\harbour\mingw\bin\hbmk.cfg
> hbmk: Processing: hbqt.hbp
> Harbour 1.1.0dev (Rev. 10709)
> 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.
> C:\devl\MinGW\bin\..\lib\gcc\mingw32\3.4.5\..\..\..\..\mingw32\bin\ld.exe:
> canno
> t find -lQtCore4
> collect2: ld returned 1 exit status
> hbmk: Error: Running C compiler. 1:
> gcc.exe demoqt.c C:\Users\MBELGR~1\AppData\Local\Temp\hbmk_8hp3pl.c    -O3
>  -ode
> moqt.exe -Ic:/harbour/mingw/include -Lc:/harbour/mingw/lib -Lc:/devl/qt/lib
> -mwi
> ndows -Wl,--start-group -lhbcpage -lhblang -lhbcommon -lhbcplr -lhbdebug
> -lhbvm
> -lhbrdd -lhbusrrdd -lhbuddall -lhbhsx -lhbsix -lrddntx -lrddnsx -lrddcdx
> -lrddfp
> t -lhbrtl -lhbpp -lhbmacro -lhbextern -lgtcgi -lgtpca -lgtstd -lgtwin
> -lgtwvt -l
> gtgui -lhbpcre -lhbzlib -lsupc++ -lhbqt -lQtCore4 -lQtGui4 -lQtNetwork4
> -lQtWebK
> it4 -luser32 -lgdi32 -ladvapi32 -lws2_32 -lwinspool -lcomctl32 -lcomdlg32
> -lshel
> l32 -lole32 -loleaut32 -luuid -lmpr -lwinmm -lmapi32 -Wl,--end-group
>
>
>
>
> 2009/3/27 Viktor Szakáts <[email protected]>:
> > On Fri, Mar 27, 2009 at 1:50 PM, Massimo Belgrano <[email protected]>
> > wrote:
> >>
> >> Thanks
> >> sorry for wasting your time
> >> I am started from the idea that qt support only mingw, so i not
> >> thinked at traslate minigw notation
> >> Is possible use msvc9 with qt?
> >
> > QT supports MSVC, but the binary distribution doesn't
> > ship COFF import libs for MSVC, so you either have to
> > generate them or create an MSVC build manually. I didn't try
> > to go that way, instead I've just switched to MinGW 4.3.3 for
> > my own apps.
> > --
> > Viktor
> >
> >
> > _______________________________________________
> > Harbour mailing list
> > [email protected]
> > http://lists.harbour-project.org/mailman/listinfo/harbour
> >
> >
>
>
>
> --
> Massimo Belgrano
> _______________________________________________
> Harbour mailing list
> [email protected]
> http://lists.harbour-project.org/mailman/listinfo/harbour
>



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

Reply via email to