[PyQt] QMainWindow::unifiedTitleAndToolBarOnMac missing?

Kovid Goyal kovid at kovidgoyal.net
Sat Aug 23 12:17:16 BST 2014

Any chance you could send me the patch for it, I could probably figure
it out on my own, but given that I just released calibre 2.0 I am rather
swamped working around the myriad regressions in Qt 5 that somehow
slipped past the three month long beta process for calibre 2.0.

I'd rather not have to deploy a snapshot version of PyQt with calibre on

If it is difficult to extract the patch, no big deal, I'll get to it on
my own eventually :)



P. S. IIRC you've said before that you plan to make the PyQt VCS
public sometime in the future, just an added motivation: if you did
so, my google searches would likely have found the patch and I would not
be bothering you now :)

On Sat, Aug 23, 2014 at 12:04:30PM +0100, Phil Thompson wrote:
> On 23/08/2014 11:46 am, Kovid Goyal wrote:
> >Hi Phil,
> >
> >This property:
> >http://qt-project.org/doc/qt-5/qmainwindow.html#unifiedTitleAndToolBarOnMac-prop
> >
> >seems to be missing from the PyQt 5 QMainWindow object on OS X. As far
> >as I can tell, it is not deprecated.
> >
> >python -c "from PyQt5.Qt import *; app = QApplication([]); w =
> >QMainWindow(); print w.setUnifiedTitleAndToolBarOnMac"
> >
> >AttributeError: 'QMainWindow' object has no attribute
> >'setUnifiedTitleAndToolBarOnMac'
> It was added to the snapshots about a month ago. Next release is "soon".
> Phil
> _______________________________________________
> PyQt mailing list    PyQt at riverbankcomputing.com
> http://www.riverbankcomputing.com/mailman/listinfo/pyqt
> !DSPAM:3,53f8755f18452416912260!


Dr. Kovid Goyal 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 181 bytes
Desc: not available
URL: <http://www.riverbankcomputing.com/pipermail/pyqt/attachments/20140823/618f1690/attachment.sig>

More information about the PyQt mailing list