On Wed, Mar 18, 2015 at 2:08 PM, Enrico Forestieri <for...@lyx.org> wrote: > On Wed, Mar 18, 2015 at 01:09:09PM -0400, Scott Kostyshak wrote: >> On Wed, Mar 18, 2015 at 12:50 PM, Kornel Benko <kor...@lyx.org> wrote: >> >> > I suppose you have <Qt5-Build-Dir>/qtbase/bin in your PATH already? >> >> No I did not. I added this and recompiled and now the icons seem to >> show correctly. >> >> > Other than this I don't know. >> > >> >> Do I need to install libqt5svg5-dev and recompile Qt 5? >> > >> > Definitely no. I used compiled Qt5 without libqt5svg5-dev, and the icons >> > were still OK. >> > But check, if you have >> > <Qt5-Build-Dir>/qtbase/plugins/imageformats/libqsvg.so. >> > For your self compiled Qt5 you even don't need package libqt5svg5 >> > installed. >> >> I do not. I have only: >> >> $ ls /usr/BUILD/BuildQt5-dev/qtbase/plugins/imageformats >> libqdds.so libqgif.so libqicns.so libqico.so libqjp2.so >> libqjpeg.so libqmng.so libqtga.so libqtiff.so libqwbmp.so >> libqwebp.so >> >> I think I should do a fresh Qt build and then libqsvg.so should be >> there or I will inspect build logs. > > Note that the svg plugin is not included in the QtBase sources. > You have to compile the QtSvg module. This is actually very simple: > > $ tar xvf qtsvg-opensource-src-5.4.1.tar.xz > $ cd qtsvg-opensource-src-5.4.1/ > $ mkdir build > $ cd build > $ env PATH=<qt5_install_dir>/bin:$PATH qmake ../ > $ make > $ make install
Ah this is useful. Thanks, Scott