From 3a4da0891aa4c2f803751013e4386094182764fe Mon Sep 17 00:00:00 2001 From: Arnout Engelen Date: Fri, 28 Nov 2014 01:26:47 +0100 Subject: [PATCH] Fix python binding compile errors #23 Just the minimal amount of work needed to make test.py work again --- pyqt4/config.py | 2 +- pyqt4/qtermwidget.sip | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pyqt4/config.py b/pyqt4/config.py index b133b5b..b5eb76e 100755 --- a/pyqt4/config.py +++ b/pyqt4/config.py @@ -61,7 +61,7 @@ makefile = pyqtconfig.QtGuiModuleMakefile( # specific prefixes or extensions (e.g. the "lib" prefix on UNIX, or the # ".dll" extension on Windows). makefile.extra_lib_dirs.append("..") -makefile.extra_libs = ["qtermwidget"] +makefile.extra_libs = ["qtermwidget4"] # Generate the Makefile itself. makefile.generate() diff --git a/pyqt4/qtermwidget.sip b/pyqt4/qtermwidget.sip index b9b0181..a03e214 100644 --- a/pyqt4/qtermwidget.sip +++ b/pyqt4/qtermwidget.sip @@ -22,7 +22,7 @@ public: void setTerminalFont(QFont &font); void setArgs(QStringList &args); void setTextCodec(QTextCodec *codec); - void setColorScheme(int scheme); + void setColorScheme(const QString & name); void setSize(int h, int v); void setHistorySize(int lines); void setScrollBarPosition(ScrollBarPosition);