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

Configure doesn't check for correct version of Network Manager

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • 4.7.0
    • 4.7.0
    • None
    • Linux Debian Etch x86.
    • ad19b397c52186acd76f0bbf43fe9b90ca5a5442

    Description

      I am running Debian Etch with Network Manager 0.6.6. The Qt configure program detected and enabled network manager support, but compilation of Qt failed in src/plugins/bearer/networkmanager/qnmdbushelper.cpp:

      qnmdbushelper.cpp: In member function 'void QNmDBusHelper::deviceStateChanged(quint32)':
      qnmdbushelper.cpp:60: error: 'NM_DEVICE_STATE_ACTIVATED' was not declared in this scope
      qnmdbushelper.cpp:61: error: 'NM_DEVICE_STATE_DISCONNECTED' was not declared in this scope
      qnmdbushelper.cpp:62: error: 'NM_DEVICE_STATE_UNAVAILABLE' was not declared in this scope
      qnmdbushelper.cpp:63: error: 'NM_DEVICE_STATE_FAILED' was not declared in this scope
      qnmdbushelper.cpp: In member function 'void QNmDBusHelper::slotPropertiesChanged(QMap<QString, QVariant>)':
      qnmdbushelper.cpp:92: error: 'NM_DEVICE_STATE_ACTIVATED' was not declared in this scope
      qnmdbushelper.cpp:93: error: 'NM_DEVICE_STATE_DISCONNECTED' was not declared in this scope
      qnmdbushelper.cpp:94: error: 'NM_DEVICE_STATE_UNAVAILABLE' was not declared in this scope
      qnmdbushelper.cpp:95: error: 'NM_DEVICE_STATE_FAILED' was not declared in this scope

      It appears that my version of Network Manager is too old to be supported but the configure test (config.tests/unix/networkmanager/) does not detect it. It should check for the required version of Network Manager.

      Attachments

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

        Activity

          People

            amccarth Aaron McCarthy (closed Nokia identity) (Inactive)
            tranter Jeff Tranter
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes