1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
#include "ui_uiA.h" #include "ui_uiB.h" // AUTOUIC includes on the first two lines of a header file #include <QObject> class UicOnly : public QObject { public: UicOnly(); ~UicOnly(); private: Ui::UiA* uiA; Ui::UiB* uiB; };