I have just started using Qt and would like to create an exe that calls functions in a dll. I have created a library as described here and now I am trying to call an exported function from a Qt GUI application. When I try to build the exe I get the following error:

../TestLibrary/testfuncs.h:13: error: function `QString testfunc()' definition is marked dllimport.

I don't really understand this error because surely dllimport is what I want? Any advice would be appreciated.