In a fresh Ubuntu 18.04 install with a fresh Qt Creator & Qt 5.11.1 install (with apt-get install build-essential), when building qamqp, when rabbitinterface.h includes , it drills down to /usr/include/c++/7/bits/stl_algo.h which includes and in there, there is an #include_next which fails.
This is a fairly common problem described around the internet, unfortunately the qamqp code is encountering it in the latest system configurations... there are a number of suggested ways to get around it, mostly having to do with -isystem and /usr/include... something in the qamqp.pro file might be able to address it.
In a fresh Ubuntu 18.04 install with a fresh Qt Creator & Qt 5.11.1 install (with apt-get install build-essential), when building qamqp, when rabbitinterface.h includes, it drills down to /usr/include/c++/7/bits/stl_algo.h which includes and in there, there is an #include_next which fails.
This is a fairly common problem described around the internet, unfortunately the qamqp code is encountering it in the latest system configurations... there are a number of suggested ways to get around it, mostly having to do with -isystem and /usr/include... something in the qamqp.pro file might be able to address it.