[SOLVED] Label texts missing in qt5 lazarus / 31-LCL ---------------------------------------------------------------------- Adrie · 2016-01-18 13:35 I am using Lazarus 1.4.4 and KDE 5.4.2. My application worked OK in KDE 4.X, but when I open and/or build and/or use it, all the texts in labels are missing. Also, Lazarus 1.4.4 will not build using qt as widget set. After building Lazarus is still using gtk. I guess the problems are related. How can I solve these problems? ---------------------------------------------------------------------- JuhaManninen · 2016-01-18 14:43 Quote from: Adrie on January 18, 2016, 02:35:21 pmAlso, Lazarus 1.4.4 will not build using qt as widget set. After building Lazarus is still using gtk. I guess the problems are related. How can I solve these problems? Lazarus needs QT 4 libs. Your KDE 5 system may not have them. You should look at the linker output when you build Lazarus. Very likely it threw an error about missing QT lib and did not generate an executable. I don't know about the Label issue. Label Captions work also in GTK2. ---------------------------------------------------------------------- zamtmn · 2016-01-18 14:44 http://bugs.freepascal.org/view.php?id=28155 ---------------------------------------------------------------------- Adrie · 2016-01-18 14:49 Thanks, zamtmn. I'll just have to change theme. @JuhaManninen. libqt4pas5 is installed and also libqt4-deb. ---------------------------------------------------------------------- JuhaManninen · 2016-01-18 15:26 Quote from: Adrie on January 18, 2016, 03:49:03 pm@JuhaManninen. libqt4pas5 is installed and also libqt4-deb. What does linker say when you build Lazarus? ---------------------------------------------------------------------- Adrie · 2016-01-19 08:08 Nothing special. It just builds Lazarus in GTK without error messages. Ah. I have found something. When I choose "Build Lazarus with profile: Normal IDE" it works, but when I choose Optimized IDE Lazarus is built in GTK, even if I have choosen qt. ---------------------------------------------------------------------- Adrie · 2016-01-19 12:12 Quote from: zamtmn on January 18, 2016, 03:44:47 pmhttp://bugs.freepascal.org/view.php?id=28155 Changing the theme works like a charm. ---------------------------------------------------------------------- JuhaManninen · 2016-01-19 12:50 Quote from: Adrie on January 19, 2016, 09:08:12 amAh. I have found something. When I choose "Build Lazarus with profile: Normal IDE" it works, but when I choose Optimized IDE Lazarus is built in GTK, even if I have choosen qt. Apparently you did not choose QT for the Optimized IDE then. ---------------------------------------------------------------------- Adrie · 2016-01-19 13:45 Quote from: JuhaManninen on January 19, 2016, 01:50:13 pmQuote from: Adrie on January 19, 2016, 09:08:12 amAh. I have found something. When I choose "Build Lazarus with profile: Normal IDE" it works, but when I choose Optimized IDE Lazarus is built in GTK, even if I have choosen qt. Apparently you did not choose QT for the Optimized IDE then. Yes, I did.