Recent

Author Topic: Qt6 (with Flatpak): FontDialog doesn't work  (Read 1244 times)

AlexTP

  • Hero Member
  • *****
  • Posts: 2457
    • UVviewsoft
Qt6 (with Flatpak): FontDialog doesn't work
« on: May 06, 2024, 06:48:50 pm »
I got a report that in CudaText (Flatpak version with Qt6) FontDialog doesn't paint itself. Resizing/closing of dialog works.
https://github.com/Alexey-T/CudaText/issues/5500

AlexTP

  • Hero Member
  • *****
  • Posts: 2457
    • UVviewsoft
Re: Qt6 (with Flatpak): FontDialog doesn't work
« Reply #1 on: May 06, 2024, 06:53:26 pm »
Post in the linked issue:

Interesting, if I run the flatpak's executable directly (bypassing the flatpak container), this issue does not occur:

LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$HOME/.local/share/flatpak/app/io.github.cudatext.CudaText-Qt/current/active/files/lib $HOME/.local/share/flatpak/app/io.github.cudatext.CudaText-Qt/current/active/files/bin/cudatext

I have Qt6.7 in my host OS, while the flatpak currently uses 6.6. Unfortunately, we have to wait until the next stable release of Lazarus before it'll compile Qt6pas with Qt6.7.

zeljko

  • Hero Member
  • *****
  • Posts: 1638
    • http://wiki.lazarus.freepascal.org/User:Zeljan
Re: Qt6 (with Flatpak): FontDialog doesn't work
« Reply #2 on: May 06, 2024, 09:18:50 pm »
Lazarus does not have anything with TFontDialog, it's pure Qt dialog - QFontDialog.

 

TinyPortal © 2005-2018