[Interest] Qt5.2: QtCore/private/qwineventnotifier_p.h: No such file or directory
Vincent Cai
wcai at cypress.com
Thu Jan 16 02:56:54 CET 2014
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.Koehne at digia.com]
Sent: Wednesday, January 15, 2014 9:24 PM
To: Vincent Cai; interest at 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.com at qt-project.org
> [mailto:interest-bounces+kai.koehne=digia.com at qt-project.org] On
> Behalf Of Vincent Cai
> Sent: Wednesday, January 15, 2014 2:11 PM
> To: interest at 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.
More information about the Interest
mailing list