Hi,
i using Qt 4.3.4.
how can I compile http://doc.trolltech.com/3.3/t8-main-cpp.html
QGridLayout *grid = new QGridLayout( this, 2, 2, 10 ); // 2x2, 10 pixel border
I get some errors like
qt_mainwindow.cc:33: error: no matching function for call to `QGridLayout::QGrid
Layout(QWidget*&, int, int, int)'
i:/Qt/4.3.4/include/QtGui/../../src/gui/kernel/qgridlayout.h:146: note: candidat
es are: QGridLayout::QGridLayout(const QGridLayout&)
i:/Qt/4.3.4/include/QtGui/../../src/gui/kernel/qgridlayout.h:69: note:
QGridLayout::QGridLayout()
i:/Qt/4.3.4/include/QtGui/../../src/gui/kernel/qgridlayout.h:68: note:
QGridLayout::QGridLayout(QWidget*)
make: *** [qt_mainwindow.o] Error 1
How can I emulate 640x480 pixel mode in GridLayout?
I confused with the layout from Qt ...
give it a XY Layout?
thanks for helping
Jens
Bookmarks