[Interest] Qt5 on MacOS X: State of the Toolbar

Andreas Pakulat apaku at gmx.de
Thu Jan 24 17:07:31 CET 2013


Hi,

On Thu, Jan 24, 2013 at 10:13 AM, Sensei <senseiwa at gmail.com> wrote:
> On 1/23/13 10:43 AM, Sorvig Morten wrote:
>> We are getting quite close, the function you are looking for is
>>
>> QtMacUnifiedToolBar* setUnifiedTitleAndToolBarOnMac(QToolBar *toolbar, bool on = true);
>>
>> which not far from 4.8's
>>
>> QMainWindow::setUnifiedTitleAndToolBarOnMac(bool on)
>>
>> (See examples/macunifiedtoolbar/preferenceswindow.cpp in qtmacextras)
>>
>> qtmacextras will stay external for now - the focus is on implementing the missing APIs.
>
> Great, but I'd like to avoid external Qt code (qtmacextras), so I'm
> sticking with Qt 4.8 until a native look & feel is on the track... but
> no foreseeable timeline right now, I guess.
>
> I'd love to have a functionality similar to the old (unmaintainable) one!

As far as I understood the qtmacextras module will stay as it is,
except that its going to be released as part of Qt in one of the next
feature releases.So if you don't want to stick to Qt4.8 forever you'll
have to extend your dependencies to include the qtmacextras module at
some point.

Andreas



More information about the Interest mailing list