R: Re: [PyQt] Re: Build problems on win32
antonio.valentino at tiscali.it
antonio.valentino at tiscali.it
Mon Oct 5 16:31:03 BST 2009
----Messaggio originale----
Da: antonio.valentino at tiscali.it
Data: 05/10/2009 9.13
A: "David Boddie"<david at boddie.org.uk>
Cc: <pyqt at riverbankcomputing.com>
Ogg: Re: [PyQt] Re: Build problems on win32
Il giorno Mon, 5 Oct 2009 02:23:10 +0200
David Boddie <david at boddie.org.uk> ha scritto:
> On Sat, 3 Oct 2009 10:28:10 +0200, Antonio Valentino wrote:
> <antonio.valentino at tiscali.it>
> > > On Fri Oct 2 20:04:49 BST 2009, Antonio Valentino wrote:
> > > > I'm trying to build PyQt4.6 on win32 using Qt4.5.3 (SDK
> > > > 2009.04) and MSVC 2008.
[cut]
> > no, I just installer the qt-sdk-win-opensource-2009.04.exe from
> > qt.nokia.com site and build it using MSVC2008 and following the
> > tutorial at:
> >
> > http://blogs.msdn.com/gpalem/archive/2009/03/09/how-to-make-qt-
sdk-work-wit
> >h-visualstudio-2008-express-complete.aspx
[cut]
> > I encountered build problems and solved removing temporary files
> >
> > src/3rdparty/webkit/WebCore/tmp/moc/{debug,release}
_shared/mocinclude.tmp
> >
> > as reported here:
> >
> > http://labs.trolltech.com/blogs/2009/06/25/qt-452-has-been-
released/
OK, it was a problem of environment.
Solved using the following .bat file
--> qtenv.bat <--
@echo off
rem
rem This file is generated
rem
echo Setting up a MSVC 2008/Qt only environment...
echo -- QTDIR set to C:\Qt\2009.04\qt
echo -- PATH set to C:\Qt\2009.04\qt\bin
echo -- Adding C:\Qt\2009.04\bin to PATH
echo -- Adding %SystemRoot%\System32 to PATH
echo -- QMAKESPEC set to win32-msvc-2008
set QTDIR=C:\Qt\2009.04\qt
set PATH=C:\Qt\2009.04\qt\bin;%PATH%
set PATH=%PATH%;C:\Qt\2009.04\bin;C:\Qt\2009.04\mingw\bin
set PATH=%PATH%;%SystemRoot%\System32
set QMAKESPEC=win32-msvc2008
from the MSVC2008 shell.
Best regards
--
Antonio Valentino
_______________________________________________
PyQt mailing list PyQt at riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt
Continua la grande promozione su Tiscali Photo. Stampa le tue foto a prezzi mai visti !http://photo.tiscali.it
More information about the PyQt
mailing list