I compiled Qt 4.8.5 statically.
I installed poppler to my linux system.
I added to pro file:

Qt Code:
  1. QTPLUGIN += poppler
To copy to clipboard, switch view to plain text mode 

and I added to main.cpp

Qt Code:
  1. Q_IMPORT_PLUGIN(poppler)
To copy to clipboard, switch view to plain text mode 

Also I added libpoppler.a and libpoppler.so to my project as a system library.

After I run project I get these errors:

Qt Code:
  1. .../main.cpp:-1: error: undefined reference to `qt_plugin_instance_poppler()'
  2. :-1: error: collect2: ld returned 1 exit status
To copy to clipboard, switch view to plain text mode 

how can I add libpoppler plugin to my Qt4 project?

Thanks