I've posted the right settings for both GNU and hbmk2 yesterday to
this very list.
It seems no one is reading my messages, so I will simply give it up.
Sometimes it's enough to look into .hbc file in question to find
out the answer.
The warnings are result of demo code I can't do anything about it,
in the beginning I tried to suppress them but gave up too.
Brgds,
Viktor
On 2009.08.21., at 11:37, Horodyski Marek (PZUZ) wrote:
-----Original Message-----
From: Viktor Szakáts [mailto:harbour...@syenar.hu]
Sent: Friday, August 21, 2009 9:50 AM
To: Harbour Project Main Developer List.
Subject: Re: [Harbour] Plugins in hbqts library
If you have HB_INC_QT set, but the lib still doesn't build,
you have HB_INC_QT set incorrectly.
Please note the default location of this dir is different for
static and normal builds of QT.
But now I have another message :
C:\harbour\contrib\hbxbp\tests>hbmk2 demoxbp
hbmk: Processing local make script: hbmk.hbm
hbmk: Processing configuration: C:\harbour\bin\hbmk.cfg
Harbour 2.0.0beta2 (Rev. 12131)
Copyright (c) 1999-2009, http://www.harbour-project.org/
Compiling 'demoxbp.prg'...
demoxbp.prg(551) Warning W0004 Codeblock parameter 'MP2' declared
but not used in function 'BUILD_CHECKBOX'
[... 25 similar lines]
demoxbp.prg(1240) Warning W0004 Codeblock parameter 'E' declared
but not used in function 'BUILD_FILEDIALOG'
Lines 3200, Functions/Procedures 48
Generating C source output to 'demoxbp.c'... Done.
c:/gcc/mingw/bin/../lib/gcc/mingw32/4.4.0/../../../../mingw32/bin/
ld.exe: cannot find -lQtCore
collect2: ld returned 1 exit status
hbmk: Error: Running linker. 1
gcc.exe demoxbp.o hbmk_an3mb4.o -mwindows -lhbxbp -lhbqts -
lversion -lshlwapi -lQtCore -lQtGui -lQtNetwork -lQtWebKit -lsu
pc++ -lhbextern -lhbdebug -lhbvm -lhbrtl -lhblang -lhbcpage -lgtcgi -
lgtpca -lgtstd -lgtwin -lgtwvt -lgtgui -lhbrdd -lhbusrrd
d -lhbhsx -lhbsix -lrddntx -lrddcdx -lrddfpt -lhbuddall -lrddnsx -
lhbrtl -lhbvm -lhbmacro -lhbcplr -lhbpp -lhbcommon -lhbpcre
-lhbzlib -lkernel32 -luser32 -lgdi32 -ladvapi32 -lws2_32 -lwinspool -
lcomctl32 -lcomdlg32 -lshell32 -lole32 -loleaut32 -luui
d -lmpr -lwinmm -lmapi32 -limm32 -lmsimg32 -odemoxbp.exe -LC:/
harbour/lib/win/mingw -LC:/harbour/lib -L/lib
My environment set :
C:\harbour\contrib\hbxbp\tests>set hb
HB_COMPILER=mingw
HB_INC_QT=C:\Qt\4.5.2\include
HB_QT_STATIC=yes
I donn't know what difference are between static and normal builds.
Is QtCore a .dll in C:\Qt\4.5.2\bin\QtCore4.dll ?
Maybe I should not use the static, but normal build ?
Regards,
Marek Horodyski
_______________________________________________
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