Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-23249

Compiling the module will fail with dbus_get_version was not declared in this scope

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Not Evaluated
    • 5.0.0
    • 4.8.0
    • D-Bus
    • None
    • CentOS 5.7
    • 0510fc149e0c6b955ee9b93917e72ee378369197

    Description

      When try to bild Qt on Linux it fails with:
      make[1]: Entering directory `/home/frank/Quellen/qt-everywhere-opensource-src-4.8.0/src/dbus'
      g++ -c -pipe -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -O2 -fvisibility=hidden -fvisibility-inlines-hidden -Wall -W -D_REENTRANT -fPIC -DQT_SHARED -DQT_BUILD_DBUS_LIB -DDBUS_API_SUBJECT_TO_CHANGE -DQT_LINKED_LIBDBUS -DQT_NO_CAST_TO_ASCII -DQT_ASCII_CAST_WARNINGS -DQT_MOC_COMPAT -DQT_USE_QSTRINGBUILDER -DQT_NO_DEBUG -DQT_XML_LIB -DQT_CORE_LIB -DQT_HAVE_MMX -DQT_HAVE_3DNOW -DQT_HAVE_SSE -DQT_HAVE_MMXEXT -DQT_HAVE_SSE2 -DQT_HAVE_SSE3 -DQT_HAVE_SSSE3 -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -I../../mkspecs/linux-g++ -I. -I../../include/QtCore -I../../include/QtXml -I../../include -I../../include/QtDBus -I.rcc/release-shared -I.moc/release-shared -o .obj/release-shared/qdbusconnection.o qdbusconnection.cpp
      qdbus_symbols_p.h: In function 'int q_dbus_watch_get_fd(DBusWatch*)':
      qdbus_symbols_p.h:179: warning: 'dbus_watch_get_fd' is deprecated (declared at /usr/include/dbus-1.0/dbus/dbus-connection.h:357)
      qdbus_symbols_p.h:179: warning: 'dbus_watch_get_fd' is deprecated (declared at /usr/include/dbus-1.0/dbus/dbus-connection.h:357)
      qdbus_symbols_p.h: In function 'void q_dbus_get_version(int*, int*, int*)':
      qdbus_symbols_p.h:300: error: 'dbus_get_version' was not declared in this scope
      make[1]: *** [.obj/release-shared/qdbusconnection.o] Error 1
      make[1]: Leaving directory `/home/frank/Quellen/qt-everywhere-opensource-src-4.8.0/src/dbus'
      make: *** [sub-dbus-make_default-ordered] Error 2

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            peppe Giuseppe D'Angelo
            tuxmaster Frank Büttner
            Votes:
            11 Vote for this issue
            Watchers:
            12 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes