i have tried follow

SET HB_QT_STATIC=yes
SET HB_INC_QT=c:\devl\Qt\2009.02\qt\include
set HB_CONTRIB_ADDONS=gtqtc

c:\harbour\contrib\hbqt\tests>hbmk2 demoqt -gui -Lc:\devl\Qt\2009.02\qt\lib
hbmk: Processing configuration: c:\harbour\mingw\bin\hbmk.cfg

hbmk: Processing: hbqt.hbc

Harbour 2.0.0dev (Rev. 11260)
Copyright (c) 1999-2009, http://www.harbour-project.org/
Compiling 'demoqt.prg'...
Lines 673, Functions/Procedures 18
Generating C source output to 'demoqt.c'... Done.
c:/devl/mingwtdm/bin/../lib/gcc/mingw32/4.4.0/../../../../mingw32/bin/ld.exe: ca
nnot find -lhbqts
collect2: ld returned 1 exit status
hbmk: Error: Running linker. 1

gcc.exe demoqt.o hbmk_5tzc0u.o    -mwindows -Wl,--start-group -lsupc++ -lhbqts -
lversion -lshlwapi -lQtCore -lQtGui -lQtNetwork -lQtWebKit -lhbcpage -lhblang -l
hbcommon -lhbcplr -lhbdebug -lhbvm -lhbrdd -lhbusrrdd -lhbhsx -lhbsix -lrddntx -
lrddcdx -lrddfpt -lhbuddall -lrddnsx -lhbrtl -lhbpp -lhbmacro -lhbextern -lgtcgi
 -lgtpca -lgtstd -lgtwin -lgtwvt -lgtgui -lhbpcre -lhbzlib -lkernel32 -luser32 -
lgdi32 -ladvapi32 -lws2_32 -lwinspool -lcomctl32 -lcomdlg32 -lshell32 -lole32 -l
oleaut32 -luuid -lmpr -lwinmm -lmapi32 -limm32 -lmsimg32 -Wl,--end-group -odemoq
t.exe -Lc:/harbour/mingw/lib -Lc:/devl/Qt/2009.02/qt/lib



2009/6/7 Viktor Szakáts <harbour...@syenar.hu>:
>> How can i set HB_QT_STATIC.
>
> Is this a serious question? 8-|
>
> set HB_QT_STATIC=1
>
> (where '1' is any value except '0' and 'no')
>
>> is possible compile with hbmk2 a project with static and another with 
>> dynamic?
>> Having qt installed twice for example one for commercial licenze and
>> one for lglp
>
> Yes, I'll commit some stuff quite soon which will address that.
>
> But if you word the question like that, I'm again not convinced that
> static linking is allowed without a commercial license.
>
> Anyone?
>
> Brgds,
> Viktor
>
> On Sun, Jun 7, 2009 at 2:02 PM, Massimo Belgrano<mbelgr...@deltain.it> wrote:
>> How can i set HB_QT_STATIC.
>> is possible compile with hbmk2 a project with static and another with 
>> dynamic?
>> Having qt installed twice for example one for commercial licenze and
>> one for lglp
>>
>> 2009/6/7  <vszak...@users.sourceforge.net>:
>>> Revision: 11258
>>>          
>>> http://harbour-project.svn.sourceforge.net/harbour-project/?rev=11258&view=rev
>>> Author:   vszakats
>>> Date:     2009-06-07 11:33:58 +0000 (Sun, 07 Jun 2009)
>>>
>>> Log Message:
>>> -----------
>>> 2009-06-07 13:32 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
>>>  * contrib/hbqt/tests/hbqt.hbc
>>>  * contrib/gtqtc/tests/gtqtc.hbc
>>>    + Added static linking option for Windows. It can be
>>>      enabled by setting envvar HB_QT_STATIC.
>>>      (needs latest hbmk2)
>>
>>
>>
>> --
>> Massimo Belgrano
>> _______________________________________________
>> Harbour mailing list
>> Harbour@harbour-project.org
>> http://lists.harbour-project.org/mailman/listinfo/harbour
>>
> _______________________________________________
> Harbour mailing list
> Harbour@harbour-project.org
> http://lists.harbour-project.org/mailman/listinfo/harbour
>



-- 
Massimo Belgrano
_______________________________________________
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour

Reply via email to