Yes it is. But if you don't do so, you have the risk that your application doesn't compile with future versions of Qt without changing the source code.