I think it really is a bug, since the same Qt-creator has always worked without this issue on my Ubuntu and Mint machines.
Thanks for the link, I check over.
What version of Ubuntu are you running ?
Did you test with the version of Qt Creator from Ubuntu's repositories ?
Try using the QMAKE_EXT_CPP qmake variable to have .c files treated as c++ files.