Maybe the hint from lpotter helps.
I had the same problem, I had to link against libqtopia to get rid of the error.
But only for compiling for the destop and qvfb.
When I compile for Sharp, I do not need to link against it.
(libqtopia is not available on my 760, such that the linking would give a program, which does not run on the Zaurus )