[Lazarus] IDE qt5 compile error

2022-03-14 Thread John Landmesser via lazarus

I can't compile lazarus IDE anymore:

Lazarus 2.3.0 (rev main-2_3-991-ge2ad6b3d8d) FPC 3.2.2 x86_64-linux-gtk2

error:

Error: /home/john1/lazarus/lcl/interfaces//qt5/qtobject.inc:42:
undefined reference to `QGuiApplication_setFallbackSessionManagementEnabled'

I am on Manjaro Linux stable branch:

System:
  Host: manjaro Kernel: 5.15.28-1-MANJARO x86_64 bits: 64
    Desktop: Xfce 4.16.0 Distro: Manjaro Linux

The package qt5pas was updated 14,03,2022 the packager tells as source:

https://gitlab.com/freepascal.org/lazarus/lazarus/-/tree/main/lcl/interfaces/qt5/cbindings

Because i think freepascal changed something i post this here.

Manjaro tells me to the last update:

Qt5 got an official update after one year and is now at 5.15.3 6
including the regular KDE patch-sets. Be sure you rebuild any AUR Qt
package against this one.

What to do?




--
___
lazarus mailing list
lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus


Re: [Lazarus] IDE qt5 compile error

2022-03-14 Thread Alexey Torgashin via lazarus


Error: /home/john1/lazarus/lcl/interfaces//qt5/qtobject.inc:42:
undefined reference to 
`QGuiApplication_setFallbackSessionManagementEnabled'


Do not use Lazarus 'latest', but return to the revision before THAT qt5 
patch.

My linux terminal shows me which revision I use now:

user@PC:~/lazarus$ git status
HEAD detached at 23b2324f9f


I used Git to return to that revision.
Alexey
--
___
lazarus mailing list
lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus


Re: [Lazarus] IDE qt5 compile error

2022-03-14 Thread John Landmesser via lazarus

Am 14.03.22 um 18:54 schrieb Alexey Torgashin via lazarus:


Error: /home/john1/lazarus/lcl/interfaces//qt5/qtobject.inc:42:
undefined reference to
`QGuiApplication_setFallbackSessionManagementEnabled'


Do not use Lazarus 'latest', but return to the revision before THAT
qt5 patch.
My linux terminal shows me which revision I use now:

user@PC:~/lazarus$ git status
HEAD detached at 23b2324f9f


I used Git to return to that revision.
Alexey


Thanks for that tip!


I don't use Lazarus qt5 any more. I have just one little app and for
this i have a workaround so i don't need qt5pas any more.


LAZUSEAPPIND=NO /run/media/john1/ntfs1/PROJEKTE/Lazarus/Sanduhr/Sanduhr

Doing this trayicon.hint works again and without qt5pas installed :-)

--
___
lazarus mailing list
lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus