Problems Compiling PyQt3.7

Discussion in 'Python' started by mazu, Jul 10, 2003.

  1. mazu

    mazu Guest

    I get errors about QAssistantClient while compiling PyQt 3.7, on my
    debian woody with Qt 3.1.2. Here is compiler message:

    cd qt && /usr/bin/make -f Makefile
    make[1]: Entering directory `/Downloads/KDE - libs/PyQt-x11-gpl-3.7/qt'
    g++ -c -pipe -w -O2 -D_REENTRANT -fPIC -DSIP_MAKE_MODULE_DLL
    -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -I/usr/share/qt3/mkspecs/default -I. -I.
    -I/usr/include/python2.1 -I/usr/share/qt3/include -o qtcmodule.o
    qtcmodule.cpp
    In file included from qtcmodule.cpp:37:
    sip/qassistantclient.sip:37: qassistantclient.h: No such file or directory
    In file included from qtcmodule.cpp:37:
    sipqtQAssistantClient.h:42: parse error before `{'
    sipqtQAssistantClient.h:45: destructors must be member functions
    sipqtQAssistantClient.h:49: non-member function `property(const char *)'
    cannot have `const' method qualifier
    sipqtQAssistantClient.h:82: parse error before `private'
    sipqtQAssistantClient.h:84: syntax error before `&'
    sipqtQAssistantClient.h:87: parse error before `}'
    sipqtQAssistantClient.h:89: syntax error before `*'
    make[1]: *** [qtcmodule.o] Error 1
    make[1]: Leaving directory `/Downloads/KDE - libs/PyQt-x11-gpl-3.7/qt'
    make: *** [sub-qt] Error 2

    Anybody know any solution to this problem? I've got libqt3-mt,
    libqt3-mt-dev, and Qt 3.1.2already installed.

    --
    mazu
    mazu, Jul 10, 2003
    #1
    1. Advertising

  2. mazu <> wrote:
    > I get errors about QAssistantClient while compiling PyQt 3.7, on my
    > debian woody with Qt 3.1.2. Here is compiler message:
    >
    > cd qt && /usr/bin/make -f Makefile
    > make[1]: Entering directory `/Downloads/KDE - libs/PyQt-x11-gpl-3.7/qt'
    > g++ -c -pipe -w -O2 -D_REENTRANT -fPIC -DSIP_MAKE_MODULE_DLL
    > -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -I/usr/share/qt3/mkspecs/default -I. -I.
    > -I/usr/include/python2.1 -I/usr/share/qt3/include -o qtcmodule.o
    > qtcmodule.cpp
    > In file included from qtcmodule.cpp:37:
    > sip/qassistantclient.sip:37: qassistantclient.h: No such file or directory
    > In file included from qtcmodule.cpp:37:
    > sipqtQAssistantClient.h:42: parse error before `{'
    > sipqtQAssistantClient.h:45: destructors must be member functions
    > sipqtQAssistantClient.h:49: non-member function `property(const char *)'
    > cannot have `const' method qualifier
    > sipqtQAssistantClient.h:82: parse error before `private'
    > sipqtQAssistantClient.h:84: syntax error before `&'
    > sipqtQAssistantClient.h:87: parse error before `}'
    > sipqtQAssistantClient.h:89: syntax error before `*'
    > make[1]: *** [qtcmodule.o] Error 1
    > make[1]: Leaving directory `/Downloads/KDE - libs/PyQt-x11-gpl-3.7/qt'
    > make: *** [sub-qt] Error 2
    >
    > Anybody know any solution to this problem? I've got libqt3-mt,
    > libqt3-mt-dev, and Qt 3.1.2already installed.


    Seems your distribution is missing files. Download the Qt-3.1.2 source and
    copy the missing files into $QTDIR/include.

    :M:
    Michael 'Mickey' Lauer, Jul 10, 2003
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Susan Baker
    Replies:
    2
    Views:
    806
    kelvSYC
    Jun 26, 2005
  2. Garrett Cooper
    Replies:
    0
    Views:
    552
    Garrett Cooper
    Feb 24, 2009
  3. Garrett Cooper
    Replies:
    0
    Views:
    493
    Garrett Cooper
    Feb 24, 2009
  4. nusch

    Migrate From PyQt3 to PyQt4

    nusch, Sep 7, 2009, in forum: Python
    Replies:
    1
    Views:
    598
    Dave Angel
    Sep 8, 2009
  5. Lon Baker
    Replies:
    1
    Views:
    220
    Csaba Henk
    Mar 21, 2005
Loading...

Share This Page