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:40 +0200
commit1638609997cfef8fa1c63ba3f6ba93b9f6a4b014 (patch)
treee984c25d76b40b6314bdc2ff62eb806cf3920c5c /pyuic2/uic.cpp
parente790d08307644b6718b2a547c21370b82aa4f376 (diff)
downloadpytqt-1638609997cfef8fa1c63ba3f6ba93b9f6a4b014.tar.gz
pytqt-1638609997cfef8fa1c63ba3f6ba93b9f6a4b014.zip
Properly import python_tqt module in scripts generated by pyuic
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
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 );