[prev in list] [next in list] [prev in thread] [next in thread] 

List:       pykde
Subject:    Re: [PyQt] D-Bus support for Windows
From:       Lukas Hetzenecker <lukas.hetzenecker () gmail ! com>
Date:       2012-01-23 18:00:15
Message-ID: CAJ+P4RxDNxvq9BMb_mcTUAWeMsawqMyBMCb7TGWUY0=qXpSx5g () mail ! gmail ! com
[Download RAW message or body]

Thanks! I got it working!

Here is a simplified HOWTO for everybody that wants to achieve the same:

To get it working you need to compile the latest dbus library/daemon,
Qt 4.8 (needs to be recompiled, because the official release for
Window doesn't include QtDBus), dbus-python (patches to make it
compile with MSVC can be found in the KDE Windows repository) and
finally PyQt (the windows source doesn't include the dbus
subdirectory, it has to be copied from the X11 release; PyQt 4.9 is
the minimum requirement).

If you have any more questions feel free to ask me,
Lukas

2012/1/23 Lukas Hetzenecker <lukas.hetzenecker@gmail.com>:
> Thanks! I got it working!
>
> Here is a simplified HOWTO for everybody that wants to achieve the same:
> To get it working you need to compile the latest dbus library/daemon,
> Qt 4.8 (needs to be recompiled, because the official release for
> Window doesn't include QtDBus), dbus-python (patches to make it
> compile with MSVC can be found in the KDE Windows repository) and
> finally PyQt (the windows source doesn't include the dbus
> subdirectory, it has to be copied from the X11 release; PyQt 4.9 is
> the minimum requirement).
>
> If you have any more questions feel free to ask me,
> Lukas
>
> 2011/12/28 Phil Thompson <phil@riverbankcomputing.com>:
>> On Wed, 28 Dec 2011 11:30:11 +0100, Lukas Hetzenecker
>> <lukas.hetzenecker@gmail.com> wrote:
>>> Hello Phil and all interested community members,
>>>
>>> I'd like to ask you if you have any plans to add support for Windows
>>> to your D-Bus mainloop implementation.
>>>
>>> Some time ago there was a discussion on the dbus mailing list:
>>> http://web.archiveorange.com/archive/v/2mxmYng5gCA0MCJamGh9
>>>
>>> The D-Bus server was already ported to Windows and is used
>>> successfully by some applications (e.g. the KDE project).
>>> The only thing that's missing now is any python support (glib also
>>> isn't ported yet). I tried to copy the dbus/ directory from
>>> the Linux source code to the source for Windows and it compiled,
>>> although i couldn't get it to work (more information about
>>> that is in the thread mentioned above).
>>>
>>> Is there any chance that we could get this great IPC framework
>>> supported on all major operating systems?
>>
>> If you can build and run C++ Qt DBus applications under Windows then the
>> new QtDBus module in PyQt v4.9 should work (if you are using Qt v4.7 or
>> later). You will need to change configure.py so that it tries to build
>> QtDBus under Windows - the change needed is obvious if you search for
>> "QtDBus".
>>
>> Phil
_______________________________________________
PyQt mailing list    PyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic