[scribus] Linking error
mlanglo at mail.dk
Fri Sep 26 17:08:11 UTC 2014
Fri, Sep 26, 2014 at 06:17:58PM +0200, skrev JLuc:
> Thanks for your attention :-)
> > So the above linker option seems not to be used, instead You could try
> > either CMAKE_EXE_LINKER_FLAGS_DEBUG, CMAKE_EXE_LINKER_FLAGS_MINSIZEREL,
> > CMAKE_EXE_LINKER_FLAGS_RELEASE or CMAKE_EXE_LINKER_FLAGS_RELWITHDEBINFO
> AMOF, i think it is used, because at some point i tried
> with -DCMAKE_EXE_LINKER_FLAGS="-libQt5Quick -libQt5PrintSupport"
> (notice the -lib instead of -l)
> and when doing this i had an error message (stating that these files were not found).
See further down!
> >If it still doesn't work, a last resort could be to manually add
> > -lQt5Quick -lQt5PrintSupport
> >to the file "Your_build_directory/scribus/CMakeFiles/scribus.dir/link.txt"
> > just before CMakeFiles/scribus.dir/moc_
> >so it starts with something like this
> >/usr/bin/c++ -O2 -Wall -fPIC -lQt5Quick -lQt5PrintSupport CMakeFiles/scribus.dir/moc_...
If it is being used You vil see the option put into this file
something like this:
/usr/bin/c++ -O2 -Wall -fPIC -lQt5Quick -lQt5PrintSupport CMakeFiles/scribus.dir/moc_
More information about the scribus