I have a problem with QExtserialport built with VS 2008:
In the example "qespta" I get
.\MessageWindow.cpp(94) : error C2061: syntax error : identifier '{ctor}'
.\MessageWindow.cpp(122) : error C2061: syntax error : identifier '{ctor}'
The first (94) here on line 4
void MessageWindow
::customEvent(QEvent* event
) {
if (static_cast<MessageWindow::EventType>(event->type()) == MessageWindow::MessageEvent)
msgTextEdit.append(dynamic_cast<MessageEvent::MessageEvent* >(event)->msg);
}
void MessageWindow::customEvent(QEvent* event)
{
if (static_cast<MessageWindow::EventType>(event->type()) == MessageWindow::MessageEvent)
msgTextEdit.append(dynamic_cast<MessageEvent::MessageEvent* >(event)->msg);
}
To copy to clipboard, switch view to plain text mode
and the second (122)
QCoreApplication::postEvent(this, new MessageEvent::MessageEvent(qmsg));
To copy to clipboard, switch view to plain text mode
I don't get this on OSX XCode, and not with the Win32 mingw compiler.
Does anybody have a clue where the problem might be?
BN
Bookmarks