[PyQt] Help installing PyQt on Linux

Aleksandar Nedeljkovic sasko2909 at gmail.com
Mon Aug 10 12:26:37 BST 2009


Unfortunately, me again.
It seems that there wasn't Qt on my computer. When I try to install it,
configure part goes fine, but when I try to 'make', Linux returns to me
something like this:

In file included from ../../include/QtCore/qeventloop.h:1,
                 from
../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:43,
                 from ../../include/QtCore/qcoreapplication.h:1,
                 from global/qlibraryinfo.cpp:50:
../../include/QtCore/../../src/corelib/kernel/qeventloop.h:47: error:
`QtValidLicenseForCoreModule' does not name a type
In file included from ../../include/QtCore/qcoreapplication.h:1,
                 from global/qlibraryinfo.cpp:50:
../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:57: error:
`QtValidLicenseForCoreModule' does not name a type
make[1]: *** [.obj/release-shared/qlibraryinfo.o] Error 1
make[1]: Leaving directory
`/home/Instalacije/Qt/qt-x11-opensource-src-4.4.3/src/corelib'
make: *** [sub-corelib-make_default-ordered] Error 2


There are a lot of more mistakes but all of them are like the first two.

Thanks in advance.

On Fri, Aug 7, 2009 at 11:57 AM, Andreas Pakulat <apaku at gmx.de> wrote:

> On 07.08.09 12:01:08, Aleksandar Nedeljkovic wrote:
> > Hello, me again.
> >
> > I sucessfully installed sip, but when I tried to install PyQt (typing
> > "python configure.py"), all I got is:
> >
> > Error: Failed to determine the layout of your Qt installation. Try again
> > using
> > the --verbose flag to see more detail about the problem.
> >
> > When I type "python configure.py --verbose" I got next:
> >
> > Determining the layout of your Qt installation...
> > /usr/bin/qmake -o qtdirs.mk qtdirs.pro
> > make -f qtdirs.mk
> > g++ -c -pipe -Wall -W -O2 -g -pipe -m32 -march=i386 -mtune=pentium4
> > -DQT_NO_DEBUG -DQT_SHARED -DQT_THREAD_SUPPORT
> > -I/usr/lib/qt-3.3/mkspecs/default -I. -I/usr/lib/qt-3.3/include -o
> qtdirs.o
>
> Looks like you're trying to use PyQt4 with Qt3.3, that won't work. You
> either need to fetch PyQt3 or install Qt4.(4/5)
>
> Andreas
>
> --
> You will become rich and famous unless you don't.
> _______________________________________________
> PyQt mailing list    PyQt at riverbankcomputing.com
> http://www.riverbankcomputing.com/mailman/listinfo/pyqt
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.riverbankcomputing.com/pipermail/pyqt/attachments/20090810/0f7f4e65/attachment.html


More information about the PyQt mailing list