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. Build of Qt 4.8.0 RC1 fails to produce libQtDBus

Build of Qt 4.8.0 RC1 fails to produce libQtDBus

Scheduled Pinned Locked Moved Installation and Deployment
7 Posts 3 Posters 4.5k 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.
  • D Offline
    D Offline
    drpclind
    wrote on last edited by
    #1

    Hello,

    I'm stuck on this one... I downloaded the source code for Qt 4.8.0 RC1 and followed the online instructions to build and install it. As far as I can see, there were no errors, and the libraries were installed into /usr/local/Trolltech/Qt-4.8.0/lib. But when I tried to recompile my application, I received this error:

    /usr/lib/i386-linux-gnu/libQtDBus.so.4:-1: error: undefined reference to `QMetaCallEvent::QMetaCallEvent(int, QObject const*, int, int, int*, void**, QSemaphore*)'

    The linker is evidently trying to link an older, incompatible version of libQtDBus. This is because it is not finding libQtDBus.so.4.8.0, which is missing from /usr/local/Trolltech/Qt-4.8.0/lib. Apparently this library was not generated when I built Qt 4.8.0.

    I am running Qt Creator 2.3.1 on Ubuntu 11.10.

    I would appreciate any suggestions about how to get libQtDBus.so.4.8.0 to be generated properly when I build 4.8.0.

    Thanks

    1 Reply Last reply
    0
    • H Offline
      H Offline
      Hostel
      wrote on last edited by
      #2

      I think that a configure script will display why DBus was'n compiled - run again configure and check.

      1 Reply Last reply
      0
      • M Offline
        M Offline
        markhorsthuis
        wrote on last edited by
        #3

        Hello,

        I have the same problem. Any idea?

        Thanks

        1 Reply Last reply
        0
        • D Offline
          D Offline
          drpclind
          wrote on last edited by
          #4

          Yes: I analyzed the compiler output and found that it was missing the header files for DBus (dbus.h, etc.). So, I used apt-get to install the package libdbus-1-dev, and that installed the header files into /usr/include/dbus-1.0/dbus/. I think I had to add that path to the include paths for the project, but I forget exactly what I did; it was a couple weeks ago, before my system crashed and I lost that work, so I will have to do it again to relearn the exact steps I used. I will post an update when I get back to where I was a couple weeks ago.

          1 Reply Last reply
          0
          • M Offline
            M Offline
            markhorsthuis
            wrote on last edited by
            #5

            Ok, I have libdbus-1-dev installed but the Makefile does not include the correct paths. When I add the paths manually I get other compile errors. I think something else is missing,

            1 Reply Last reply
            0
            • H Offline
              H Offline
              Hostel
              wrote on last edited by
              #6

              Put compile errors.

              1 Reply Last reply
              0
              • M Offline
                M Offline
                markhorsthuis
                wrote on last edited by
                #7

                Some other packages were missing on my system. I got the list of packages needed to build Qt from the control file in the qt4-x11 4.8.0 source package from the debian experimental release

                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