Results 1 to 10 of 10

Thread: QtDBus on Windows

  1. #1

    Question QtDBus on Windows

    I have installed latest QT Creator (with QT SDK), but cannot get the QtDbus working on Windows 32bit. I've read something about KDE WinDBus, but couldn't find more info about it.

    Please, could you give my detailed instructions, how to make DBus working on Windows? What to install and how to set the paths.

    Thank you.

  2. #2
    Join Date
    Jan 2006
    Posts
    132
    Thanked 16 Times in 16 Posts
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: QtDBus on Windows

    From the docs:

    The QtDBus module is a Unix-only library that you can use to make Inter-Process Communication using the D-Bus protocol.
    TCP/IP and Shared Memory are the Qt IPC's that work on all platforms.

  3. #3

    Default Re: QtDBus on Windows

    Yeah, I've read that, but also read about making dbus working on windows. IMO, QT should be 100% cross-platform, not anything less.

  4. #4
    Join Date
    Jan 2006
    Posts
    132
    Thanked 16 Times in 16 Posts
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: QtDBus on Windows

    Ok, but there are features on every platform that are not available on others, for example you wont get active x controls on linux or mac.

    Those packages are however clearly marked as platform dependent, and you should not use them if you want to create cross-platform applications.

  5. #5

    Question Re: QtDBus on Windows

    Quote Originally Posted by ManuMies View Post
    I have installed latest QT Creator (with QT SDK), but cannot get the QtDbus working on Windows 32bit. I've read something about KDE WinDBus, but couldn't find more info about it.

    Please, could you give my detailed instructions, how to make DBus working on Windows? What to install and how to set the paths.

    Thank you.
    Back to my initial question, how is it done?

    Btw, I actually got it (WinDBus) working so far, that it now gives me a different error: "undefined reference to '_imp__ZN15QDBusConnection...". What does this mean?
    Last edited by ManuMies; 26th January 2009 at 08:49.

  6. #6
    Join Date
    Jan 2006
    Posts
    132
    Thanked 16 Times in 16 Posts
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: QtDBus on Windows

    It seems that the application-side dbus got included to Qt at 4.3

    What you need additionally is the system (server) side, which you can download at sourceforge.

    http://sourceforge.net/projects/windbus/
    Last edited by seneca; 26th January 2009 at 09:02.

  7. #7

    Default Re: QtDBus on Windows

    Yeah, I got winDBus, but cannot get it "installed" on my winxp.

    More detailed instructions please, if you know how?

  8. #8
    Join Date
    Jan 2006
    Posts
    132
    Thanked 16 Times in 16 Posts
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: QtDBus on Windows

    Sorry, I did not use it yet.

    The source is documented with doxygen however, so I would run doxygen over it to create the documentation.

    Or check the dedicated list at:

    http://www.nabble.com/Free-Desktop---dbus-f1052.html

  9. #9

    Default Re: QtDBus on Windows

    Do I need to recompile something, ex. tools/dbus under qt sdk?

  10. #10

    Default Re: QtDBus on Windows

    Got it working now.

    I needed to copy compiled .dll and lib file under qt sdk, rename .lib to lib***.a and re-compile src/qdus and tools/qtdbus.

    Somebody should definately add info about DBus On Windows to the Wiki page.

Similar Threads

  1. Qt Jambi, deploying app on Mac & Windows fails
    By ChrisColon in forum Installation and Deployment
    Replies: 2
    Last Post: 16th February 2009, 22:05
  2. Replies: 5
    Last Post: 15th January 2009, 09:03
  3. Opening text file fails after autostartup on windows
    By yogourta in forum Qt Programming
    Replies: 2
    Last Post: 18th October 2008, 03:52
  4. Windows not appearing in XP.
    By beardybloke in forum Qt Programming
    Replies: 7
    Last Post: 24th October 2007, 17:32
  5. converting unix exe to windows binary
    By deekayt in forum General Programming
    Replies: 2
    Last Post: 17th September 2006, 01:00

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Qt is a trademark of The Qt Company.