Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2022-03

IDE qt5 compile error

3 messages · 2 people ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

John Landmesser

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 6 including the regular KDE patch-sets. Be sure you rebuild any AUR Qt package against this one.

What to do?

Reply by email

Unknown author
to John Landmesser
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 at PC:~/lazarus$ git status
HEAD detached at 23b2324f9f

I used Git to return to that revision.
Alexey

Reply by email

John Landmesser
to Unknown author
Alexey Torgashin wrote 15 lines
> > 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 at 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 :-)

Reply by email