From: Modestas Vainius <modax@debian.org> Subject: Include Python.h first as Qt includes steal "slots" keyword Forwarded: no Origin: vendor Last-Update: 2008-12-05 --- a/kpythonpluginfactory/kpythonpluginfactory.cpp +++ b/kpythonpluginfactory/kpythonpluginfactory.cpp @@ -18,6 +18,7 @@ Boston, MA 02111-1307, USA. */ +#include <Python.h> #include <QtCore/QCoreApplication> #include <QFileInfo> #include <QDir> @@ -25,7 +26,6 @@ #include <klibloader.h> #include <kstandarddirs.h> #include <kcmodule.h> -#include <Python.h> #include <kcomponentdata.h> #include <kdebug.h>