summaryrefslogtreecommitdiffstats
path: root/pytquic3
diff options
context:
space:
mode:
authorFrançois Andriot <francois.andriot@free.fr>2023-04-10 13:50:22 +0200
committerFrançois Andriot <francois.andriot@free.fr>2023-04-10 18:17:16 +0200
commitf4a39d2fde3ef72e32b296fdd783b31d4abfcb76 (patch)
tree2c22e977965936cac0ef38ebdcb36e1087f5f535 /pytquic3
parent4feca443fb45a87fa971fe7f24c9dd3128643c19 (diff)
downloadpytqt-f4a39d2fde3ef72e32b296fdd783b31d4abfcb76.tar.gz
pytqt-f4a39d2fde3ef72e32b296fdd783b31d4abfcb76.zip
This happens en RHEL7 (gcc 4.8.5) but not on later distributions.r14.1.0
Signed-off-by: François Andriot <francois.andriot@free.fr>
Diffstat (limited to 'pytquic3')
-rw-r--r--pytquic3/embed.cpp2
-rw-r--r--pytquic3/main.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/pytquic3/embed.cpp b/pytquic3/embed.cpp
index 9bf0071..afb28d0 100644
--- a/pytquic3/embed.cpp
+++ b/pytquic3/embed.cpp
@@ -149,7 +149,7 @@ void Uic::embed( TQTextStream& out, const char* project, const TQStringList& ima
for ( it = images.begin(); it != images.end(); ++it ) {
TQImage img;
if ( !img.load( *it ) ) {
- fprintf( stderr, "pytquic: cannot load image file %s\n", (*it).utf8() );
+ fprintf( stderr, "pytquic: cannot load image file %s\n", (*it).local8Bit().data() );
continue;
}
EmbedImage *e = new EmbedImage;
diff --git a/pytquic3/main.cpp b/pytquic3/main.cpp
index 0158545..24fbbf3 100644
--- a/pytquic3/main.cpp
+++ b/pytquic3/main.cpp
@@ -193,7 +193,7 @@ int main( int argc, char * argv[] )
TQDomElement e = doc.firstChild().toElement();
if ( e.hasAttribute("version") && e.attribute("version").toDouble() > 3.3 ) {
tqWarning( TQString("pytquic: File generated with too recent version of TQt Designer (%s vs. %s)"),
- e.attribute("version").utf8(), TQT_VERSION_STR );
+ e.attribute("version").local8Bit().data(), TQT_VERSION_STR );
return 1;
}