如何从Qt发送消息到本地应用程序
From Qt how to send message to a native application
我找到了一个c++应用程序来创建启动屏幕。这将创建一个命名事件,以便从另一个应用程序关闭此应用程序。我有一个如何从。net应用程序关闭它的例子:
private void CloseSplashScreen()
{
// signal the native process (that launched us) to close the splash screen
using (var closeSplashEvent = new EventWaitHandle(false, EventResetMode.ManualReset, "CloseSplashScreenEventSplashScreenStarter"))
{
closeSplashEvent.Set();
}
现在,我不知道如何从qt5应用程序做同样的事情。我是新的Qt所以请,给一个例子。
试图将。net代码集成到您的Qt应用程序中,只是为了显示一个启动屏幕:坏主意。
这是在Google上快速搜索"qt闪屏"的结果。
http://www.developer.nokia.com/Community/Wiki/How_to_display_a_splash_screen_in_Qthttp://qt project.org/doc/qt - 5.0 -/- qtwidgets/qsplashscreen.html
相关文章:
- "string.h"在构建适用于iOS的qt应用程序中找不到消息
- 将加密消息从 php 发送到 C++ 应用程序,然后使用 CryptoPP 进行解密
- Log4net,将日志消息从 c++ dll 发送到 c# 应用程序?
- 将 Kamailio SIP 消息转发到 C 应用程序
- 如果我在 Xbox UWP 应用程序上收到激活错误并且错误消息中没有任何有用的内容,该怎么办
- 阻止后台应用程序接收消息
- ACE在同一PC上具有多个应用程序实例 - 仅首先获取消息
- 发送消息WM_SETTEXT不适用于 MFC 应用程序的另一个应用程序
- 在控制台应用程序中处理空的windows消息队列
- 处理Windows消息,以便我的应用程序正确响应
- Qt应用程序在每个消息框上崩溃
- 将在64位应用程序中编码Protobuf消息并在32位应用程序中解码
- 是否可以删除应用程序接收到的触摸消息(WM_POINTERDOWN等)
- 如何模拟原始输入/以正确的方式向应用程序发送WM_INPUT消息
- boost::asio 中的未经请求的消息使应用程序崩溃,没有 SSL 它可以正常工作,为什么
- C++/Win32 最小的可能的消息框("Hello")应用程序exe?
- 相对于 3D 应用程序中的 Windows 消息循环的计时错误
- 在到应用程序之间的消息中重复WaitForSingleObject
- CAppModule与CAtlExeModuleT,获取应用程序消息循环
- 向WPF应用程序消息泵注入消息