I compiled Qt 4.8.5 statically.
I installed poppler to my linux system.
I added to pro file:
QTPLUGIN += poppler
QTPLUGIN += poppler
To copy to clipboard, switch view to plain text mode
and I added to main.cpp
Q_IMPORT_PLUGIN(poppler)
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:
.../main.cpp:-1: error: undefined reference to `qt_plugin_instance_poppler()'
:-1: error: collect2: ld returned 1 exit status
.../main.cpp:-1: error: undefined reference to `qt_plugin_instance_poppler()'
:-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
Bookmarks