View Single Post
Old 11-14-2023, 01:26 PM   #33
derrickoswald
Junior Member
derrickoswald began at the beginning.
 
Posts: 9
Karma: 10
Join Date: Nov 2023
Device: Sigil
svg packages on ubuntu

For what it's worth - that clue (above) to install qt6-svg seems to fix my missing icon problems (all icons on UI main screen were not showing).

Looking up in the Ubuntu package search for qt6 on jammy, shows svg packages: libqt6svg6, libqt6svg6-dev, and libqt6svgwidgets6.

Installing those with:

Code:
sudo apt-get install libqt6svg6 libqt6svg6-dev libqt6svgwidgets6
seemed to work for me (after rebuilding and installing), and I get a 2.0.2 version using Qt 6.2.4 with icons!!!
Yay.

Of course, my path to this state is probably not the straight forward route other experts have taken. I've installed a lot of stuff that isn't needed, I think, trying to get the cmake command happy. Here's the history dump of installs (some don't work):

Code:
 sudo apt-get install libqt6core5compat6-dev
 sudo apt-get install libqt6webenginecore6
 sudo apt-get install libqt6webenginecore6-bin
 sudo apt-get install libqt6webenginecore6-bin
 sudo apt-get install libqt6webenginecore6
 sudo apt-get install libqt6webengine6-data
 sudo apt-get install libqt6webenginequick6
 sudo apt-get install libqt6webenginewidgets6
 sudo apt-get -y install vulkan-tools
 sudo apt-get -y install linguist-qt6
 sudo apt-get -y install linguist-qt6-dev
 sudo apt-get -y install qt6-tools-dev-tools
 sudo apt-get -y install qt6-translations-l10n
 sudo apt-get install linguist-qt6
 sudo apt-get install qt6-tools
 sudo apt-get install linguist-qt6
 sudo apt-get install qt6-tools-dev
 sudo apt-get -y install linguist-qt6
 sudo apt-get -y install liblinguist-qt6
 sudo apt-get install python3-dev python3-pip python3-lxml python3-six python3-css-parser python3-dulwich
 sudo apt-get install python3-tk python3-pyqt6 python3-pyqt6.qtwebengine python3-html5lib python3-regex 3-pillow python3-cssselect python3-chardet
 sudo apt-get install python3-dev
 sudo apt-get install libqt6svg6 libqt6svg6-dev libqt6svgwidgets6
and here's the build bash:
Code:
#!/bin/bash
mkdir --parents ~/code/Sigil/sigil-build
cd ~/code/Sigil/sigil-build
cmake -G "Unix Makefiles" -DCMAKE_INSTALL_PREFIX=/opt/sigil -DCMAKE_BUILD_TYPE=Release -DQt6_DIR=/usr/lib/qt6 -DTRY_NEWER_FINDPYTHON3=1 ../../Sigil
I'm not sure everything is functioning, because I just got it going, but here we are.
derrickoswald is offline   Reply With Quote