With a recent Qt 5.8 change, the include file <QtCore/qfeatures.h> is no longer available. To check if Qt has QtDBus, I suggest to use the find_package mechanism.
Git commit 3f10bfe169b6ad2dcde4a1e71ddec69cd0abdecd by Takahiro Hashimoto. Committed on 25/10/2016 at 09:26. Pushed by hashimoto into branch 'master'. use cmake variables to check if QtDbus is enabled REVIEW: 129256 M +1 -1 phonon/CMakeLists.txt M +0 -7 phonon/phononconfig_p.h.in http://commits.kde.org/phonon/3f10bfe169b6ad2dcde4a1e71ddec69cd0abdecd
Git commit 543183aa844a27869c7fc46957ff097c155d6575 by Harald Sitter, on behalf of Takahiro Hashimoto. Committed on 24/01/2017 at 07:05. Pushed by sitter into branch '4.9'. use cmake variables to check if QtDbus is enabled REVIEW: 129256 M +1 -1 phonon/CMakeLists.txt M +0 -7 phonon/phononconfig_p.h.in https://commits.kde.org/phonon/543183aa844a27869c7fc46957ff097c155d6575