[Solved] error LNK2001: unresolved external symbol
-
The "~errorMsg();" is the destructor, but it is not so usefull.
I added your include line but it didn't change anything.
My includes are
@#include <QString>
#include <QFile>
#include <QTextStream>
#include <iostream>
#include <QDateTime>
#include <QLabel>
#include <QTextEdit>
#include <QtCore/QObject>
#include "mainform.h"@ -
[quote author="bern69" date="1396621287"]The "~errorMsg();" is the destructor, but it is not so usefull.
[/quote]
Obviously, but the "-" should read as a "~"...Indeed the include I told you to add is not needed since many widgets are already included.
I guess you've already tried to rerun qmake and it didn't change a thing.
Could you provide your (complete) .pro file?
Edit: is it only me who sees the tilda as an hyphen?