mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-14 00:25:35 +08:00
Pin QtDBus shared library on Windows after being loaded by X-Plane
refs #850
This commit is contained in:
committed by
Mathew Sutcliffe
parent
4a28807768
commit
7f21dae378
@@ -12,6 +12,7 @@
|
||||
#ifndef BLACKMISC_DBUS_H
|
||||
#define BLACKMISC_DBUS_H
|
||||
|
||||
#include "blackmisc/blackmiscexport.h"
|
||||
#include "blackmisc/metaclass.h"
|
||||
#include "blackmisc/inheritancetraits.h"
|
||||
#include <QDBusArgument>
|
||||
@@ -159,4 +160,9 @@ const QDBusArgument &operator>>(const QDBusArgument &argument, QPixmap &pixmap);
|
||||
*/
|
||||
QDBusArgument &operator<<(QDBusArgument &argument, const QPixmap &pixmap);
|
||||
|
||||
//! Windows: prevents unloading of QtDBus shared library until the process is terminated.
|
||||
//! QtDBus must have been loaded already by the calling process.
|
||||
//! Does nothing on non-Windows platforms.
|
||||
BLACKMISC_EXPORT void preventQtDBusDllUnload();
|
||||
|
||||
#endif // guard
|
||||
|
||||
Reference in New Issue
Block a user