[scribus-dev] [scribus] building Scribus 1.5 SVN with Qt 5.3?
Wayne DePrince Jr.
waynedpj at in-giro.org
Sat May 31 15:57:09 UTC 2014
On sab, 2014-05-31 at 15:33 +0200, Craig Bradney wrote:
>
>
>
> > On 31 May 2014, at 15:26, "Wayne DePrince Jr." <waynedpj at in-giro.org> wrote:
> >
> > ahoy all,
> >
> > first, congrats on the recent 1.4.4 release.
> >
> > i have been using Scribus 1.5 SVN for a project and updating to
> > current SVN every so often, building without issue. recently my package
> > manager (portage/emerge/Gentoo) updated Qt to 5.3 and now the latest
> > Scribus revision 19163 will not build. it errors out with the following
> > message:
> >
> >
> > [ 67%] Building CXX object scribus/CMakeFiles/scribus-1.5.0.svn.dir/ui/helpbrowser.cpp.o
> > /opt/Scribus/src/scribus/ui/helpbrowser.cpp:48:20: fatal error: QPrinter: File o directory non esistente
> > compilation terminated.
> >
> >
> > i have researched the issue and perhaps it is a problem with the
> > project's .PRO file as suggested here:
> >
> > https://stackoverflow.com/questions/19145763/qt-cannot-open-include-file-qprinter
> > http://qt-project.org/wiki/Transition_from_Qt_4.x_to_Qt5#a17a776d9397365e5aaee5728681d64e
> >
> > however this deals specifically with the transition from 4.x to 5.x of
> > Qt, and Scribus was building fine with Qt 5.2.1. regardless, i do see a
> > "Scribus.pro" file in the source and added the "QT += printsupport" as
> > advised in the above links but still receive the same error.
> >
> > thus, i am wondering if anyone is building Scribus successfully with
> > Qt 5.3 and if so, what did they do to overcome this problem?
> > unfortunately it is not easy for me at the moment to downgrade to Qt
> > 5.2.1, so getting this working is important as i am debugging a much
> > more insidious Scribus bug and i want to be sure it occurs in the latest
> > revision before submitting a bug report.
> >
> > if it is useful, i could also post this to the Mantis bug tracker,
> > but i would need an account first (desired username waynedpj).
> >
> > thanks and let me know if any other info is needed.
> >
> > peace, w
>
> Hi Wayne
>
> I build 1.5svn regularly with qt5.2 and 5.3 under OSX without issue. Note, we don't really use the pro file apart from the translation generation. Everything is built with the CMake build system.
>
> Maybe I will install a gentoo vm to test, but I think this issue will lie with the system's Qt and Gentoo's patches.
>
> Craig
>
>
thanks Craig for pointing me towards my system's Qt setup. i tried
building with a local/private install of Qt 5.3 from
http://qt-project.org/downloads and viola, it builds! unfortunately it
does not run though:
This application failed to start because it could not find or load the Qt platform plugin "xcb"
not sure what this problem is now, but indeed my system's and/or
Gentoo's Qt 5.3 setup seems to have problems which i will have to
investigate further. thanks so much for the pointer.
peace, w
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.scribus.net/pipermail/scribus-dev/attachments/20140531/2a7dc1c6/attachment.html>
More information about the scribus-dev
mailing list