[prev in list] [next in list] [prev in thread] [next in thread] 

List:       pykde
Subject:    Re: [PyQt] ANN: PyQt v5.13.2 Released
From:       Marko Luther <marko.luther () gmx ! net>
Date:       2019-12-05 14:05:19
Message-ID: E059C4A4-761E-43B0-9AD7-A7D776F5F269 () gmx ! net
[Download RAW message or body]

Oh, and with the current pip installed PyQt 5.12.3 (Qt 5.12.6), the build fails on \
start with the same warning. Removing those Info.plist entries resolves this, but the \
app does not support the dark mode.

Marko


> On 5. Dec 2019, at 14:50, Marko Luther <marko.luther@gmx.net> wrote:
> 
> If I remove the following from
> 
> 	<key>NSRequiresAquaSystemAppearance</key>
> 	<string>false</string>
> 
> the Info.plist of the app bundled with PyQt 5.13.2, everything is back to normal, \
> just that in dark-mode the app stays in light mode. I can reproduce this with a \
> trivial Hello World! app bundled with py2app. It remains unclear to me if this is a \
> py2app, Qt or PyQt issue. 
> I found a related issue here: https://github.com/gridsync/gridsync/issues/267
> 
> I am still not sure if this 
> 
> Marko
> 
> > On 7. Nov 2019, at 10:47, Marko Luther <marko.luther@gmx.net> wrote:
> > 
> > If I replace the Qt libs in a PyQt5 5.13.1 Installation from Qt 5.13.1 to 5.13.2 \
> > the resulting builds fail too on OS X 10.14 and 10.15 to show any window content. \
> > The app itself seems to work fine. So this seems to be rather an issue with Qt \
> > 5.13.2 and/or an incompatibility between py2app v0.19 and Qt 5.13.2. Strange this \
> > issue just on a increase of a minor number. 
> > In the failing builds, all Qt libs and plugins seem to load fine under
> > 
> > DYLD_PRINT_LIBRARIES=1
> > QT_DEBUG_PLUGINS=1
> > 
> > Only on app start that OS X error shows up in the terminal:
> > 
> > 2019-11-07 10:40:41.056 Artisan[15675:454512] It does not make sense to draw an \
> > image when [NSGraphicsContext currentContext] is nil.  This is a programming \
> > error. Break on void _NSWarnForDrawingImageWithNoCurrentContext(void) to debug.  \
> > This will be logged only once.  This may break in the future. 
> > Any idea how to debug this further?
> > 
> > Thanks,
> > Marko
> > 
> > > On 6. Nov 2019, at 14:48, Marko Luther <marko.luther@gmx.net> wrote:
> > > 
> > > Oh, the issue occurs only on OS X 10.14 and 10.15. Funny enough the exact same \
> > > builds work flawless on OS X 10.13. Wonder if this is a Qt issue as on running \
> > > from source everything is fine also on OS X 10.14 and 10.15. Strange. 
> > > M
> > > 
> > > > On 6. Nov 2019, at 11:15, Marko Luther <marko.luther@gmx.net> wrote:
> > > > 
> > > > Dear Phil,
> > > > 
> > > > thanks for this upgrade. Since installing this updated wheel via pip my app \
> > > > build using py2app on Mac OS X reports 
> > > > It does not make sense to draw an image when [NSGraphicsContext \
> > > > currentContext] is nil.  This is a programming error. Break on void \
> > > > _NSWarnForDrawingImageWithNoCurrentContext(void) to debug.  This will be \
> > > > logged only once.  This may break in the future. 
> > > > on startup and does not draw the content of windows, just frames with \
> > > > transparent content. Downgrading PyQt to 5.13.1 makes the builds work again. \
> > > > Running the app from source works with both PyQt versions. Thus I checked all \
> > > > Qt/PyQt files in the generated app bundle, but for their version number this \
> > > > all looks identical to me. I also tried to manually copy all of Qt/PyQt into \
> > > > the generated app in the corresponding directories (as a required Qt plugin \
> > > > might not have been added) with out any improvement. 
> > > > Was this reported before? 
> > > > 
> > > > Marko
> > > > 
> > > > > On 3. Nov 2019, at 13:03, Phil Thompson <phil@riverbankcomputing.com> \
> > > > > wrote: 
> > > > > PyQt v5.13.2 has been released. This is a minor bug-fix and feature \
> > > > > release. There are new releases of PyQt-builder, PyQtWebEngine, PyQt3D, \
> > > > > PyQtChart, PyQtDataVisualization and PyQtPurchasing. 
> > > > > All packages can now be built with SIP v5.
> > > > > 
> > > > > All wheels have Qt v5.13.2 bundled.
> > > > > 
> > > > > Phil
> > > > > _______________________________________________
> > > > > PyQt mailing list    PyQt@riverbankcomputing.com
> > > > > https://www.riverbankcomputing.com/mailman/listinfo/pyqt
> > > > 
> > > > _______________________________________________
> > > > PyQt mailing list    PyQt@riverbankcomputing.com
> > > > https://www.riverbankcomputing.com/mailman/listinfo/pyqt
> > > 
> > > _______________________________________________
> > > PyQt mailing list    PyQt@riverbankcomputing.com
> > > https://www.riverbankcomputing.com/mailman/listinfo/pyqt
> > 
> > _______________________________________________
> > PyQt mailing list    PyQt@riverbankcomputing.com
> > https://www.riverbankcomputing.com/mailman/listinfo/pyqt
> 
> _______________________________________________
> PyQt mailing list    PyQt@riverbankcomputing.com
> https://www.riverbankcomputing.com/mailman/listinfo/pyqt

_______________________________________________
PyQt mailing list    PyQt@riverbankcomputing.com
https://www.riverbankcomputing.com/mailman/listinfo/pyqt


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic