From: Googie on
Few days ago I read somewhere on this group a discussion about themes
for Tile. TileQt and TileGTK status came out by the way, so here it
is, as I tested it on Linux few minutes ago. Straight from CVS. I hope
it's good enough feedback.

[TileQt]

1. Won't compile until line "#define TILE_VERSION TTK_VERSION" is
added to top of tileQt_Init.cpp.

2. After successful compilation and installation, I was unable to load
extension with following error message:
couldn't load file "/opt/ActiveTcl-8.5/lib/tileqt0.5/
libtileqt0.5.so": /opt/ActiveTcl-8.5/lib/tileqt0.5/libtileqt0.5.so:
undefined symbol: _ZN6QGList5clearEv

[TileGTK]

1. Compiles without any problems, but here's how it behaves:

$ wish
% package require tile
0.8.3
% package require ttk::theme::tilegtk
theme "tilegtk" doesn't
exist
% package require ttk::theme::tilegtk ;# I did the second load
here to show different result message
Theme tilegtk already
exists
% ttk::setTheme tilegtk
Theme tilegtk already
exists
%

and there is no visual change, like theme is not working at all.
I really like the idea of these two themes being developed and I hope
they will be stable some day ...sooner than later ;)

Regards,
Googie
From: Georgios Petasis on
στις 13/6/2010 15:00, O/H Googie έγραψε:
> Few days ago I read somewhere on this group a discussion about themes
> for Tile. TileQt and TileGTK status came out by the way, so here it
> is, as I tested it on Linux few minutes ago. Straight from CVS. I hope
> it's good enough feedback.
>
> [TileQt]
>
> 1. Won't compile until line "#define TILE_VERSION TTK_VERSION" is
> added to top of tileQt_Init.cpp.

I think this is probably a Tk 8.5 bug. If you look into the code, this
error originates from Ttk_InitStubs(interp).

In Tk 8.6 the code compiles ok, but does not run: you get an error about
"version conflict for package Ttk: have 8.6b1.2, need 8.0"

(This solution is there in tile-gtk, but it shouldn't be there also, it
is a Tk bug).

>
> 2. After successful compilation and installation, I was unable to load
> extension with following error message:
> couldn't load file "/opt/ActiveTcl-8.5/lib/tileqt0.5/
> libtileqt0.5.so": /opt/ActiveTcl-8.5/lib/tileqt0.5/libtileqt0.5.so:
> undefined symbol: _ZN6QGList5clearEv

My library was built and loaded fine in Tcl - apart from the Ttk version
bug. I tried under fedora 13, 64 bit. Under what operating system you
are seeing this behaviour? What is you Qt version?

>
> [TileGTK]
>
> 1. Compiles without any problems, but here's how it behaves:
>
> $ wish
> % package require tile
> 0.8.3
> % package require ttk::theme::tilegtk
> theme "tilegtk" doesn't
> exist
> % package require ttk::theme::tilegtk ;# I did the second load
> here to show different result message
> Theme tilegtk already
> exists
> % ttk::setTheme tilegtk
> Theme tilegtk already
> exists
> %
>
> and there is no visual change, like theme is not working at all.
> I really like the idea of these two themes being developed and I hope
> they will be stable some day ...sooner than later ;)

I haven't tried this - I have the same bug as tile-qt - the wrong Ttk
version. But again what you describe seems a problem with theme
registration. Why do you use "package require tile" instead of Ttk?
I don't know how tile & ttk mix together.
If you omit the loading of the tile package, what happens?

George
From: Googie on
On 13 Cze, 15:13, Georgios Petasis <peta...(a)iit.demokritos.gr> wrote:
> I think this is probably a Tk 8.5 bug. If you look into the code, this
> error originates from Ttk_InitStubs(interp).
>

True.

> > 2. After successful compilation and installation, I was unable to load
> > extension with following error message:
> > couldn't load file "/opt/ActiveTcl-8.5/lib/tileqt0.5/
> > libtileqt0.5.so": /opt/ActiveTcl-8.5/lib/tileqt0.5/libtileqt0.5.so:
> > undefined symbol: _ZN6QGList5clearEv
>
> My library was built and loaded fine in Tcl - apart from the Ttk version
> bug. I tried under fedora 13, 64 bit. Under what operating system you
> are seeing this behaviour? What is you Qt version?

It's Slackware 13.1 (32bit). I use ActiveTcl 8.5.7. Qt is 4.6.2.

> Why do you use "package require tile" instead of Ttk?
> I don't know how tile & ttk mix together.
> If you omit the loading of the tile package, what happens?

You're right. Ommiting 'tile' package helps. tilegtk actually works (I
didn't test visual behaviour yet, I'll do it later, but package loads
and single [ttk::button] looks ok.

Thanks!
Regards,
Googie