Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. Dbus tools don't compile
Qt 6.11 is out! See what's new in the release blog

Dbus tools don't compile

Scheduled Pinned Locked Moved Installation and Deployment
20 Posts 2 Posters 5.2k Views 1 Watching
  • 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
    skylendar
    wrote on last edited by
    #1

    hi there for reading and possibly for answering this post.

    I'm striving to compile qt 5.3.2 win64 with mingw and d-bus interface.

    I was able to get the dbus module compiled with a minor modification, but the qdbuscpp2xml and qdbusxml2cpp aren't managed by the configure process, wheras they are necesssary.

    How to get them compiled as well ?

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi,

      If you have all the rest built, you can simply call qmake/mingw32-make in the relevant folder and you should be good to go

      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 Offline
        S Offline
        skylendar
        wrote on last edited by
        #3

        Did you receive my previous answer ? It don't see it on this thread.

        That being said, it didn't work. Many compil errors :-(

        1 Reply Last reply
        0
        • SGaistS Offline
          SGaistS Offline
          SGaist
          Lifetime Qt Champion
          wrote on last edited by
          #4

          Nop, no answer received.

          What error are you getting ?

          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 Offline
            S Offline
            skylendar
            wrote on last edited by
            #5

            Hmmm, the present "Post a reply" doesn't seem to accept long texts, That's why a send you a "pastebin extract":http://pastebin.com/xz9AVp8u

            1 Reply Last reply
            0
            • SGaistS Offline
              SGaistS Offline
              SGaist
              Lifetime Qt Champion
              wrote on last edited by
              #6

              Yes, there's a maximum number of character allowed and you probably reached it.

              It looks like the module was not compiled or can't be found (not installed ?)

              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 Offline
                S Offline
                skylendar
                wrote on last edited by
                #7

                ah, before trying to compile qdbuscpp2xml, I had to run qmake before, because the dir only contained:

                qdbuscpp2xml.cpp
                qdbuscpp2xml.pro

                it seems that this dir has been ignored by the configure tool, whereas I don't specify -no-dbus

                1 Reply Last reply
                0
                • S Offline
                  S Offline
                  skylendar
                  wrote on last edited by
                  #8

                  And of course I re-installed everything before. Qt5DBus.dll is there and runnable. Plus qt\include\QtDBus with all the include files

                  1 Reply Last reply
                  0
                  • SGaistS Offline
                    SGaistS Offline
                    SGaist
                    Lifetime Qt Champion
                    wrote on last edited by
                    #9

                    There's something not clear, what do you mean by reinstall ? From your custom build ?

                    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 Offline
                      S Offline
                      skylendar
                      wrote on last edited by
                      #10

                      Yes, mingw32-make install, to make sure that everything has been compiled and can be installed, including all the dbus stuff, except the tools, of course.

                      1 Reply Last reply
                      0
                      • SGaistS Offline
                        SGaistS Offline
                        SGaist
                        Lifetime Qt Champion
                        wrote on last edited by
                        #11

                        Can you show your configure line ?

                        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 Offline
                          S Offline
                          skylendar
                          wrote on last edited by
                          #12

                          configure -prefix c:\qt -no-opengl -opensource -no-compile-examples -I c:\programdata\kde\include -D HAVE_STRUCT_TIMESPEC=1 -I c:\pgsql\include -L c:\programdata\kde\lib -L c:\pgsql\lib -nomake examples -no-sql-sqlite -no-warnings-are-errors -plugin-sql-psql

                          1 Reply Last reply
                          0
                          • SGaistS Offline
                            SGaistS Offline
                            SGaist
                            Lifetime Qt Champion
                            wrote on last edited by
                            #13

                            Why no-warning-are-errors ?

                            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 Offline
                              S Offline
                              skylendar
                              wrote on last edited by
                              #14

                              why not. You can suppress it if you want.

                              1 Reply Last reply
                              0
                              • S Offline
                                S Offline
                                skylendar
                                wrote on last edited by
                                #15

                                But it doesn't explain why configure.exe ignores the dbus tools

                                1 Reply Last reply
                                0
                                • SGaistS Offline
                                  SGaistS Offline
                                  SGaist
                                  Lifetime Qt Champion
                                  wrote on last edited by
                                  #16

                                  Indeed, just to be sure, how did you install DBUS on windows ?

                                  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 Offline
                                    S Offline
                                    skylendar
                                    wrote on last edited by
                                    #17

                                    I got it from kde for windows.

                                    1 Reply Last reply
                                    0
                                    • SGaistS Offline
                                      SGaistS Offline
                                      SGaist
                                      Lifetime Qt Champion
                                      wrote on last edited by
                                      #18

                                      From the KDE installer ?

                                      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
                                      • SGaistS Offline
                                        SGaistS Offline
                                        SGaist
                                        Lifetime Qt Champion
                                        wrote on last edited by
                                        #19

                                        Since you wanted to say "yes":http://qt-project.org/forums/viewthread/49194/ which version did you use ?

                                        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 Offline
                                          S Offline
                                          skylendar
                                          wrote on last edited by
                                          #20

                                          dbus 1.4.24 from the latest stable version of kde for windows.

                                          p.s. ok, it works again. I can post an answer. I don't know if you did something for that :-)

                                          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