Hi kai,

Thanks for your reply.
Per your suggestion, I met below compiling error:

In file included from 
../TSA_Data/UART/SRC/qserialdevice/abstractserialnotifier.cpp:2:0:
../TSA_Data/UART/SRC/qserialdevice/nativeserialnotifier.h:37:5: error: 
'OVERLAPPED' in namespace '::' does not name a type
     ::OVERLAPPED o;
     ^
../TSA_Data/UART/SRC/qserialdevice/nativeserialnotifier.h:38:5: error: 'DWORD' 
in namespace '::' does not name a type
     ::DWORD currentMask;
     ^
../TSA_Data/UART/SRC/qserialdevice/nativeserialnotifier.h:39:5: error: 'DWORD' 
in namespace '::' does not name a type
     ::DWORD setMask;
     ^

the related source code:

private:
    ::OVERLAPPED o;
    ::DWORD currentMask;
    ::DWORD setMask;

How can I fix it?

Thanks,
VIncent.

-----Original Message-----
From: Koehne Kai [mailto:kai.koe...@digia.com]
Sent: Wednesday, January 15, 2014 9:24 PM
To: Vincent Cai; interest@qt-project.org
Subject: RE: [Interest] Qt5.2: QtCore/private/qwineventnotifier_p.h: No such 
file or directory


> -----Original Message-----
> From: interest-bounces+kai.koehne=digia....@qt-project.org
> [mailto:interest-bounces+kai.koehne=digia....@qt-project.org] On
> Behalf Of Vincent Cai
> Sent: Wednesday, January 15, 2014 2:11 PM
> To: interest@qt-project.org
> Subject: [Interest] Qt5.2: QtCore/private/qwineventnotifier_p.h: No
> such file or directory
>
> Dear All,
>
> I just update Qt from 4.7.3 to 5.2,
>
> when build qserialdevice, below error
> reported:
>
> In file included from
> ../TSA_Data/UART/SRC/qserialdevice/abstractserialnotifier.cpp:2:0:
> ../TSA_Data/UART/SRC/qserialdevice/nativeserialnotifier.h:8:50: fatal error:
> QtCore/private/qwineventnotifier_p.h: No such file or directory
>    #include <QtCore/private/qwineventnotifier_p.h>
>
> Anybody help?

Qwineventnotifier is a public class in 5.2, so qserialdevice should rather 
include <QtCore/qwineventnotifier.h>.  And it does so for me (git stable 
branch). Where did you get the sources from?

Regards

Kai
This message and any attachments may contain Cypress (or its subsidiaries) 
confidential information. If it has been received in error, please advise the 
sender and immediately delete this message.
_______________________________________________
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest

Reply via email to