Is the header right? It may have an import error.

Why don't you try to use dinamic linking? You do not need any header as far as i know but it is more difficult to use. The dinamic linking is done using QLibrary (Check it on the Qt Assistant).