Recent

Author Topic: Qt is very buggy?  (Read 9560 times)

Sora-Kun

  • Full Member
  • ***
  • Posts: 162
  • I can smell your presence ...
    • Sora-Kun
Qt is very buggy?
« on: December 06, 2011, 06:09:18 pm »
Hello,
 My main Operating System is Linux Mint KDE, and I installed a KDE theme which makes windows transparent, however when I compile Lazarus or any lazarus made application with Qt LCL widgets, it become very buggy and raises a lot of run times errors.
How to fix this ?
Thanks.
if nothing suites you, make it your self!
The Revolution, Genesis. The next generation IDE.
If you want to help, PM me.

Made in Lazarus.
Soon, in The WWW.

Blaazen

  • Hero Member
  • *****
  • Posts: 3237
  • POKE 54296,15
    • Eye-Candy Controls
Re: Qt is very buggy?
« Reply #1 on: December 06, 2011, 06:15:02 pm »
Property TForm.AlphaBlendValue does nothing in Linux+KDE4 / Lazarus+Qt (there's no transparency) but I never had runtime errors because of it.
Lazarus 2.3.0 (rev main-2_3-2863...) FPC 3.3.1 x86_64-linux-qt Chakra, Qt 4.8.7/5.13.2, Plasma 5.17.3
Lazarus 1.8.2 r57369 FPC 3.0.4 i386-win32-win32/win64 Wine 3.21

Try Eye-Candy Controls: https://sourceforge.net/projects/eccontrols/files/

Sora-Kun

  • Full Member
  • ***
  • Posts: 162
  • I can smell your presence ...
    • Sora-Kun
Re: Qt is very buggy?
« Reply #2 on: December 06, 2011, 06:35:47 pm »
Hello, Actually, when I talked about transparency, I mean the KDE transparency theme, here a screenshot if my Laptop: http://zupimages.net/up/2/546183547.png.

The Runtime error comes whenever I try to show a new Form on my application.
I will try to analyze more the problem.
Thank you by the way  O:-) :-*
if nothing suites you, make it your self!
The Revolution, Genesis. The next generation IDE.
If you want to help, PM me.

Made in Lazarus.
Soon, in The WWW.

JuhaManninen

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 4467
  • I like bugs.
Re: Qt is very buggy?
« Reply #3 on: December 06, 2011, 08:47:53 pm »
Oxygen theme in some KDE versions causes problems.
You didn't mention your theme's name or the version of KDE but you could try changing the theme.

Juha
Mostly Lazarus trunk and FPC 3.2 on Manjaro Linux 64-bit.

Sora-Kun

  • Full Member
  • ***
  • Posts: 162
  • I can smell your presence ...
    • Sora-Kun
Re: Qt is very buggy?
« Reply #4 on: December 06, 2011, 09:40:14 pm »
I tried other themes,, but still VERY buggy .. I will try to disable desktop effects..
if nothing suites you, make it your self!
The Revolution, Genesis. The next generation IDE.
If you want to help, PM me.

Made in Lazarus.
Soon, in The WWW.

Sora-Kun

  • Full Member
  • ***
  • Posts: 162
  • I can smell your presence ...
    • Sora-Kun
Re: Qt is very buggy?
« Reply #5 on: December 06, 2011, 09:46:53 pm »
Disabling desktop effects solved it partially, still some errors unfixed.
Too bad, I find the gtk2 LCL more stable even on KDE.
Any way, thank you :)  O:-)
if nothing suites you, make it your self!
The Revolution, Genesis. The next generation IDE.
If you want to help, PM me.

Made in Lazarus.
Soon, in The WWW.

zeljko

  • Hero Member
  • *****
  • Posts: 1596
    • http://wiki.lazarus.freepascal.org/User:Zeljan
Re: Qt is very buggy?
« Reply #6 on: December 07, 2011, 04:30:13 pm »
@Sora-Kun, please open issue about this and attach example. I don't see any problems here with qt.

Sora-Kun

  • Full Member
  • ***
  • Posts: 162
  • I can smell your presence ...
    • Sora-Kun
Re: Qt is very buggy?
« Reply #7 on: December 07, 2011, 05:08:41 pm »
How to create a new issue ?
if nothing suites you, make it your self!
The Revolution, Genesis. The next generation IDE.
If you want to help, PM me.

Made in Lazarus.
Soon, in The WWW.

Sora-Kun

  • Full Member
  • ***
  • Posts: 162
  • I can smell your presence ...
    • Sora-Kun
Re: Qt is very buggy?
« Reply #8 on: December 07, 2011, 05:35:23 pm »
For example, when I Show a new form, the compiler raises an error and refers to this procedure:
Code: [Select]
// in file qtobject.inc
procedure TQtWidgetSet.AppWaitMessage;
begin
  {we cannot call directly processEvents() with this flag
   since it produces AV's sometimes, so better check is there
   any pending event.}
  QCoreApplication_processEvents(QEventLoopWaitForMoreEvents); // <--- HERE!
end;
if nothing suites you, make it your self!
The Revolution, Genesis. The next generation IDE.
If you want to help, PM me.

Made in Lazarus.
Soon, in The WWW.

zeljko

  • Hero Member
  • *****
  • Posts: 1596
    • http://wiki.lazarus.freepascal.org/User:Zeljan
Re: Qt is very buggy?
« Reply #9 on: December 07, 2011, 08:43:59 pm »
For example, when I Show a new form, the compiler raises an error and refers to this procedure:
Code: [Select]
// in file qtobject.inc
procedure TQtWidgetSet.AppWaitMessage;
begin
  {we cannot call directly processEvents() with this flag
   since it produces AV's sometimes, so better check is there
   any pending event.}
  QCoreApplication_processEvents(QEventLoopWaitForMoreEvents); // <--- HERE!
end;

It's nonsense. Please provide: Operating system  vers (your Mint distribution version),KDE version, Qt libs version, libQt4Pas version, 32 or 64 bit AND THAT SPECIAL KDE THEME SO I CAN INSTALL IT AND TEST.

« Last Edit: December 07, 2011, 08:47:03 pm by zeljko »

Sora-Kun

  • Full Member
  • ***
  • Posts: 162
  • I can smell your presence ...
    • Sora-Kun
Re: Qt is very buggy?
« Reply #10 on: December 08, 2011, 09:14:04 pm »
Linux Mint 10 Julia

KDE - Be Free!
Platform Version 4.6.00 (4.6.0)

Using Qt version 4.7.0

libQt4Pas v 32

and using Oxygen Transparent theme, which makes all Qt applications even  the ones made in lazarus, transparent.
if nothing suites you, make it your self!
The Revolution, Genesis. The next generation IDE.
If you want to help, PM me.

Made in Lazarus.
Soon, in The WWW.

zeljko

  • Hero Member
  • *****
  • Posts: 1596
    • http://wiki.lazarus.freepascal.org/User:Zeljan
Re: Qt is very buggy?
« Reply #11 on: December 10, 2011, 10:38:14 am »
1.KDE 4.6.0 have very nasty bug in oxygen theme, it crashes.
2.Qt-4.7.0 have few X11 bugs which are fixed in 4.7.2,4.7.3 and 4.7.4
better update your qt (and KDE if you can or don't use oxygen theme).
This is KDE bug I'm talking about: https://bugs.kde.org/show_bug.cgi?id=265271
Also YOU MUST use libQt4Pas bindings compiled with -mstackrealign for qt >= 4.7

 

TinyPortal © 2005-2018