Like this? This time also the ui file.
I get In file included from src/frontends/qt4/QListings.h:16, from src/frontends/qt4/Dialogs.cpp:70: debug/common/frontends/qt4/ui/ListingsUi.h: In member function `void Ui_QListingsUi::setupUi(QDialog*)': debug/common/frontends/qt4/ui/ListingsUi.h:53: error: 'class QVBoxLayout' has no member named 'setLeftMargin' debug/common/frontends/qt4/ui/ListingsUi.h:54: error: 'class QVBoxLayout' has no member named 'setTopMargin' debug/common/frontends/qt4/ui/ListingsUi.h:55: error: 'class QVBoxLayout' has no member named 'setRightMargin' debug/common/frontends/qt4/ui/ListingsUi.h:56: error: 'class QVBoxLayout' has no member named 'setBottomMargin' debug/common/frontends/qt4/ui/ListingsUi.h:93: error: 'class QHBoxLayout' has no member named 'setLeftMargin' debug/common/frontends/qt4/ui/ListingsUi.h:94: error: 'class QHBoxLayout' has no member named 'setTopMargin' debug/common/frontends/qt4/ui/ListingsUi.h:95: error: 'class QHBoxLayout' has no member named 'setRightMargin' debug/common/frontends/qt4/ui/ListingsUi.h:96: error: 'class QHBoxLayout' has no member named 'setBottomMargin' Bo