Are you using qmake to setup the .vcproj file
Yes.
Try this
#include <QApplication>
#include "toolbar.h"
int main(int argc, char *argv[])
{
Toolbar toolbar;
toolbar.show();
return app.exec();
}
#include <QApplication>
#include "toolbar.h"
int main(int argc, char *argv[])
{
QApplication app(argc, argv);
Toolbar toolbar;
toolbar.show();
return app.exec();
}
To copy to clipboard, switch view to plain text mode
Another difference that I noticed was
TEMPLATE = app
TEMPLATE = app
To copy to clipboard, switch view to plain text mode
But I don't think that should be the problem.
Bookmarks