File: new-sip.patch

package info (click to toggle)
scolasync 5.4-3
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 16,420 kB
  • sloc: javascript: 4,094; python: 3,849; xml: 3,814; makefile: 116; sh: 31
file content (14 lines) | stat: -rw-r--r-- 529 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
Index: scolasync/src/scolasync.py
===================================================================
--- scolasync.orig/src/scolasync.py
+++ scolasync/src/scolasync.py
@@ -127,6 +127,9 @@ licence['fr']=licenceFr
 
 import getopt, os, sys
 
+######### This trick is requested to fix bug #966050 ########
+from PyQt5 import QtCore                                    #
+#############################################################
 import sip
 # pour éviter des erreurs à l'instanciation des QVariant
 sip.setapi('QVariant', 1)