Ticket #47125: fix_kpythonpluginfactory_build.diff

File fix_kpythonpluginfactory_build.diff, 796 bytes (added by RJVB (René Bertin), 10 years ago)
  • kpythonpluginfactory/kpythonpluginfactory.cpp

    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
    
    old new  
    1818   Boston, MA 02111-1307, USA.
    1919*/
    2020
     21#include <Python.h>
    2122#include <QtCore/QCoreApplication>
    2223#include <QFileInfo>
    2324#include <QDir>
     
    2526#include <klibloader.h>
    2627#include <kstandarddirs.h>
    2728#include <kcmodule.h>
    28 #include <Python.h>
    2929#include <kcomponentdata.h>
    3030#include <kdebug.h>
    3131