summaryrefslogtreecommitdiffstats
path: root/pyuic2/uic.cpp
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2016-09-28 13:27:40 +0200
committerSlávek Banko <slavek.banko@axis.cz>2016-09-28 13:27:52 +0200
commit929e8d56cb7d1ab497d8ad31ad95b37221f91dd8 (patch)
treee984c25d76b40b6314bdc2ff62eb806cf3920c5c /pyuic2/uic.cpp
parentf303e4dc2ba3075192db2ab1fc570abd10ba224a (diff)
downloadpytqt-3e26318d48a20e459bacdfb700f2d37f4cfce3de.tar.gz
pytqt-3e26318d48a20e459bacdfb700f2d37f4cfce3de.zip
Properly import python_tqt module in scripts generated by pyuicr14.0.8r14.0.7r14.0.6r14.0.5r14.0.4
Signed-off-by: Slávek Banko <slavek.banko@axis.cz> (cherry picked from commit 1638609997cfef8fa1c63ba3f6ba93b9f6a4b014)
Diffstat (limited to 'pyuic2/uic.cpp')
-rw-r--r--pyuic2/uic.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/pyuic2/uic.cpp b/pyuic2/uic.cpp
index 7014d17..58db033 100644
--- a/pyuic2/uic.cpp
+++ b/pyuic2/uic.cpp
@@ -1581,7 +1581,7 @@ int main( int argc, char * argv[] )
if (execCode)
out << "import sys" << endl;
- out << "from qt import *" << endl;
+ out << "from python_tqt.qt import *" << endl;
Uic( out, doc, trmacro.isEmpty() ? TQString("self.tr") : trmacro );