Qt is very buggy? lazarus / 31-LCL ---------------------------------------------------------------------- Sora-Kun · 2011-12-06 17:09 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. ---------------------------------------------------------------------- Blaazen · 2011-12-06 17:15 Property TForm.AlphaBlendValue does nothing in Linux+KDE4 / Lazarus+Qt (there's no transparency) but I never had runtime errors because of it. ---------------------------------------------------------------------- Sora-Kun · 2011-12-06 17:35 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 ---------------------------------------------------------------------- JuhaManninen · 2011-12-06 19:47 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 ---------------------------------------------------------------------- Sora-Kun · 2011-12-06 20:40 I tried other themes,, but still VERY buggy .. I will try to disable desktop effects.. ---------------------------------------------------------------------- Sora-Kun · 2011-12-06 20:46 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 ---------------------------------------------------------------------- zeljko · 2011-12-07 15:30 @Sora-Kun, please open issue about this and attach example. I don't see any problems here with qt. ---------------------------------------------------------------------- Sora-Kun · 2011-12-07 16:08 How to create a new issue ? ---------------------------------------------------------------------- Sora-Kun · 2011-12-07 16:35 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; ---------------------------------------------------------------------- zeljko · 2011-12-07 19:43 Quote from: Sora-Kun on December 07, 2011, 05:35:23 pmFor 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. ---------------------------------------------------------------------- Sora-Kun · 2011-12-08 20:14 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. ---------------------------------------------------------------------- zeljko · 2011-12-10 09:38 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