OS2 World Community Forum
OS/2, eCS & ArcaOS - Technical => Programming => Topic started by: Per E. Johannessen on March 27, 2024, 08:04:21 pm
-
Noticed this post;
https://www.os2world.com/forum/index.php?topic=2162.0
Does anymone know if the v. 4.05 cmdline tools for OS/2 are available anywhere?
-
Tried building 4.05, seems we are missing some printer support. Linking xpdf.exe is missing,
W:\usr\local\src\xpdf-4.05\build> __Z8printPDFP6PDFDocP8QPrinteriiP10XpdfWidget
printPDF(PDFDoc*, QPrinter*, int, int, XpdfWidget*)
I'll examine more. Here's the command line tools that did build.
Edit, removed the command line tools in favour of the ones posted down the page.
-
Built xdpf.exe by disabling printing like Windows does. Unluckily it crashes with a sigsegv in qt5core.dll
-
Built xdpf.exe by disabling printing like Windows does. Unluckily it crashes with a sigsegv in qt5core.dll
Can it build against qt6?
-
Yes, as long as the correct qmake is in front of the PATH.
At some point could you get a devel package of Qt6 together?
Edit: My cmake line, run from build
cmake -DXPDFWIDGET_PRINTING=OFF -DCMAKE_BUILD_TYPE=Release ..
-
Thanks a lot, Dave.
I've only tried pdftotext so far. This version also seems to work fine from VX-Rexx.
-
Here's the full release version including the crashing xpdf.exe. 7z sure compresses this better, almost 80% improvement. Built with no patches, just the cmake arguments I posted to Paul.
-
Odd when I built 4.04 last March, I did not have any issues with printer support. I just built 4.04 again and it built fine (though it crashes) but 4.05 fails building due to printer support. 4.04 built with QT6 just fine then as well (though I no longer recall which release that was).
-
Hey Dave,
At some point could you get a devel package of Qt6 together?
Not sure what's missing here - the current zips include all headers/libs. If you mean an RPM - I have no time/inclination to put one together - I have little enough free time as it is.
-
Hey Dave,
At some point could you get a devel package of Qt6 together?
Not sure what's missing here - the current zips include all headers/libs. If you mean an RPM - I have no time/inclination to put one together - I have little enough free time as it is.
I thought that some of the libs were missing. Perhaps it is plugins where the import libs are missing.
-
Hey Dave,
At some point could you get a devel package of Qt6 together?
Not sure what's missing here - the current zips include all headers/libs. If you mean an RPM - I have no time/inclination to put one together - I have little enough free time as it is.
I thought that some of the libs were missing. Perhaps it is plugins where the import libs are missing.
It *should* all be there - if you find an example, lemme know and I can investigate.
-
Tried building Dooble,
[K:\work\dooble-dry\build]qmake ../dooble.pro
L:/QT6-6.2.X/mkspecs/features/toolchain.prf:76: Variable QMAKE_CXX.COMPILER_MACROS is not defined.
Project ERROR: failed to parse default search paths from compiler output
-
Hi all,
I compiled 4.05 with qt6 and print support.
I have no printer so i could not test it, i print to a pdf and that worked.
Maybe some braveheart could test it.
Kind regards, Tellie
-
TeLLie!
Fear not - your build works, printing too! (on an Epson XP-830) Thanks...
Regards,
-
Thanks David,
I will see if I can bake a rpm of it, when time persist.
Kind regards, Tellie
-
Hi Tellie, how did you get cmake to find L:\qt6-2.x\lib\cmake\Qt6 for the IMPORTED_IMPLIB's for the various QT6 DLL's?
-
Hi Tellie, how did you get cmake to find L:\qt6-2.x\lib\cmake\Qt6 for the IMPORTED_IMPLIB's for the various QT6 DLL's?
Hi Dave,
I use a .sh file for building cmake progs.
When using qt6 i have to reboot and use a qt6 config.sys with a qt6 bindir and libdir and includedir set
This worked for me the best.
I might sounds a bit cumbersome, but like i say works for me :)
BTW: I also convert the qt6 .a to .lib
Kind regards, Tellie
-
Hi all
Also make a QT5 build
-
trying it as command line:
mypdffile.pdf present in same working directory (bin) of xpdf.exe and other .exe
xpdf.exe mypdffile.pdf
SYS1804: The system cannot find the file PAPER1.
found no reference on the net about this missing file
-
trying it as command line:
mypdffile.pdf present in same working directory (bin) of xpdf.exe and other .exe
xpdf.exe mypdffile.pdf
SYS1804: The system cannot find the file PAPER1.
found no reference on the net about this missing file
Hi Mauro
Installed Packages
libpaper.pentium4
libpaper-devel.pentium4
Kind regards, Elbert
-
Hello Tellie
Is it ok if I upload "xpdf-4.05-qt5-os2.7z " to hobbes with this readme?
Regards
-
Hello Tellie
Is it ok if I upload "xpdf-4.05-qt5-os2.7z " to hobbes with this readme?
Regards
Hi Martin,
Yah thats ok for me :)
-
.............
SYS1804: The system cannot find the file PAPER1.
found no reference on the net about this missing file
Hi Mauro
Installed Packages
libpaper.pentium4
libpaper-devel.pentium4
Kind regards, Elbert
right, that did the trick ! Thank you much
regards