how can I read from pdf file in Qt?
how can I read from pdf file in Qt?
but it is only for linux. could you please tell me about how to use it in windows????
I managed to get it but now I have another problem "error while loading shared library libpoppler.so.4" I get this error while building the project but I have included this line "LIBS += -L/usr/local/lib =lpoppler " in my project.I am using Ubuntu
sorry I included line "LIBS += -L/usr/local/lib -lpoppler-qt4" in my project
Added after 6 minutes:
there are libpoppler.so and libpopper.so.4 in the library path
Last edited by kito; 21st June 2012 at 16:45.
it is working after coping libpoppler.so into /usr/lib but now i dont know if it is going to solve my problem.The document can be loaded and I am able to find many things such as finding the number of pages.However my real problem was to read the contents of pdf file into say list.
If you expect to receive full structure of the document with images and stuff then poppler won't help. I doubt any PDF library will since the file format itself does not hold any structure of the data it contains. If you just want text without any formatting then poppler should handle that without problems (there is access to pages and lists of text).
Thanks Wysota I wanted text from the pdf file.Now everything is working fine.Thanks again
Bookmarks