I have the following `main.cpp` file:
#include <QApplication>
#include "ui_checkabder.h"
#include <QDialog>
int main(int argc, char *argv[])
{
QApplication app(argc, argv);
Ui::CheckAbder ui;
QDialog *dialog = new QDialog;
ui.setupUi(dialog);
dialog->show();
return app.exec();
}
And, get the following errors when trying to run the program:
C:/Users/avbder/Desktop/abder/main.cpp:7: error: 'CheckAbder' is not a member of 'Ui'
C:/Users/avbder/Desktop/abder/main.cpp:7: error: expected ';' before 'ui'
C:/Users/avbder/Desktop/abder/main.cpp:7: error: expected ';' before 'ui'
C:/Users/avbder/Desktop/abder/main.cpp:9: error: 'ui' was not declared in this scope
Any ideas on how to solve those problems?
Thanks.