[prev in list] [next in list] [prev in thread] [next in thread] 

List:       pykde
Subject:    Re: [PyKDE] QtService binding to python
From:       "Phil Thompson" <phil () riverbankcomputing ! co ! uk>
Date:       2005-01-25 9:02:45
Message-ID: 46214.82.68.80.137.1106643765.squirrel () 82 ! 68 ! 80 ! 137
[Download RAW message or body]

> Hello all
>
> I'm trying to use QtService (from QtSolutions) class with python.
>
> When I run the script 'configure.py', I received the following errors:
>
> [X:\PyQt-commercial-3.13]python configure.py
> This is the commercial version of PyQt 3.13 (licensed under the PyQt
> Commercial
> License) for Python 2.3.3 on win32.
> Found the license file pyqt-commercial.sip.
> SIP 4.1.1 is being used.
> Checking to see if the qtcanvas module should be built...
> Checking to see if the QAssistantClient class is available...
> ...
> The PyQt modules will be installed in C:\bin\Python23\Lib\site-packages.
> The PyQt .sip files will be installed in C:\bin\Python23\sip.
> pyuic will be installed in C:\bin\Python23.
> pylupdate will be installed in C:\bin\Python23.
> Generating the C++ source for the qt module...
> sip: sip/qt/qtservice.sip:24: syntax error
> Error: Unable to create the C++ code.
>
>
> The line number 24 from sip/qt/qtservice.sip is:
> int parseArguments(SIP_PYLIST) /PostHook=__pyQtQAppHook__/ [(int,char
> **)];
>
> The respective original c++ source code (qtservice.h) is:
> int parseArguments( int argc, char **argv );
>
> How can I solve this problem?

You've missed out the return type in the C++ signature.

Phil

_______________________________________________
PyKDE mailing list    PyKDE@mats.imk.fraunhofer.de
http://mats.imk.fraunhofer.de/mailman/listinfo/pykde
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic