Author Topic: Qpdf  (Read 60572 times)

Silvan Scherrer

  • Full Member
  • ***
  • Posts: 200
  • Karma: +1/-0
    • View Profile
Re: Qpdf
« Reply #30 on: May 13, 2013, 10:14:56 am »
please try to redirect the output with qpdfview >out.txt and qpdfview 2>out2.txt and see if there is an error. as there must be a missing dll. and i'm almost sure the latest qpdfview readme is exact on what you need.
kind regards
Silvan
CTO bww bitwise works GmbH

Please help us with donations, so we can further work on OS/2 based projects. Our Shop is at https://www.bitwiseworks.com/shop/index.php

ivan

  • Hero Member
  • *****
  • Posts: 1557
  • Karma: +17/-0
    • View Profile
Re: Qpdf
« Reply #31 on: May 13, 2013, 01:31:55 pm »
Thank you Silvan.

Out.txt was blank
out2.txt is attached.  The qpdfpdf.dll is in the same directory as qpdfview.exe, I also tried with it in \os2\dll and got the same results.

Silvan Scherrer

  • Full Member
  • ***
  • Posts: 200
  • Karma: +1/-0
    • View Profile
Re: Qpdf
« Reply #32 on: May 13, 2013, 01:58:30 pm »
I have z.dll, jpeg.dll, djv.dll, fntcfg2.dll and freetyp2.dll in \os2\dll so the question is what am I missing.
from what date are the fntcfg2.dll, freetyp2.dll and jpeg.dll?

kind regards
Silvan
CTO bww bitwise works GmbH

Please help us with donations, so we can further work on OS/2 based projects. Our Shop is at https://www.bitwiseworks.com/shop/index.php

Silvan Scherrer

  • Full Member
  • ***
  • Posts: 200
  • Karma: +1/-0
    • View Profile
Re: Qpdf
« Reply #33 on: May 13, 2013, 02:47:19 pm »
Thank you Silvan.

Out.txt was blank
out2.txt is attached.  The qpdfpdf.dll is in the same directory as qpdfview.exe, I also tried with it in \os2\dll and got the same results.

to load qpdfpdf.dll you need at least libc065.dll, Qtcore4.dll, QtXml4.dll, gcc446.dll, stdcpp.dll poppqt44.dll, popp34.dll, tiff.dll, jpeg.dll
so either you miss one of those or it's a wrong one.
kind regards
Silvan
CTO bww bitwise works GmbH

Please help us with donations, so we can further work on OS/2 based projects. Our Shop is at https://www.bitwiseworks.com/shop/index.php

ivan

  • Hero Member
  • *****
  • Posts: 1557
  • Karma: +17/-0
    • View Profile
Re: Qpdf
« Reply #34 on: May 13, 2013, 03:25:35 pm »
To answer your questions.
fntcfg2.dll 05/01/13
freetyp2.dll 05/01/13
jpeg.dll 19/12/11

All the dlls you list are in \os2\dll or the program directory.

Silvan Scherrer

  • Full Member
  • ***
  • Posts: 200
  • Karma: +1/-0
    • View Profile
Re: Qpdf
« Reply #35 on: May 13, 2013, 05:31:12 pm »
To answer your questions.
fntcfg2.dll 05/01/13
freetyp2.dll 05/01/13
jpeg.dll 19/12/11

All the dlls you list are in \os2\dll or the program directory.
search on hobbes for chkdll32 and see if poppqt44.dll and popp34.dll can load all dependencies.

and it would not hurt to install qpdfview 0.4.2 beta 1, as it has some fixes also. but qpdfview 0.4.2 uses popp36.dll instead of popp34.dll
kind regards
Silvan
CTO bww bitwise works GmbH

Please help us with donations, so we can further work on OS/2 based projects. Our Shop is at https://www.bitwiseworks.com/shop/index.php

Silvan Scherrer

  • Full Member
  • ***
  • Posts: 200
  • Karma: +1/-0
    • View Profile
Re: Qpdf
« Reply #36 on: May 13, 2013, 05:42:21 pm »
if it's not on hobbes get it from here http://www.os2site.com/sw/dev/dll/

and use chkdll32 -! popp34.dll and see if all dll can be loaded
kind regards
Silvan
CTO bww bitwise works GmbH

Please help us with donations, so we can further work on OS/2 based projects. Our Shop is at https://www.bitwiseworks.com/shop/index.php

Silvan Scherrer

  • Full Member
  • ***
  • Posts: 200
  • Karma: +1/-0
    • View Profile
Re: Qpdf
« Reply #37 on: May 13, 2013, 05:51:49 pm »
if it's not on hobbes get it from here http://www.os2site.com/sw/dev/dll/

and use chkdll32 -! popp34.dll and see if all dll can be loaded

or even better use pmdll from hobbes.
kind regards
Silvan
CTO bww bitwise works GmbH

Please help us with donations, so we can further work on OS/2 based projects. Our Shop is at https://www.bitwiseworks.com/shop/index.php

ivan

  • Hero Member
  • *****
  • Posts: 1557
  • Karma: +17/-0
    • View Profile
Re: Qpdf
« Reply #38 on: May 13, 2013, 07:16:56 pm »
This is getting very frustrating.  Pmdll shows that all the dependencies are loaded apparently without problems yet I still get the error that it can not the pdf.

Silvan Scherrer

  • Full Member
  • ***
  • Posts: 200
  • Karma: +1/-0
    • View Profile
Re: Qpdf
« Reply #39 on: May 13, 2013, 07:50:13 pm »
i hope you did it via cmdline and from the same dir as you invoke qpdfview.exe.
try also pmdll against qpdfpdf.dll
which qt version do you have? and how did you install qt? by hand or via rpm?
kind regards
Silvan
CTO bww bitwise works GmbH

Please help us with donations, so we can further work on OS/2 based projects. Our Shop is at https://www.bitwiseworks.com/shop/index.php

ivan

  • Hero Member
  • *****
  • Posts: 1557
  • Karma: +17/-0
    • View Profile
Re: Qpdf
« Reply #40 on: May 13, 2013, 08:46:18 pm »
Progress of a sort. 

I downloaded qpdfview 0.4.2b1 and tried that.  It opens PDF files!!  Downside the PDF files have to be in the same volume as Qpdfview - try opening a pdf on another volume and it locks the WPS requiring a reset button restart.

Qpdfpdf.dll also appears to have no problems.

I will now move Qpdfview 0.4.2b1 to the same volume as the bulk of the PDF files and continue testing but I like what I see at the moment.

Qt4 is v4.7.3 ga2 according to the change log. 
Qt4 was originally installed using warpin but has been updated from zip files using the same directory structure and placement.  As I said all the other Qt4 applications work without problems. CoolReader3 is especially well used for checking how epubs appear - thank you for that - now a question, how much work is it to port a Qt4 based application, I'm wondering if I could do anything like getting Sigil more up to date?

 

Silvan Scherrer

  • Full Member
  • ***
  • Posts: 200
  • Karma: +1/-0
    • View Profile
Re: Qpdf
« Reply #41 on: May 14, 2013, 09:59:23 am »
Progress of a sort. 

I downloaded qpdfview 0.4.2b1 and tried that.  It opens PDF files!!  Downside the PDF files have to be in the same volume as Qpdfview - try opening a pdf on another volume and it locks the WPS requiring a reset button restart.
thats really strange and has for sure nothing to do with qpdfview. either a broken qt installation or a old xwp or....

Qpdfpdf.dll also appears to have no problems.

I will now move Qpdfview 0.4.2b1 to the same volume as the bulk of the PDF files and continue testing but I like what I see at the moment.
sounds good for me

Qt4 is v4.7.3 ga2 according to the change log.
Qt4 was originally installed using warpin but has been updated from zip files using the same directory structure and placement.  As I said all the other Qt4 applications work without problems. CoolReader3 is especially well used for checking how epubs appear - thank you for that - now a question, how much work is it to port a Qt4 based application, I'm wondering if I could do anything like getting Sigil more up to date?
to update a qt app is usually not a big problem, but you need to have a good working build env. and that mostly the biggest problem.
« Last Edit: May 14, 2013, 03:41:55 pm by Silvan Scherrer »
kind regards
Silvan
CTO bww bitwise works GmbH

Please help us with donations, so we can further work on OS/2 based projects. Our Shop is at https://www.bitwiseworks.com/shop/index.php

Silvan Scherrer

  • Full Member
  • ***
  • Posts: 200
  • Karma: +1/-0
    • View Profile
Re: Qpdf
« Reply #42 on: May 14, 2013, 03:43:47 pm »
I'm wondering if I could do anything like getting Sigil more up to date?
Sigil is one of the special cases, as it already needs Qt5 and we don't have that atm. So no chance to get a recent version i'm afraid.
kind regards
Silvan
CTO bww bitwise works GmbH

Please help us with donations, so we can further work on OS/2 based projects. Our Shop is at https://www.bitwiseworks.com/shop/index.php

ivan

  • Hero Member
  • *****
  • Posts: 1557
  • Karma: +17/-0
    • View Profile
Re: Qpdf
« Reply #43 on: May 14, 2013, 11:22:55 pm »
Sigil is one of the special cases, as it already needs Qt5 and we don't have that atm. So no chance to get a recent version i'm afraid.

As far as I remember Sigil 0.5.3 is the last version that works with Qt4.7.3.  Sigil 0.6.0 series require Qt4.8.x and Sigil 0.7.x requires Qt5.0.x.

I found Sigil 0.5.3 was very usable with many improvements over the v0.2 that Paul produced, which I still use for quick corrections to epubs - saves having to start windows in VirtualBox/2.

If you can tell me what is needed to setup a build environment I have a spare computer I can dedicate to the task.  It should give me something to do in the long evenings and, hopefully, keep my mind in trim - they say old dogs can't learn new tricks but this one is going to try.

Silvan Scherrer

  • Full Member
  • ***
  • Posts: 200
  • Karma: +1/-0
    • View Profile
Re: Qpdf
« Reply #44 on: May 15, 2013, 02:30:57 pm »
If you can tell me what is needed to setup a build environment I have a spare computer I can dedicate to the task.  It should give me something to do in the long evenings and, hopefully, keep my mind in trim - they say old dogs can't learn new tricks but this one is going to try.
first you need a working rpm env. with that set up see: http://svn.netlabs.org/rpm/wiki/RpmHowToDevelopers for seting up the basic build env. to have qt4-devel you need also "yum install qt4-devel-kit".
this gives you a good starting point and as long as qt projects use .pro files qmake produces you the makefiles. also read the qt4 readme about shadow building.

have fun
Silvan
kind regards
Silvan
CTO bww bitwise works GmbH

Please help us with donations, so we can further work on OS/2 based projects. Our Shop is at https://www.bitwiseworks.com/shop/index.php