Details
-
Bug
-
Resolution: Out of scope
-
Not Evaluated
-
None
-
4.8.2
-
None
-
Qt4.8 on Mac OSX up to 10.8 (Mountain Lion)
Description
If you run this file on Mac, you're unable to insert any characters into the line edit. I did a little bit of debugging and I were not able to find a working breakpoint in Qt, but modifiers like shift and alt are working.
#include <QtGui/QApplication> #include <QMainWindow> #include <QLineEdit> class MainWindow : public QMainWindow { public: MainWindow(QWidget *parent = 0) : QMainWindow(parent) { setCentralWidget(new QLineEdit(this)); new QWidget(this, Qt::Drawer); } }; int main(int argc, char *argv[]) { QApplication a(argc, argv); MainWindow w; w.show(); return a.exec(); }
We're building our qt with these parameters:
./configure -no-qt3support -no-accessibility -no-cups -no-dbus -no-phonon -arch x86 -sdk /Developer/SDKs/MacOSX10.5.sdk
If you remove the Qt::Drawer flag, it's working like any other widget.