Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. QtDbus windows Qt 5.2.1 MinGW dbus-1.8.0

QtDbus windows Qt 5.2.1 MinGW dbus-1.8.0

Scheduled Pinned Locked Moved General and Desktop
18 Posts 4 Posters 11.2k Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    S Offline
    SGaist
    Lifetime Qt Champion
    wrote on 26 Feb 2014, 21:33 last edited by
    #2

    Hi and welcome to devnet,

    IIRC, the dbus module is not built on windows by default, you have to do it yourself

    Interested in AI ? www.idiap.ch
    Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

    C 1 Reply Last reply 15 Apr 2015, 14:47
    0
    • R Offline
      R Offline
      red_spider
      wrote on 26 Feb 2014, 21:50 last edited by
      #3

      thanks for the reply.
      I know that is not built for windows
      I have built QtDbus
      and a copy Qt5DBus.dl Qt5DBusd.dl in / bin
      libQt5DBus.a libQt5DBusd.a Qt5DBus.prl Qt5DBusd.prl in / Lieb
      and other folders and files ...

      but when you compile your example, I get Project ERROR: Unknown module (s) in QT: dbus

      1 Reply Last reply
      0
      • S Offline
        S Offline
        SGaist
        Lifetime Qt Champion
        wrote on 26 Feb 2014, 21:59 last edited by
        #4

        Don't copy things like that, do a mingw32-make install

        Interested in AI ? www.idiap.ch
        Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

        1 Reply Last reply
        0
        • R Offline
          R Offline
          red_spider
          wrote on 27 Feb 2014, 10:15 last edited by
          #5

          Thank you very much, it really helped.

          compilation of examples
          there is another problem with QT_NO_DBUS

          1 Reply Last reply
          0
          • S Offline
            S Offline
            SGaist
            Lifetime Qt Champion
            wrote on 27 Feb 2014, 20:27 last edited by
            #6

            [quote author="red_spider" date="1393496113"]
            compilation of examples
            there is another problem with QT_NO_DBUS [/quote]

            What do you mean ?

            Interested in AI ? www.idiap.ch
            Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

            1 Reply Last reply
            0
            • R Offline
              R Offline
              red_spider
              wrote on 27 Feb 2014, 21:05 last edited by
              #7

              problem with #ifndef QT_NO_DBUS in src....
              I added to the project DEFINES -= QT_NO_DBUS but this does not solve the problem

              @class LibInterfaceAdapter : public QDBusAbstractAdaptor
              {
              Q_OBJECT
              @
              .......
              error: expected class-name before '{' token

              1 Reply Last reply
              0
              • S Offline
                S Offline
                SGaist
                Lifetime Qt Champion
                wrote on 27 Feb 2014, 21:14 last edited by
                #8

                It means that Qt was build with QT_NO_DBUS, so you will need to rebuild Qt with dbus enabled

                Interested in AI ? www.idiap.ch
                Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

                1 Reply Last reply
                0
                • R Offline
                  R Offline
                  red_spider
                  wrote on 27 Mar 2014, 14:47 last edited by
                  #9

                  thank you very much for your help,all projects build successful,
                  but ... dbus daemon will not start and no connections

                  1 Reply Last reply
                  0
                  • S Offline
                    S Offline
                    SGaist
                    Lifetime Qt Champion
                    wrote on 27 Mar 2014, 21:08 last edited by
                    #10

                    For that, I would recommend to ask the dbus developers

                    Interested in AI ? www.idiap.ch
                    Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

                    1 Reply Last reply
                    0
                    • A Offline
                      A Offline
                      ashishbansal
                      wrote on 29 Mar 2015, 10:12 last edited by
                      #11

                      @red_spider Can you please tell me how can I build DBus module for windows?

                      1 Reply Last reply
                      0
                      • S Offline
                        S Offline
                        SGaist
                        Lifetime Qt Champion
                        wrote on 29 Mar 2015, 22:01 last edited by
                        #12

                        IIRC, the latest version (Qt 5.4) should have the module pre-built, did you check ?

                        Interested in AI ? www.idiap.ch
                        Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

                        A C 2 Replies Last reply 30 Mar 2015, 16:15
                        0
                        • S SGaist
                          29 Mar 2015, 22:01

                          IIRC, the latest version (Qt 5.4) should have the module pre-built, did you check ?

                          A Offline
                          A Offline
                          ashishbansal
                          wrote on 30 Mar 2015, 16:15 last edited by ashishbansal
                          #13

                          @SGaist Actually I want it for WinRT specifically. The binary which I obtained from [1] does not contain dbus module. So, I tried building Qt 5.4.1 for WinRT and DBus support is not enabled in the output. I don't know how to enable it. Any parameter to be passed while configuring?

                          [1] http://download.qt.io/official_releases/qt/5.4/5.4.1/qt-opensource-windows-x86-winrt-5.4.1.exe
                          Thanks

                          1 Reply Last reply
                          0
                          • S Offline
                            S Offline
                            SGaist
                            Lifetime Qt Champion
                            wrote on 30 Mar 2015, 21:41 last edited by
                            #14

                            Let's keep the discussion on this thread otherwise it's going to be problematic to keep track of the information

                            Interested in AI ? www.idiap.ch
                            Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

                            1 Reply Last reply
                            0
                            • S SGaist
                              26 Feb 2014, 21:33

                              Hi and welcome to devnet,

                              IIRC, the dbus module is not built on windows by default, you have to do it yourself

                              C Offline
                              C Offline
                              Commanderdonut
                              wrote on 15 Apr 2015, 14:47 last edited by
                              #15
                              This post is deleted!
                              1 Reply Last reply
                              0
                              • S SGaist
                                29 Mar 2015, 22:01

                                IIRC, the latest version (Qt 5.4) should have the module pre-built, did you check ?

                                C Offline
                                C Offline
                                Commanderdonut
                                wrote on 15 Apr 2015, 15:01 last edited by
                                #16

                                @SGaist said:

                                IIRC, the latest version (Qt 5.4) should have the module pre-built, did you check ?

                                Hello,
                                I am using the latest version 5.4 and i am still getting the following error when trying to load one of the dbus examples...

                                "Project ERROR: Unknown module(s) in QT: dbus"

                                I have been seeing other people say that we still have to build it ourselves for 5.4, but i'm also seeing a lot of mixed comments on dbus in general. For a brief time now I've been having issues trying to resolve this problem, so i was wondering if anyone could point me in the right direction for getting the dbus module to work on a Win7 64bit machine

                                1 Reply Last reply
                                0
                                • S Offline
                                  S Offline
                                  SGaist
                                  Lifetime Qt Champion
                                  wrote on 17 Apr 2015, 07:29 last edited by
                                  #17

                                  Did you install DBus first ?

                                  Interested in AI ? www.idiap.ch
                                  Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

                                  C 1 Reply Last reply 24 Apr 2015, 15:40
                                  0
                                  • S SGaist
                                    17 Apr 2015, 07:29

                                    Did you install DBus first ?

                                    C Offline
                                    C Offline
                                    Commanderdonut
                                    wrote on 24 Apr 2015, 15:40 last edited by Commanderdonut
                                    #18

                                    @SGaist

                                    No i did not, i thought QtDBus.lib was built into Qt 5x

                                    Do you know how i would go about doing that on a windows machine at the DBus website they say the windows port is merged into the freedesktop dbus development branch but the link to their github is broken and the only available downloads that i can see are for linux.

                                    1 Reply Last reply
                                    0

                                    • Login

                                    • Login or register to search.
                                    • First post
                                      Last post
                                    0
                                    • Categories
                                    • Recent
                                    • Tags
                                    • Popular
                                    • Users
                                    • Groups
                                    • Search
                                    • Get Qt Extensions
                                    • Unsolved