https://bugs.kde.org/show_bug.cgi?id=382051

            Bug ID: 382051
           Summary: Does not build with NetworkManager-1.0
           Product: frameworks-networkmanager-qt
           Version: unspecified
          Platform: Other
                OS: Linux
            Status: UNCONFIRMED
          Severity: major
          Priority: NOR
         Component: general
          Assignee: jgrul...@redhat.com
          Reporter: fab...@ritter-vogt.de
                CC: lamar...@kde.org, lukas.ti...@merlin.cz
  Target Milestone: ---

Created attachment 106459
  --> https://bugs.kde.org/attachment.cgi?id=106459&action=edit
Patch

Despite CMakeLists.txt claiming that it builds with NetworkManager-1.0 as well,
it does not.

[   76s] In file included from
/home/abuild/rpmbuild/BUILD/networkmanager-qt-5.36.0git.20170630T235743~a885ae7/src/utils.h:31:0,
[   76s]                  from
/home/abuild/rpmbuild/BUILD/networkmanager-qt-5.36.0git.20170630T235743~a885ae7/src/utils.cpp:22:
[   76s]
/home/abuild/rpmbuild/BUILD/networkmanager-qt-5.36.0git.20170630T235743~a885ae7/src/settings/wirelesssetting.h:57:28:
error: 'NM_SETTING_WIRELESS_POWERSAVE_DEFAULT' was not declared in this scope
[   76s]          PowerSaveDefault = NM_SETTING_WIRELESS_POWERSAVE_DEFAULT,
[   76s]                             ^
[   76s]
/home/abuild/rpmbuild/BUILD/networkmanager-qt-5.36.0git.20170630T235743~a885ae7/src/settings/wirelesssetting.h:58:27:
error: 'NM_SETTING_WIRELESS_POWERSAVE_IGNORE' was not declared in this scope
[   76s]          PowerSaveIgnore = NM_SETTING_WIRELESS_POWERSAVE_IGNORE,
[   76s]                            ^
[   76s]
/home/abuild/rpmbuild/BUILD/networkmanager-qt-5.36.0git.20170630T235743~a885ae7/src/settings/wirelesssetting.h:59:28:
error: 'NM_SETTING_WIRELESS_POWERSAVE_DISABLE' was not declared in this scope
[   76s]          PowerSaveDisable = NM_SETTING_WIRELESS_POWERSAVE_DISABLE,
[   76s]                             ^
[   76s]
/home/abuild/rpmbuild/BUILD/networkmanager-qt-5.36.0git.20170630T235743~a885ae7/src/settings/wirelesssetting.h:60:27:
error: 'NM_SETTING_WIRELESS_POWERSAVE_ENABLE' was not declared in this scope
[   76s]          PowerSaveEnable = NM_SETTING_WIRELESS_POWERSAVE_ENABLE

A patch that fixes the issue is attached.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to