Closed GoogleCodeExporter closed 9 years ago
metal-ToolBar disabled in r407. It's all I can do because I don't have Mac OS.
Original comment by Lord.Div...@gmail.com
on 17 Feb 2009 at 12:24
Ok. Many Thanks.
I think there are generally problems of this function in Qt (eg. using this
function
crashes my App if it will be resize perpetually over a few seconds).
As I mentioned, a creation routine in mainimpl.cpp for the ToolBar should solve
the
problem. If I have a litle bit time this week, I'll try it and give you a
feedback.
brgds, Martin
Original comment by m...@plcedit.org
on 17 Feb 2009 at 12:55
I've played around with the code for creating toolBars but found no solution,
sorry.
I've included in mainimpl.cpp:
#ifdef Q_WS_MAC
#include <Carbon/Carbon.h>
#endif
also tried to relocate in MainImpl::MainImpl(QWidget * parent):
#ifdef Q_WS_MAC
setUnifiedTitleAndToolBarOnMac(true); //new for Mac OS X Test, 170209MR
#endif
and I've made a creation routine for an own toolBar without success.
Only the following lines shows single parts of the toolbar toolBarFiles, but
they
were not put together. It looks like a spacer was set between the items.
toolBarFiles->show();
toolBarEdit->show();
toolBarBuild->show();
But for short: As I said, there are some problems with the metal-ToolBar on Mac
OS
X, especially on 10.5.5+ with Qt4.4+, so I think you should wait for Qt4.5 and
the
new cocoa implementation to fix the problem. For now the disabled
setUnifiedTitleAndToolBarOnMac option solves the problem.
brgds,
Martin
Original comment by m...@plcedit.org
on 17 Feb 2009 at 5:21
Original issue reported on code.google.com by
m...@plcedit.org
on 17 Feb 2009 at 5:45