Remove -Wno-deprecated-declarations
I do not recall why this was added ages ago. Remove it to find new deprecated with the move to Qt5.9 among others.