Recent

Author Topic: Having issues with Lazarus 3.2 and AnchorDocking  (Read 2551 times)

Gustavo 'Gus' Carreno

  • Hero Member
  • *****
  • Posts: 1153
  • Professional amateur ;-P
Having issues with Lazarus 3.2 and AnchorDocking
« on: March 05, 2024, 06:14:37 am »
Hey Y'All,

Before I forget, this is my setup:
  • Ubuntu 23.10 64b
  • X.Org, not Wayland

I was able to install Lazarus 3.2 quite fine with fpcupdeluxe. And if I don't add the AnchorDocking packages it does run fine.

Once I add the AnchorDocking package, when starting Lazarus it shows up on a very small windows that then goes BOOOMM when trying to resize it.
Also the small amount of layout we can see from that small window is all out of whack.

I suspect something's wrong with the generated config files, cuz I was able to make it not go BOOOMM with a config file from Lazarus 3.0.
But then I wiped all that because I was too lazy to correct all the paths pointing to 3.0.

Is this a know thing?
Can anyone help me solve this, please?

Cheers,
Gus
Lazarus 3.99(main) FPC 3.3.1(main) Ubuntu 23.10 64b Dark Theme
Lazarus 3.0.0(stable) FPC 3.2.2(stable) Ubuntu 23.10 64b Dark Theme
http://github.com/gcarreno

hamacker

  • Jr. Member
  • **
  • Posts: 59
Re: Having issues with Lazarus 3.2 and AnchorDocking
« Reply #1 on: April 10, 2024, 01:44:25 pm »
The same problem in Fedora Linux updated.

zeljko

  • Hero Member
  • *****
  • Posts: 1668
    • http://wiki.lazarus.freepascal.org/User:Zeljan
Re: Having issues with Lazarus 3.2 and AnchorDocking
« Reply #2 on: April 10, 2024, 02:19:13 pm »
Try to use Qt5 or Qt6 lazarus under wayland.

hamacker

  • Jr. Member
  • **
  • Posts: 59
Re: Having issues with Lazarus 3.2 and AnchorDocking
« Reply #3 on: April 10, 2024, 09:39:07 pm »
I tried, but I can't compile, it probably needs qt-devel installed.
I'm from Debian, I don't know what the name is. But I'll try, as soon as I find the name of this package.

hamacker

  • Jr. Member
  • **
  • Posts: 59
Re: Having issues with Lazarus 3.2 and AnchorDocking
« Reply #4 on: April 10, 2024, 11:09:44 pm »
Well, after install qt5-devel and lot of qt packages, I can´t compile IDE with qt5:
Messages, Warnings: 3
Warning: other unit files search path (aka unit path) of "zcomponentdesign 8.0" contains "/home/gsantana/zeoslib/src/component", which belongs to package "zcomponent"
Warning: other unit files search path (aka unit path) of "dcpcrypt_laz 2.0.4.2" contains "/home/gsantana/.lazarus/onlinepackagemanager/packages/DCPcrypt/Ciphers", which belongs to package "dcpcrypt"
Warning: other unit files search path (aka unit path) of "zcomponent 8.0" contains "/home/gsantana/zeoslib/src/component", which belongs to package "zcomponentdesign"
Build IDE: Exit code 2, Errors: 4, Warnings: 2
Warning: linker: /usr/bin/ld: /home/gsantana/lazarus/lcl/units/x86_64-linux/qt5/qtint.o: in function `CREATE':
qtobject.inc(44,0) Error: linker: undefined reference to `QGuiApplication_setFallbackSessionManagementEnabled'
Warning: linker: /usr/bin/ld: /home/gsantana/lazarus/lcl/units/x86_64-linux/qt5/qtobjects.o: in function `ENDX11SELECTIONLOCK':
qtobjects.pas(3873,0) Error: linker: undefined reference to `QTimer_singleShot3'
make[2]: *** [Makefile:4362: lazarus] Error 1
make[1]: *** [Makefile:4801: ide] Error 2
*** [Makefile(3116,0) Error: linker: ide] Error 2
lazarus.pp(171,1) Error: Error while linking

zeljko

  • Hero Member
  • *****
  • Posts: 1668
    • http://wiki.lazarus.freepascal.org/User:Zeljan
Re: Having issues with Lazarus 3.2 and AnchorDocking
« Reply #5 on: April 11, 2024, 09:06:00 am »
You have an old libQt5Pas.so, rebuild it from lcl/interfaces/qt5/cbindings.

hamacker

  • Jr. Member
  • **
  • Posts: 59
Re: Having issues with Lazarus 3.2 and AnchorDocking
« Reply #6 on: April 11, 2024, 02:20:58 pm »
I found this link of libqt5pas that I will try:
https://github.com/davidbannon/libqt5pas/releases/tag/v1.2.15

hamacker

  • Jr. Member
  • **
  • Posts: 59
Re: Having issues with Lazarus 3.2 and AnchorDocking
« Reply #7 on: April 11, 2024, 02:44:56 pm »
Still not compiling. Now I quit, itś better wait a formal issue and corrections.

Since I enjoy Project Inspector and Project group is too dificult use Lazarus without docks, too many windows to handle in 1080p.
Just for fun, I will try lazarus-win32 via wne.

hamacker

  • Jr. Member
  • **
  • Posts: 59

 

TinyPortal © 2005-2018