Tiny Core Linux

Tiny Core Extensions => TCE Talk => Topic started by: giac_fab on December 23, 2012, 03:42:56 PM

Title: qt5 & qt creator
Post by: giac_fab on December 23, 2012, 03:42:56 PM
Hi

I'm using  varius versions of qtcreator and qt libraires since some years...
I'm trying now to use qt5 and provided qtcreator ....
It seems to require xcb  but if I install it I get "Segmentation fault" (wrong version ? something else ? ) ...

Does anyone are using it with success ??? How to ???

Hi

Title: Re: qt5 & qt creator
Post by: AmatCoder on December 23, 2012, 05:25:59 PM
Yes, it is the same issue than gtk3 one... If you use precompiled binaries, you can use this workaround:

Make sure you have libx11-xcb.tcz installed and write in terminal:

Code: [Select]
tc@box:~$ sudo ln -f -s /tmp/tcloop/libx11-xcb/usr/local/lib/libX11.so.6.3.0 /usr/lib/libX11.so.6.3.0
tc@box:~$ sudo ln -f -s /tmp/tcloop/libx11-xcb/usr/local/lib/libX11.so.6.3.0 /usr/lib/libX11.so.6
tc@box:~$ sudo ln -f -s /tmp/tcloop/libx11-xcb/usr/local/lib/libX11.so.6.3.0 /usr/lib/libX11.so
Title: Re: qt5 & qt creator
Post by: giac_fab on December 24, 2012, 01:16:56 AM
ohhhh thank you, it works ( yes I'm using precompiled binaries)!!!

EDIT :
It needs a lot of dependancies:
old versions :
 compiletc
 mpfr
 gdb (optional)

since qt5 also:
 libx11-xcb
 libxslt
 gstreamer-dev
 bash
 Xorg-7.5-dev
and something else ( when it stars it search other gstreamer libraires for plugin help )

Also it gives to me problems with "refresh" when I move a widget ( no problems with qt 4.x.x )
Often it freezes, and I can't use my keyboard in X11 anymore (!!!) only on console mode. I need to reboot to have keyboard working again ( No results with exit and login again ) .
Also this error :
Qt at-spi: error getting the accessibility dbus address:  "The name org.a11y.Bus was not provided by any .service files"
Accessibility DBus not found. Falling back to session bus.
I don't know if this is the cause of problems ....

I can't understand if it's a problem with jwm ( a snapshot compiled by me ).

Do you have similar problems ?
Could you post all tcz you load ?
Cold you tell me what wm/Xorg you are using ?

Thank you bye !



Title: Re: qt5 & qt creator
Post by: Rich on December 24, 2012, 06:30:54 AM
Hi giac_fab
Quote
Qt at-spi: error getting the accessibility dbus address:  "The name org.a11y.Bus was not provided by any .service files"
Accessibility DBus not found. Falling back to session bus.
You might want to look at  at-spi.tcz  for that, though I doubt that's why it's freezing.
Title: Re: qt5 & qt creator
Post by: AmatCoder on December 24, 2012, 11:14:15 AM

Also it gives to me problems with "refresh" when I move a widget ( no problems with qt 4.x.x )
Often it freezes, and I can't use my keyboard in X11 anymore (!!!) only on console mode. I need to reboot to have keyboard working again ( No results with exit and login again ) .

No problem here...I use OpenBox/Xorg-7.5...

Quote
Also this error :
Qt at-spi: error getting the accessibility dbus address:  "The name org.a11y.Bus was not provided by any .service files"
Accessibility DBus not found. Falling back to session bus.
I don't know if this is the cause of problems ....

No, this happens here also...It does not hurt but you can suppress that warning compiling/installing at-spi2-core.
See: http://www.linuxfromscratch.org/blfs/view/svn/x/at-spi2-core.html (http://www.linuxfromscratch.org/blfs/view/svn/x/at-spi2-core.html)

Quote
I can't understand if it's a problem with jwm ( a snapshot compiled by me ).

I don't know, but it is possible... Try others WM.
Edited:
Confirmed...flwm and jwm give me an unexpected XWindowMessage  error when I move widgets in designer...no crash here, but it will be just a matter of time.
You must use another WM.

Quote
Could you post all tcz you load ?
I do not remember all tcz needed, but you need at least:
Edited:
Complete list:
Note: You must execute qtcreator.sh