Results 1 to 8 of 8

Thread: Building QExtserialport with Visual Studio 2008

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Jan 2008
    Posts
    155
    Thanks
    4
    Thanked 1 Time in 1 Post
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows

    Default Building QExtserialport with Visual Studio 2008

    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
    Qt Code:
    1. void MessageWindow::customEvent(QEvent* event)
    2. {
    3. if (static_cast<MessageWindow::EventType>(event->type()) == MessageWindow::MessageEvent)
    4. msgTextEdit.append(dynamic_cast<MessageEvent::MessageEvent* >(event)->msg);
    5. }
    To copy to clipboard, switch view to plain text mode 
    and the second (122)
    Qt Code:
    1. 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
    Last edited by bnilsson; 5th June 2009 at 11:52.
    MacOSX user dabbling with Linux and Windows.

Similar Threads

  1. Problem building qt embedded for WinCE and VS2005
    By high_flyer in forum Qt for Embedded and Mobile
    Replies: 2
    Last Post: 5th June 2009, 01:04
  2. Qt 4.4.1 deployement with Visual Studio Express 2008
    By abrou in forum Installation and Deployment
    Replies: 8
    Last Post: 28th February 2009, 02:13
  3. Qt 4.4.1 Compile Error with MS Visual C++ 2008 Express SP1
    By BrainB0ne in forum Installation and Deployment
    Replies: 3
    Last Post: 19th August 2008, 15:49
  4. Qt configure with msvc.net
    By jivanr in forum Installation and Deployment
    Replies: 1
    Last Post: 11th June 2007, 08:17
  5. Qt Cryptographic Architecture
    By vermarajeev in forum Qt Programming
    Replies: 6
    Last Post: 9th February 2007, 13:15

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Qt is a trademark of The Qt Company.