I'm somewhat embarrassed to admit that I was doing an in-source build
and no amount of `make clean` and `rm CMakeCache.txt` fixed the problem,
but doing a proper out-of-source build worked just fine. That'll teach me...
On 04/06/2018 02:58 AM, Kevin Funk wrote:
On Thursday, 29 March 2018 15:53:25 CEST Nate Graham wrote:
In trying to test out a KWidgetsAddons patch, I find that I'm unable to
compile it on KDE Neon dev unstable the code due to a CMake error:
CMake Error in autotests/CMakeLists.txt:
No known features for CXX compiler
Full output available at https://paste.kde.org/piyy4wsnl
FYI: The compile-feature  is used by the CMake Config files installed by
Qt. For Qt it is used to figure out when and how to pass the i.e. the resp. `-
std=...` flag for GNU-like compilers for users of Qt.
Usually you get that kind of error in case you're trying to use an unsupported
compiler for which CMake doesn't know the availability of the C++ features. A
typical example is Android GCC.
I'm surprised you get that error by a standard GCC...? Would be nice to figure
out what's going wrong. Maybe `cmake --trace` or `cmake --debug-output` can
Please check the following link for a work-around:
My g++ version looks okay:
$ g++ --version
g++ (Ubuntu 5.4.0-6ubuntu1~16.04.9) 5.4.0 20160609
Copyright (C) 2015 Free Software Foundation, Inc.