You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
tde-packaging/redhat/libraries/pytdeextensions/pytdeextensions-14.0.0-pyth...

34 lines
1.3 KiB

--- pytdeextensions/src/qtuicompiler.py.ORI 2013-12-28 17:06:51.749357267 +0100
+++ pytdeextensions/src/qtuicompiler.py 2013-12-28 17:07:03.539275908 +0100
@@ -17,7 +17,7 @@
import os
import sys
-import pyqtconfig
+from python_tqt import pyqtconfig
from distutils.spawn import *
import traceback
--- pytdeextensions/src/kdedistutils.py.ORI2 2013-12-28 17:20:38.828670001 +0100
+++ pytdeextensions/src/kdedistutils.py 2013-12-28 17:21:04.731492545 +0100
@@ -930,8 +930,8 @@
}
// Inject a helper function
- TQString bridge = TQString("import sip\n"
- "import qt\n"
+ TQString bridge = TQString("from sip4_tqt import sip\n"
+ "from python_tqt import qt\n"
"def kcontrol_bridge_" FACTORY "(parent,name):\n"
" if parent!=0:\n"
#if SIP_VERSION >= 0x040200
@@ -2019,7 +2019,7 @@
self.announce("Found Qt version %s." % qtver)
try:
self.announce("Checking for a working PyQt...")
- import qt
+ from python_tqt import qt
self.announce(" ...PyQt is working")
except:
raise SystemExit, "Couldn't import Qt! Please make sure that PyQt is installed and working."