Hello everyone, I´m getting a LNK2019 unresolved external symbol with a dialog I created in QtDesigner and I can´t seem to be able to find the reason. I´m using VS 2005 with the integration set.
The dialog is called sizeofmapdialog.
I have this in mainwindow.cpp:
Code:
#include <QtGui> #include <QGraphicsEllipseItem> #include <QPointF> #include <QImage> #include "mainwindow.h" #include "view.h" #include "chip.h" #include "sizeofmapdialog.h"
This in mainwindow.h:
Code:
class QFileDialog; class QInputDialog; class SizeOfMapDialog; { Q_OBJECT public: MainWindow(); private slots: void open(); void about(); void SizeOfMap(); private: ... SizeOfMapDialog *dialog;
I have also checked the .pro file to see if the moc has included the files related to the dialog:
TEMPLATE = app
TARGET =
DEPENDPATH += . debug
INCLUDEPATH += .
QT += opengl
# Input
HEADERS += chip.h mainwindow.h sizeofmapdialog.h view.h
FORMS += sizeofmapdialog.ui
SOURCES += chip.cpp main.cpp mainwindow.cpp sizeofmapdialog.cpp view.cpp
RESOURCES += images.qrc
Where else can it be the linking problem with sizeofmapdialog?
Thanks in advance and regards.