
Originally Posted by
tbscope
Please post your code and the complete error.
The line you posted only states that there is an error in main.o, but not what the error is.
#include <QApplication>
#include <QLabel>
int main(int argc, char *argv[])
{
label->show();
return app.exec();
}
#include <QApplication>
#include <QLabel>
int main(int argc, char *argv[])
{
QApplication app(argc, argv);
QLabel *label = new QLabel("Hello Qt!");
label->show();
return app.exec();
}
To copy to clipboard, switch view to plain text mode
Bookmarks