From fab80fffac7e9c839f76d00e9b44d8d751cbc26c Mon Sep 17 00:00:00 2001 From: Papoteur Date: Sat, 2 Mar 2024 07:58:13 +0100 Subject: Adapt setup.py to PyQt6 --- setup.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/setup.py b/setup.py index 8575dea..916772d 100644 --- a/setup.py +++ b/setup.py @@ -5,9 +5,8 @@ import os, glob LOCALE_DIR= '/usr/share/mageiasync/translations' class BuildQm(build): - os.system('pylupdate5 mageiaSync.pro') for ts in glob.glob('translations/*.ts'): - os.system('lrelease {0} -qm {1}'.format(ts, (ts[:-2]+'qm'))) + os.system('lrelease-qt6 {0} -qm {1}'.format(ts, (ts[:-2]+'qm'))) data_files = [("share/applications/", ["share/applications/mageiasync.desktop"]), ("share/icons/hicolor/scalable/apps/", ["share/icons/mageiasync.svg"]), -- cgit v1.2.1