I have a problem with Qt 4.4.3 on Mac OS 10.5.

I have used setUnifiedTitleAndToolBarOnMac for my MainWindow and now the App window width will even be risized to 1146pix at startup. This value is also the minimal adjustable value for the width. The height can be resized independently.

If I switch back to Qt 4.3.4 or don't use "setUnifiedTitleAndToolBarOnMac" this problem will not occur. Has anyone informations about this case?

Qt Code:
  1. MainWindow::MainWindow(QWidget *parent)
  2. : QMainWindow(parent)
  3. {
  4. //create pageCtrl1 as central widget
  5. pageCtrl1 = new PageCtrl(this);
  6. setCentralWidget(pageCtrl1);
  8. setAcceptDrops(true);
  10. //call main window create fcn.s
  11. createActions();
  12. createMenus();
  13. createToolBars();
  14. createStatusBar();
  15. retranslateUi();
  17. ...
  18. //connect diverse slots
  19. #ifdef Q_WS_WIN
  20. connect(singleApp, SIGNAL(messageReceived(QString)), SLOT(openFile(QString)));
  21. #endif
  22. //draw toolbars in brushed metal on Mac OS X
  23. #ifdef Q_WS_MAC
  24. this->setUnifiedTitleAndToolBarOnMac(true);
  25. #endif
  27. }
To copy to clipboard, switch view to plain text mode 

FYI, I have qt 4.4.3 compiled as following:

Qt Code:
  1. ./configure -prefix /Developer/qt443 -release -static -no-qt3support -no-phonon -no-phonon-backend -no-webkit -qt-zlib -stl -qt-sql-sqlite -qt-zlib -no-gif -no-libmng -no-libtiff -no-libjpeg -qt-libpng -no-sse -no-sse2 -no-3dnow -no-openssl -no-qdbus -universal -sdk /Developer/SDKs/MacOSX10.4u.sdk && make
To copy to clipboard, switch view to plain text mode 

best regards,


(sorry, but this was also posted on http://www.qtforum.org)