I wrote an app that uses plugins and has a header with the interface for them, just like it says in the docs.

But how to compile the plugin? How to tell it the path of the interface header without writing the absolute path the the dir with my app?

I'm using Qt Creator.