> On Jun 18, 2026, at 9:30 PM, Patrick Luby <[email protected]> wrote: > > Problem solved. What caused the crash at startup was that I was building with > QT6DIR as an environment variable. So I did a make clean and built with the > following and LibreOffice launches without any problem:
I think Michael explained to me that we’d eventually like to use the Qt font code, but there are still some rough spots. Pretty sure we wouldn’t want to use any of the freetype code for macOS if we can help it here. > QT6DIR=/Users/pluby/Qt/6.11.1/macOS make > > Attached is a snapshot of Calc running with Dan’s code. I know there is a ton > of work still to be done but it is very cool to see Qt6 working. Yeah, ton of work still; slowly getting spacing/margins/etc where I think they should be. It’s an interesting exercise and welded dialogs actually look pretty good on macOS. High DPI is still WIP; when I make it look OK with Qt it isn’t right with the Aqua plugin. Haven’t debugged that yet, focusing on the spacing stuff. This made me start poking at welding for the OS X plugin. I don’t have code yet, just trying to see if we can programmatically create all the widgets we might need first. Any reason you can think of that welding wouldn’t work for vcl/osx? Dan > > Patrick > > >> On Jun 18, 2026, at 9:54 PM, Patrick Luby <[email protected]> wrote: >> >> I was able to build Dan’s private branch with Qt6 without any problem. :) >> >> However, I’m seeing a crash on startup because >> FreeTypeTextRenderImpl::GetDevFontList() has an empty font list. >> >> Anything obvious I’m missing? Or is that expected? Below are my slight >> modifications for building with Xcode 26.5 on macOS Tahoe 26.5.1: >> >> Running: >> SAL_VCL_QT_USE_WELDED_WIDGETS=1 SAL_VCL_QT_USE_QFONT=1 SAL_USE_VCLPLUGIN=qt6 >> lldb ./instdir/LibreOfficeDev.app/Contents/MacOS/soffice >> >> Building: >> Added —enable-dbgutil >> >> Qt6 download using Qt Online Installer: >> QT6DIR=/Users/pluby/Qt/6.11.1/macos >> >> Patrick > > <Screenshot 2026-06-18 at 10.23.39 PM.png>
