Right. Than, I have a question concerning code that jpn gave me:
#include "ui_Maker.h"
int main(int argc, char *argv[])
{
Ui::MainWindow ui;
ui.setupUi(window);
window->show();
return app.exec();
}
#include "ui_Maker.h"
int main(int argc, char *argv[])
{
QApplication app(argc, argv);
QMainWindow *window = new QMainWindow; // create a main window, that's what you have designed
Ui::MainWindow ui;
ui.setupUi(window);
window->show();
return app.exec();
}
To copy to clipboard, switch view to plain text mode
Why it's
Ui::MainWindow ui
Ui::MainWindow ui
To copy to clipboard, switch view to plain text mode
? I didn't find anything what should be called by this.
Bookmarks