Hi Pritpal,
Many thanks, just a few observations after testing with demoqtc.prg:
- Makefile needs to be updated according to hbqt Makefile in order to
  make it work on Darwin. hbqt Makefile can be used as-is, it's enough
  to replace file list.
- demoqtc.prg should be replaced by our tests/wvtext.prg test program,
  as it should work similarly with both GTs, that would help testing and
  spotting differences.
- I'm not sure codepages are handled correctly, ALERT() box drawing
  chars are wrong here (showing as accented chars).
- Great deal of flicker and the app even *loses focus* for a moment when
  using resize button, changing closable setting, maybe more.
- Resize doesn't work.
- Mark & Copy doesn't work.

If I try to link my app with hbzlib, I'm getting this:
c:/devl/hbmingw-1.1/lib/libhbzlib.a(inflate.o):inflate.c:(.text+0x100):
multiple definition of `inflateInit2_'
C:/devl/hbmingw-ext/lib/libQtCore4.a(d003233.o):(.text+0x0): first defined
here
c:/devl/hbmingw-1.1/lib/libhbzlib.a(inflate.o):inflate.c:(.text+0x210):
multiple definition of `inflateEnd'
C:/devl/hbmingw-ext/lib/libQtCore4.a(d003232.o):(.text+0x0): first defined
here
c:/devl/hbmingw-1.1/lib/libhbzlib.a(inflate.o):inflate.c:(.text+0xb80):
multiple definition of `inflate'
C:/devl/hbmingw-ext/lib/libQtCore4.a(d003231.o):(.text+0x0): first defined
here
c:/devl/hbmingw-1.1/lib/libhbzlib.a(inflate.o):inflate.c:(.text+0x2e60):
multiple definition of `inflateInit_'
C:/devl/hbmingw-ext/lib/libQtCore4.a(d003234.o):(.text+0x0): first defined
here
c:/devl/hbmingw-1.1/lib/libhbzlib.a(zutil.o):zutil.c:(.text+0x0): multiple
definition of `zlibVersion'
C:/devl/hbmingw-ext/lib/libQtCore4.a(d003251.o):(.text+0x0): first defined
here
c:/devl/hbmingw-1.1/lib/libhbzlib.a(deflate.o):deflate.c:(.text+0xb0):
multiple definition of `deflateEnd'
C:/devl/hbmingw-ext/lib/libQtCore4.a(d003207.o):(.text+0x0): first defined
here
c:/devl/hbmingw-1.1/lib/libhbzlib.a(deflate.o):deflate.c:(.text+0x9a0):
multiple definition of `deflate'
C:/devl/hbmingw-ext/lib/libQtCore4.a(d003205.o):(.text+0x0): first defined
here
c:/devl/hbmingw-1.1/lib/libhbzlib.a(deflate.o):deflate.c:(.text+0x1810):
multiple definition of `deflateInit2_'
C:/devl/hbmingw-ext/lib/libQtCore4.a(d003208.o):(.text+0x0): first defined
here
c:/devl/hbmingw-1.1/lib/libhbzlib.a(deflate.o):deflate.c:(.text+0x1b00):
multiple definition of `deflateInit_'
C:/devl/hbmingw-ext/lib/libQtCore4.a(d003209.o):(.text+0x0): first defined
here
collect2: ld returned 1 exit status

If I omit hbzlib, I'm getting this:
c:/devl/hbmingw-1.1/lib/libhbrtl.a(hbzlib.o):hbzlib.c:(.text+0x5fc):
undefined reference to `compressBound'
c:/devl/hbmingw-1.1/lib/libhbrtl.a(hbzlib.o):hbzlib.c:(.text+0x888):
undefined reference to `compressBound'
c:/devl/hbmingw-1.1/lib/libhbrtl.a(hbzlib.o):hbzlib.c:(.text+0x986):
undefined reference to `gzclearerr'
c:/devl/hbmingw-1.1/lib/libhbrtl.a(hbzlib.o):hbzlib.c:(.text+0xa96):
undefined reference to `gzdirect'
c:/devl/hbmingw-1.1/lib/libhbrtl.a(hbzlib.o):hbzlib.c:(.text+0xd70):
undefined reference to `gzungetc'
collect2: ld returned 1 exit status

So it looks like QT isn't compatible with our local hbzlib instance.

Brgds,
Viktor

On Sat, Apr 18, 2009 at 9:42 PM, <[email protected]> wrote:

> Revision: 10884
>
> http://harbour-project.svn.sourceforge.net/harbour-project/?rev=10884&view=rev
> Author:   vouchcac
> Date:     2009-04-18 19:42:15 +0000 (Sat, 18 Apr 2009)
>
> Log Message:
> -----------
> 2009-04-18 12:41 UTC-0800 Pritpal Bedi ([email protected])
>  * harbour/contrib/gtqtc/gtqtc.h
>  * harbour/contrib/gtqtc/gtqtc.cpp
>  * harbour/contrib/gtqtc/moc_gtqtc.cpp
>    + IMPLEMENTED :
>        Fired Events : HB_GTE_SETFOCUS | HB_GTE_KILLFOCUS | HB_GTE_RESIZE
>        Cursor       : SC_NONE | SC_NORMAL | SC_SPECIAL1 | SC_SPECIAL2
>    ! IMPROVED    : Many artifacts.
>
>  * harbour/contrib/gtqtc/tests/demoqtc.prg
>    ! Modified to demonstarte above changes.
>
>    NOTE: GTQTC is complete on base level. Only few gliches remain for
>          cursor management under certain circumstances. The lib is
>          tested on Winsow XP and QT 4.5 (2009.01). I am sure there
>          may be few issues coming up more you test on different
>          platforms.
>
>          So I am looking for feedback especially from *nix users.
>
>    (::)  At this point I will request Przemek to review gtqtc.c.h
>          and point me to optimization it may require.
>
> Modified Paths:
> --------------
>    trunk/harbour/ChangeLog
>    trunk/harbour/contrib/gtqtc/gtqtc.cpp
>    trunk/harbour/contrib/gtqtc/gtqtc.h
>    trunk/harbour/contrib/gtqtc/moc_gtqtc.cpp
>    trunk/harbour/contrib/gtqtc/tests/demoqtc.prg
>
>
> This was sent by the SourceForge.net collaborative development platform,
> the world's largest Open Source development site.
> _______________________________________________
> 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