From 929e8d56cb7d1ab497d8ad31ad95b37221f91dd8 Mon Sep 17 00:00:00 2001 From: Slávek Banko Date: Wed, 28 Sep 2016 13:27:40 +0200 Subject: Properly import python_tqt module in scripts generated by pyuic MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Slávek Banko (cherry picked from commit 1638609997cfef8fa1c63ba3f6ba93b9f6a4b014) --- pyuic3/embed.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pyuic3/embed.cpp') diff --git a/pyuic3/embed.cpp b/pyuic3/embed.cpp index 410a0d8..bba5f7f 100644 --- a/pyuic3/embed.cpp +++ b/pyuic3/embed.cpp @@ -135,7 +135,7 @@ void Uic::embed( TQTextStream& out, const char* project, const TQStringList& ima out << "\n"; out << "\n"; - out << "from qt import TQImage, TQMimeSourceFactory"; + out << "from python_tqt.qt import TQImage, TQMimeSourceFactory"; #ifndef QT_NO_IMAGE_COLLECTION_COMPRESSION out << ", tqUncompress"; #endif -- cgit v1.2.3