Recent

Author Topic: [SOLVED]After OS-update and reboot, gui-apps no longer compile...  (Read 545 times)

cdbc

  • Hero Member
  • *****
  • Posts: 1079
    • http://www.cdbc.dk
Hi
I've updated my PcLinuxOS and rebooted, everything is fine and dandy ...or so I thought, when I start Lazarus again and try to compile the project I left, it won't and show me an Error in /Qt5/QWidgets.pas line 10013. See attachment.
Has anyone seen this before or knows how to fix it?!? Any help appreciated.
TIA
Benny
« Last Edit: May 05, 2023, 09:48:52 am by cdbc »
If it ain't broke, don't fix it ;)
PCLinuxOS(rolling release) 64bit -> KDE5 -> FPC 3.2.2 -> Lazarus 2.2.6 up until Jan 2024 from then on it's: KDE5/QT5 -> FPC 3.3.1 -> Lazarus 3.0

zeljko

  • Hero Member
  • *****
  • Posts: 1596
    • http://wiki.lazarus.freepascal.org/User:Zeljan
Re: After OS-update and reboot, gui-apps no longer compile...
« Reply #1 on: May 04, 2023, 05:36:01 pm »
Seem that your update overrided libQt5Pas with older version. Build your own libQt5Pas from lcl/interfaces/qt5/cbindings if U use trunk lazarus.

cdbc

  • Hero Member
  • *****
  • Posts: 1079
    • http://www.cdbc.dk
Re: After OS-update and reboot, gui-apps no longer compile...
« Reply #2 on: May 04, 2023, 05:47:58 pm »
Hi
@zeljko: I use 3.2.2, would this compile it? What version am I looking for?
There's a reason i don't use trunk... Would I really have to install that?
And last but not least, how does one go about compiling such a beast  ;)
I've found the file in Dolphin, it dates 04.03.2023 @14.24, that's the .pas file.
Regards Benny
If it ain't broke, don't fix it ;)
PCLinuxOS(rolling release) 64bit -> KDE5 -> FPC 3.2.2 -> Lazarus 2.2.6 up until Jan 2024 from then on it's: KDE5/QT5 -> FPC 3.3.1 -> Lazarus 3.0

cdbc

  • Hero Member
  • *****
  • Posts: 1079
    • http://www.cdbc.dk
Re: After OS-update and reboot, gui-apps no longer compile...
« Reply #3 on: May 05, 2023, 09:45:33 am »
Hi
Fixed it (for now anyway)...
I figured, I update my OS on a weekly basis and Fpc/Lazarus when they are released stable. I.e.: I patched the QtWidgets.pas file, that'll last me longer than fiddling with system libraries. This solution is not for all, but I never use hints on Edit-controls, so I commented the offending lines... This patch will break on the next Lazarus update, but by then Lazarus and system libs will hopefully be in sync again  :D
Regards Benny
If it ain't broke, don't fix it ;)
PCLinuxOS(rolling release) 64bit -> KDE5 -> FPC 3.2.2 -> Lazarus 2.2.6 up until Jan 2024 from then on it's: KDE5/QT5 -> FPC 3.3.1 -> Lazarus 3.0

 

TinyPortal © 2005-2018