On 7/30/12 3:33 PM, Stephen Chu wrote: > I am working on my first QWizard app and find that on Mac, the page: > http://qt-project.org/doc/qt-4.8/qwizard.html states: "The watermark, > banner, and logo pixmaps are ignored by the MacStyle. If the > BackgroundPixmap is set, it is used as the background for the wizard; > otherwise, a default "assistant" image is used." > > However, it's missing on my wizard built with both 4.8.2 and 5.0: > http://i.imgur.com/pENFl.png > > Is this a know issue or the doc is incorrect?
I just checked QWizard source file in Qt 5 and find the function responsible for get the default image, QWizardPrivate::findDefaultBackgroundPixmap(), is bracketed inside a #ifdef Q_WS_MAC macro. Q_WS_MAC doesn't seem to be defined anywhere in Qt 5's header files. What's more QPixmap::fromMacCGImageRef() used in findDefaultBackgroundPixmap() is no longer in Qt 5. Why? _______________________________________________ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest