简体   繁体   English

在Qt MinGW编译器中处理__event

[英]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.

相关问题 将MinGW编译器添加到QT 5.6.0 Windows - Adding MinGW compiler to QT 5.6.0 Windows Qt 中的事件处理 - Event Handling in Qt 在什么情况下为Qt MinGW或MSVC选择什么编译器? - What compiler to choose for Qt MinGW or MSVC in what case? 如何使用 MinGW 编译器和 SSL 支持静态编译 Qt - how to statically compile Qt using MinGW compiler and SSL support 如何为Qt而不是MinGW设置Visual Studio 2012 RC编译器? - How to set Visual Studio 2012 RC Compiler for Qt instead of MinGW? 如果我已经在我的计算机中安装了 Mingw,是否需要在 Qt 安装中安装 Mingw 编译器组件? - Do I need to install Mingw compiler components in Qt installation if i had already installed Mingw in my computer? Qt Designer .ui和Visual Studio事件处理 - Qt Designer .ui and Visual Studio event handling 使用 Cmake 编译 QtGstreamer 时出错,Mingw32 Compiler 附带 QT 5.12.3 - Error when compiling QtGstreamer using Cmake and Mingw32 Compiler comes with QT 5.12.3 我应该在Qt创建者中使用MinGW而不是微软编译器进行编译 - What should I change in Qt creator to compile using MinGW rather than microsoft compiler 将QT 32位库与64位应用程序链接(MinGW64编译器)? - Link QT 32Bit libraries with 64 Bit Application (MinGW64 compiler )?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM