../qt-everywhere-opensource-src-4.8.7/src/sql/drivers/mysql/qsql_mysql.cpp:963:33: error: assigning to 'my_bool *' (aka 'char *') from incompatible type 'bool *'
currBind->is_null = &nullVector[i];
Maybe related to this:
r469165 is supposed to fix this. Your build log shows you have that version. My best guess is that the version check done in that patch (#if MYSQL_VERSION_ID >= 80001) is true (so that we use bool for mysql_bool) while your MySQL (Maria?) headers don't use that yet.
Thanks for the reply.
Indeed, as it's listed:
DEFAULT_VERSIONS+= mysql=101m bdb=5
we are using MariaDB 10.1.
But the patch only applies to MySQL, so in my case I must temporarily remove the patch in order to build successfully. Maybe OP should take MariaDB into account.
*** This bug has been marked as a duplicate of bug 227813 ***