[scribus] Compiling Trunk

Craig Bradney cbradney at scribus.info
Thu Jun 2 18:20:04 UTC 2022



> On 2 Jun 2022, at 20:14, Matt Miller <matt.miller at fastmail.com> wrote:
> 
> On Thu, Jun 2, 2022, at 10:58, Matt Miller wrote:
>>> On Thu, Jun 2, 2022, at 08:55, Gregory Pittman wrote:
>>> On 6/2/22 11:13, Matt Miller wrote:
>>>> I'd like to compile trunk but I'm not figuring out the dependencies. I'm on Debian/bookworm. Under 1.5.8 I get the dependencies by using Debian's "mk-build-deps" utility, asking it for the dependencies for 1.5.8. So far this is also working to get all the dependencies for 1.5.9svn.
>>>> 
>>>> What's the best way to get the dependencies for trunk?
>>>> 
>>> 
>>> Hi Matt,
>>> 
>>> Here's the list I put together for Fedora 35:
>>> 
>>>     qt6-linguist
>>>     qt6-qt5compat-devel
>>>     qt6-qtbase-devel
>>>     qt6-qtdeclarative-devel
>>>     qt6-qtsvg-devel
>>>     qt6-qttools-devel
>> 
>> Thanks. My best guess on Debian/bookworm is that the corresponding packages are:
>> 
>> linguist-qt6
>> libqt6core5compat6-dev
>> qt6-base-devq
>> t6-declarative-dev
>> libqt6svg6-dev
>> qt6-tools-dev
> 
> Sorry, I put a line break in the wrong spot! The package list I used is:
> 
> linguist-qt6
> libqt6core5compat6-dev
> qt6-base-dev
> qt6-declarative-dev
> libqt6svg6-dev
> qt6-tools-dev
> 
>> 
>> Installing these, on top of the dependencies already installed by 
>> mk-build-deps for 1.5.8, satisfies "cmake." But, at 16% into the 
>> compile I get:
>> 
>> [ 16%] Building CXX object 
>> scribus/CMakeFiles/scribus.dir/scribus_autogen/mocs_compilation.cpp.o
>> In file included from 
>> /Scribus/build/scribus/scribus_autogen/UYX5XTB5RZ/moc_AdapterWidget.cpp:10,
>>                 from 
>> /Scribus/build/scribus/scribus_autogen/mocs_compilation.cpp:96:
>> /Scribus/build/scribus/scribus_autogen/UYX5XTB5RZ/../../../../scribus/ui/AdapterWidget.h:25:1: 
>> error: expected class-name before '{' token
>> ...
>> 

I’m pretty sure that’s to do with OpenSceneGraph, so set -DWANT_NOOSG=1 on the cmake line. It’s not qt6 compatible yet.

Craig



More information about the scribus mailing list