Details
-
Bug
-
Resolution: Done
-
P2: Important
-
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.