| 1 | '''Trabajando con qpdfview-sign (nuestra versión) |
| 2 | |
| 3 | Luego empezamos a editar los ficheros para que qpdview encuente el poppler-0.47.0 donde le indiquemos. |
| 4 | |
| 5 | '''Primera corrida |
| 6 | |
| 7 | - Le indicaremos que busque las librerías en nuestro directorio de poppler descargado |
| 8 | |
| 9 | En {{{application.pro}}} |
| 10 | |
| 11 | {{{ |
| 12 | 66 sources/main.cpp |
| 13 | 67 |
| 14 | 68 LIBS += -L/home/debian/Pruebas/poppler-0.47.0/poppler/.libs/ -lpoppler |
| 15 | }}} |
| 16 | |
| 17 | {{{ |
| 18 | 278 INCLUDEPATH += /home/pbuitrago/Cenditel/Seguridad/POA-2016/programas/poppler-0.45.0 |
| 19 | 279 INCLUDEPATH += /home/pbuitrago/Cenditel/Seguridad/POA-2016/programas/poppler-0.45.0/poppler |
| 20 | 280 INCLUDEPATH += /home/debian/Pruebas/poppler-0.47.0/ |
| 21 | 281 INCLUDEPATH += /home/debian/Pruebas/poppler-0.47.0/poppler/ |
| 22 | }}} |
| 23 | |
| 24 | '''Segunda Corrida |
| 25 | |
| 26 | - Le indicaremos que busque las librerías en nuestro poppler instalado en el sistema |
| 27 | |
| 28 | En {{{application.pro}}} |
| 29 | |
| 30 | {{{ |
| 31 | 68 LIBS += -L/home/debian/Pruebas/poppler-0.47.0/poppler/.libs/ -lpoppler |
| 32 | 68 #LIBS += -L/home/debian/Pruebas/poppler-0.47.0/poppler/.libs/ -lpoppler |
| 33 | 69 LIBS += -L/usr/local/lib -lpoppler |
| 34 | }}} |
| 35 | |
| 36 | {{{ |
| 37 | 280 INCLUDEPATH += /home/debian/Pruebas/poppler-0.47.0/ |
| 38 | 281 INCLUDEPATH += /home/debian/Pruebas/poppler-0.47.0/poppler/ |
| 39 | 281 #INCLUDEPATH += /home/debian/Pruebas/poppler-0.47.0/ |
| 40 | 282 INCLUDEPATH += /usr/local/include/poppler |
| 41 | 283 #INCLUDEPATH += /home/debian/Pruebas/poppler-0.47.0/poppler/ |
| 42 | 284 #INCLUDEPATH += /home/debian/Pruebas/poppler-0.47.0/poppler/ |
| 43 | }}} |
| 44 | |
| 45 | Copiar el directorio {{{/goo}}} que está en {{{poppler-0.47.0/goo}}} a {{{/usr/local/include/poppler}}} |
| 46 | |
| 47 | Con las nuevas rutas establecidas compilamos y construimos qpdfview... |
| 48 | |
| 49 | Ejecutamos el script |
| 50 | |
| 51 | {{{ |
| 52 | $ ./qpdfview |
| 53 | ./qpdfview: error while loading shared libraries: libpoppler.so.63: cannot open shared object file: No such file or directory |
| 54 | }}} |
| 55 | |
| 56 | '''Error al cargar las bibliotecas compartidas... |
| 57 | |
| 58 | En algun momento se usó: |
| 59 | |
| 60 | {{{ |
| 61 | $ export LD_LIBRARY_PATH=/home/debian/Pruebas/poppler-0.47.0/poppler/.libs:$LD_LIBRARY_PATH |
| 62 | }}} |
| 63 | |
| 64 | y |
| 65 | |
| 66 | {{{ |
| 67 | $ export LD_LIBRARY_PATH=/usr/local/lib |
| 68 | }}} |