Re: [Interest] Modeless dialog issue on Mac
> On 14. Nov 2023, at 11:49, Calogero Mauceri wrote: > > Hi all, > > I have the following problem with dialogs on the Mac. > > I have a main window/dialog and I am opening a modeless dialog, I need to > have both the main window/dialog and the modeless dialog visible at the same > time. > I create the modeless dialog as simple as this > > QDialog* myDialog = new QDialog(this); What is “this” here? The main window? I’ve seen these problems (unexpected window stacking) on Mac more than elsewhere when no parent/the wrong parent was passed, but can’t remember seeing it when passing the main window. (Haven’t done much macOS/Widget development recently though) — Frank Gonçalves Osterfeld | frank.osterf...@kdab.com | Senior Software Engineer & Teamlead KDAB (Deutschland) GmbH, a KDAB Group Company Tel: +49-30-521325470 KDAB - The Qt, C++ and OpenGL Experts ___ Interest mailing list Interest@qt-project.org https://lists.qt-project.org/listinfo/interest
Re: [Interest] macOS: troubles using my own CA
> On 14. Jul 2022, at 10:19, Alexander Dyagilev wrote: > > Yes, I've removed my own OpenSSL libraries built for macOS and Qt 6.3.0 > switched to SecureTransport and also started to show that message. > > So: > > Qt 5.12 : uses SecureTransport ALWAYS. > > Qt 6.3 : defaults to OpenSSL, if available. Falls back to SecureTransport if > not. > > So. Is there a way to force Qt 5.12 to use OpenSSL instead of > SecureTransport? :) I've tried googling but did not find answer.our At least if you are willing to build your own Qt, these should do the trick: configure … -no-securetransport -openssl-runtime or configure … -no-securetransport -openssl-linked You’ll probably have to bundle OpenSSL to be sure to have it available, in the right version, on all macOS versions you need to support, so -openssl-linked might be the way to go. — Frank Gonçalves Osterfeld | frank.osterf...@kdab.com | Senior Software Engineer & Teamlead KDAB (Deutschland) GmbH, a KDAB Group Company Tel: +49-30-521325470 KDAB - The Qt, C++ and OpenGL Experts ___ Interest mailing list Interest@qt-project.org https://lists.qt-project.org/listinfo/interest
Re: [Interest] macOS: troubles using my own CA
> On 12. Jul 2022, at 20:05, Thiago Macieira wrote: > > On Tuesday, 12 July 2022 01:21:07 PDT Alexander Dyagilev wrote: >> Again, if, after that, I build app using Qt 6.3.0 and launch it - this >> message never appears. >> >> So, this must be an issue with Qt 5.12. What I want to ask for: is there >> any known workaround to suppress this message under Qt 5.12.12? > > Qt 6.3 uses a completely different implementation of SSL on a Mac from 5.x. > It > uses the Apple API in SecureTransport, while Qt 5 uses OpenSSL. However, the > OpenSSL one is the same as Linux, so the same errors should appear on both. > > Is it the same OpenSSL 1.1 version? From what I know, SecureTransport is the default used on macOS since Qt 5.10.0 (running configure in 5.10.0 qtbase seems to confirm this). SecureTransport is deprecated by Apple, but the backend is still the default in 6.3. So unless Alexander explicitly enabled OpenSSL for one or the other, it wouldn’t expect big changes here. — Frank Gonçalves Osterfeld | frank.osterf...@kdab.com | Senior Software Engineer & Teamlead KDAB (Deutschland) GmbH, a KDAB Group Company Tel: +49-30-521325470 KDAB - The Qt, C++ and OpenGL Experts ___ Interest mailing list Interest@qt-project.org https://lists.qt-project.org/listinfo/interest