[英]Handling __event in Qt MinGW compiler
A 3rd party library( https://www.btframework.com/bluetoothframework.htm ) I am using using has __event mechanism, which I believe is MSVC specific, used widely. 我正在使用的第三方库( https://www.btframework.com/bluetoothframework.htm )具有__event机制,我认为它是MSVC特有的,被广泛使用。 Do we have any solution by which we can manage or listen to these events in a MinGW environment.
我们是否有任何解决方案可用来在MinGW环境中管理或收听这些事件。
Development environment is as below Platform : Qt using MinGW compiler OS: Windows 开发环境如下所示平台:使用MinGW编译器的Qt操作系统:Windows
The native __event
mechanism is deprecated , so you should be using the COM event system instead, and there's nothing compiler-specific to that. 不推荐使用本机
__event
机制,因此您应该改用COM事件系统,并且没有针对此的编译器。 The vendor of the library should be able to provide you with examples of modern event handling code, if they are serious about supporting their product. 如果图书馆供应商认真地支持其产品,则应该能够为您提供现代事件处理代码的示例。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.