I compiled poppler statically with ./configure --enable-static & make & make install.

I add these line to my pro file:

Qt Code:
  1. unix:!macx:!symbian: LIBS += -L$$PWD/../../../../../../usr/local/lib/ -lpoppler-qt4
  2.  
  3. INCLUDEPATH += $$PWD/../../../../../../usr/include/poppler/qt4
  4. DEPENDPATH += $$PWD/../../../../../../usr/include/poppler/qt4
  5.  
  6. unix:!macx:!symbian: PRE_TARGETDEPS += $$PWD/../../../../../../usr/local/lib/libpoppler-qt4.a
To copy to clipboard, switch view to plain text mode 

Also I copied needed so files(libpoppler-qt4.so and libpoppler.so)
app works in my computer and in other computer. but app crashed in poppler class in other computer with segmentation fault error.

Please help how can I add poppler to my app statically?