Hello List, Am Donnerstag, den 23.03.2017, 17:12 +0100 schrieb Sascha Manns:
Hi Klaas,
Am Donnerstag, den 23.03.2017, 16:06 +0100 schrieb Klaas Freitag:
Hi,
Am 23.03.2017 um 15:14 schrieb Luigi Baldoni:
I'm neither a Qt nor a good enough C++ programmer so I can't judge whether the wkhtmltopdf sources could be changed in a way that it would compile with vanilla Qt4. So that is a task for either upstream or someone else versed in C++ and Qt.
Since setDevicePixelRatio is a method backported from Qt5, wouldn't it make more sense to try and build the whole package against the latter?
It would, since Qt4 is not going to be maintained for long any more. But that will require significant code changes, and you should check with upstream. Maybe they have a qt5 base branch.
I asked upstream about that. Also i'm experimenting locally with QT5 dependencies. Thanks for the infos so far :-) Upstream already answered. I added the proposed patch https://github.com/wkhtmltopdf/wkhtmltopdf/commit/af95531eabb212ae16a9f b689bb25a767eb580bc to the OBS https://build.opensuse.org/package/view_file/Documentation:Publican/wkh tmltopdf/wkhtmltox-0.12.4-unpatched-qt.patch?expand=1
I added the patch to the spec and tried to build. But i can use -p0 and -p1 but in any case i'm getting: + echo 'Patch #1 (wkhtmltox-0.12.4-unpatched-qt.patch):' [ 66s] Patch #1 (wkhtmltox-0.12.4-unpatched-qt.patch): [ 66s] + /usr/bin/patch --no-backup-if-mismatch -p0 --fuzz=0 [ 66s] can't find file to patch at input line 3 [ 66s] Perhaps you used the wrong -p or --strip option? Maybe the patch isn't correct set? Greetings Sascha -- Sascha Manns | openSUSE Member Email: saigkill@opensuse.org | Blog: http://saigkill.tuxfamily.org GPG: 0x62ECD463 -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org