SIP and PyQt5 Build issue

Building the GUI requires sip and pyqt5. I managed to build pyqt5 but the cmake file still requests the sip which im struggling to build outside a pip environment. I dont want salome to run in pip.

Has anyone dealt with this sip issue when building the gui?

Finally it seems that elements are shared with freecad. Wouldnt it be better to replace pyqt5 with pyside 2 as well?


what is your OS and SALOME version in use and what error message do you get?
Sip as well as PyQt can be easily compiled with SAT and compilation scripts are sitting in:
products/compil_scripts/sip-5.5.0.{.sh, bat}
products/compil_scripts/PyQt-5.15.{.sh, bat}

1 Like

Hi Nabil,

Thanks for this. I will try it asap. Im using debian 12 but i have compiled alot of packages for freecad and elmer so i want to use the same for salome rather than having containers.

Im building salome from the git repository.

On Debian 12, we use system packages instead.

Thus, install with apt package manager:

sudo apt install python3-sip-dev python3-sip python3-pyqt5 pyqt5-dev pyqt5-dev-tools

Note that running:

sat/sat config SALOME-master-native --check_system

should report if these packages are missing from your Debian 12 installation.


Thank you I will try it. I just wanted to use a pyqt5 version i built against the qt5 version I built and im using in other applications that is compatible with c++17 and python 3.11.

Hi sorry, where is this products directory here:

Found under sat_salome

Hi I executed the instructions in the sip, but I keep getting errors relating to missing metadata for the sip module and other components. Any idea how to fix this?

Many thanks