mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-03-23 15:25:35 +08:00
Starting: dbus-daemon.exe --session - blocks CMD (sometimes daemon continues to run when pressing CTRL/C) - does not start without directory session.d, i.e. ..\Qt\Qt5.1.0DBus\qtbase\etc\dbus-1\session.d !!! The includes are set in the qmake file, there are the header files !!! which are used in the interface /// qdbuscpp2xml context_network.h -x blackmisc_cpp2xml.dll -o blackcore.contextnetwork.xml qdbuscpp2xml context_network_interface.h -x blackmisc_cpp2xml.dll -o blackcore.contextnetwork.xml qdbuscpp2xml context_settings_interface.h -x blackmisc_cpp2xml.dll -o blackcore.contextsettings.xml qdbuscpp2xml context_application_interface.h -x blackmisc_cpp2xml.dll -o blackcore.contextapplication.xml qdbuscpp2xml context_voice_interface.h -x blackmisc_cpp2xml.dll -o blackcore.contextvoice.xml Set search path for plugins: env.var. QT_PLUGIN_PATH Done automatically (qmake), but if required manually Interface: qdbusxml2cpp -i blackmisc/blackmiscfreefunctions.h -i blackmisc/blackmiscallvalueclasses.h -p contextnetwork_interface.h: H:\Projects\Qt\VatsimClient\client\src\blackcore\blackcore.contextnetwork.xml qdbusxml2cpp -i contextnetwork_interface.h -p :contextnetwork_interface.cpp H:\Projects\Qt\VatsimClient\client\src\blackcore\blackcore.contextnetwork.xml Adaptor: The : indicates generation of cpp file qdbusxml2cpp -i blackmisc/blackmiscfreefunctions.h -i blackmisc/blackmiscallvalueclasses.h -a contextnetwork_adaptor.h blackcore.contextnetwork.xml qdbusxml2cpp -i context_adaptor.h -a :contextnetwork_adaptor.cpp blackcore.contextnetwork.xml Manually: <signal name="statusMessage"> <signal name="textMessagesReceived"> Removed generation: # Causes nmake to run qdbusxml2cpp to automatically generate the dbus adaptor and interface classes, # then automatically adds them to the sources to compile # !! Make sure the plugin is available as release build and known QT_PLUGIN_PATH # QDBUSXML2CPP_ADAPTOR_HEADER_FLAGS = -i blackmisc/blackmiscfreefunctions.h -i blackmisc/blackmiscallvalueclasses.h # DBUS_ADAPTORS += blackcore.contextnetwork.xml # DBUS_ADAPTORS += blackcore.contextvoice.xml # DBUS_ADAPTORS += blackcore.contextsettings.xml # DBUS_ADAPTORS += blackcore.contextapplication.xml # QDBUSXML2CPP_INTERFACE_HEADER_FLAGS = -i blackmisc/blackmiscfreefunctions.h -i blackmisc/blackmiscallvalueclasses.h # DBUS_INTERFACES += blackcore.contextnetwork.xml