Files
Gustavo Iñiguez Goia e5d1702bd3 ui: ported to PyQt6
The GUI has been ported to PyQt6.

New dependencies:
 - python3-pyqt6
 - python3-pyqt6.qtsvg (otherwise, the svg icons are not loaded)
   On Arch and other systems qt6-svg is neeeded.
 - pyqt6-dev-tools (for uic calls, .ui loading).
 - libqt6sql6

Known issues:
 - pylupdate6 not longer update .pro files.
   It doesn't affect existing translations.
 - There might be a delay closing the GUI. Reason still unknown.

Closes: #1009

Discussion: #1222
2025-08-15 21:27:04 +02:00

19 lines
427 B
Makefile

all: opensnitch/resources_rc.py
install:
@pip3 install --upgrade .
opensnitch/resources_rc.py: translations deps
#@pyrcc5 -o opensnitch/resources_rc.py opensnitch/res/resources.qrc
@find opensnitch/proto/ -name 'ui_pb2_grpc.py' -exec sed -i 's/^import ui_pb2/from . import ui_pb2/' {} \;
translations:
@cd i18n ; make
deps:
@pip3 install -r requirements.txt
clean:
@rm -rf *.pyc
@rm -rf opensnitch/resources_rc.py