[Qt-interest] Compiling QT 4.5 on Windows
Christopher Rasch-Olsen Raa
christopher at technophile.info
Tue Apr 14 08:39:19 CEST 2009
Hi,
One way to fix it is to
cd qmake
mingw32-make clean
mingw32-make
and then doing configure in the qt-directory.
--
Christopher
On Tue, 14 Apr 2009 10:07:46 +0530, "Parameshwari" <paramr at tataelxsi.co.in> wrote:
>
> Hi All,
>
> I am trying to run configure from the QT directory on windows XP. I am
> getting the following errors. I am running this from QT Command Prompt.
>
> Setting up a MinGW/Qt only environment...
> -- QTDIR set to c:\Qt\2009.01\qt
> -- PATH set to c:\Qt\2009.01\qt\bin
> -- Adding c:\Qt\2009.01\bin to PATH
> -- Adding C:\WINDOWS\System32 to PATH
> -- QMAKESPEC set to win32-g++
>
> c:\Qt\2009.01\qt>configure
>
> This is the Qt for Windows Open Source Edition.
>
> You are licensed to use this software under the terms of
> the GNU Lesser Public License (LGPL) version 2.1 or GNU General Public
> License (
> GPL) version 3.
>
> Type 'L' to view the GNU Lesser General Public License version 2.1
> (LGPLv2.1).
> Type '3' to view the GNU General Public License version 3 (GPLv3).
> Type 'y' to accept this license offer.
> Type 'n' to decline this license offer.
>
> Do you accept the terms of the license?
> y
> Setting Direct3D to NO, since the proper Direct3D SDK was not detected.
> Make sure you have the Direct3D SDK installed, and that you have run
> the <path to SDK>\Utilities\Bin\dx_setenv.cmd script.
> The D3D SDK library path *needs* to appear before the Platform SDK
> library
> path in your LIB environment variable.
> All the required DirectShow/Direct3D files couldn't be found.
> Make sure you have either the platform SDK AND the DirectX SDK or the
> Windows SD
> K installed.
> If you have the DirectX SDK installed, please make sure that you have
> run
> the <p
> ath to SDK>\SetEnv.Cmd script.
> Environment:
> INCLUDE=
> Unset
> LIB=
> Unset
> PATH=
> c:\Qt\2009.01\qt\bin
> c:\Qt\2009.01\bin
> c:\Qt\2009.01\mingw\bin
> C:\WINDOWS\System32
> You are licensed to use this software under the terms of the GNU LGPL
> version 2.
> 1 or the GNU GPL version 3.
> See C:/Qt/2009.01/qt/LICENSE.LGPL
> or C:/Qt/2009.01/qt/LICENSE.GPL3
>
> Configuration:
> dist-config
> large-config
> medium-config
> minimal-config
> small-config
> full-config
> build_all
> debug
> Qt Configuration:
> release
> debug
> zlib
> png
> accessibility
> qt3support
> opengl
> ipv6
> scripttools
> xmlpatterns
> webkit
> svg
> minimal-config
> small-config
> medium-config
> large-config
> full-config
>
> QMAKESPEC...................win32-g++ (env)
> Architecture................windows
> Maketool....................mingw32-make
> Debug symbols...............yes
> Accessibility support.......yes
> STL support.................yes
> Exception support...........yes
> RTTI support................yes
> MMX support.................no
> 3DNOW support...............no
> SSE support.................no
> SSE2 support................no
> IWMMXT support..............no
> OpenGL support..............yes
> Direct3D support............no
> OpenSSL support.............no
> QtDBus support..............no
> QtXmlPatterns support.......yes
> Phonon support..............no
> WebKit support..............yes
> QtScriptTools support.......yes
> Graphics System.............raster
> Qt3 compatibility...........yes
>
> Third Party Libraries:
> ZLIB support............qt
> GIF support.............plugin
> TIFF support............plugin
> JPEG support............plugin
> PNG support.............qt
> MNG support.............plugin
>
> Styles:
> Windows.................yes
> Windows XP..............yes
> Windows Vista...........yes
> Plastique...............yes
> Cleanlooks..............yes
> Motif...................yes
> CDE.....................yes
> Windows CE..............no
> Windows Mobile..........no
>
> Sql Drivers:
> ODBC....................no
> MySQL...................no
> OCI.....................no
> PostgreSQL..............no
> TDS.....................no
> DB2.....................no
> SQLite..................plugin (qt)
> SQLite2.................no
> InterBase...............no
>
> Sources are in..............C:\Qt\2009.01\qt
> Build is done in............C:\Qt\2009.01\qt
> Install prefix..............C:\Qt\2009.01\qt
> Headers installed to........C:/Qt/2009.01/qt/include
> Libraries installed to......C:/Qt/2009.01/qt/lib
> Plugins installed to........C:/Qt/2009.01/qt/plugins
> Binaries installed to.......C:/Qt/2009.01/qt/bin
> Docs installed to...........C:/Qt/2009.01/qt/doc
> Data installed to...........C:/Qt/2009.01/qt
> Translations installed to...C:/Qt/2009.01/qt/translations
> Examples installed to.......C:/Qt/2009.01/qt/examples
> Demos installed to..........C:/Qt/2009.01/qt/demos
>
> Creating qmake...
> g++ -c -oqconfig.o -O -I. -Igenerators -Igenerators/unix
> -Igenerators/win3
> 2 -Igenerators/mac -IC:\Qt\2009.01\qt/include
> -IC:\Qt\2009.01\qt/include/QtC
> ore -IC:\Qt\2009.01\qt/include -IC:\Qt\2009.01\qt/include/QtCore
> -IC:\Qt\200
> 9.01\qt/src/corelib/global -IC:\Qt\2009.01\qt/include/QtScript
> -IC:\Qt\2009.
> 01\qt/mkspecs/win32-g++ -DQT_NO_TEXTCODEC -DQT_NO_UNICODETABLES
> -DQT_LITE_CO
> MPONENT -DQT_NO_PCRE -
> DQT_NODLL -DQT_NO_STL -DQT_NO_COMPRESS -DUNICODE -DHAVE_QCONFIG_CPP
> -DQT_B
> UILD_QMAKE -DQT_NO_THREAD -DQT_NO_QOBJECT -DQT_NO_GEOM_VARIANT
> -DQT_NO_DATAS
> TREAM -DQMAKE_OPENSOURCE_EDITION
> C:\Qt\2009.01\qt/src/corelib/global/qconfig.cpp g++ -o qmake.exe
> project.o
> main.o makefile.o unixmake.o unixmake2.o mingw_make.
> o option.o winmakefile.o projectgenerator.o property.o meta.o
> makefiledeps.o metamakefile.o xmloutput.o pbuilder_pbx.o borland_bmake.o
> msvc_nmake.o msvc_dsp.o msvc_vcproj.o msvc_objectmodel.o qbitarray.o
> qbuffer.o qbytearray.o qcryptographichash.o qvsnprintf.o
> qbytearraymatcher.o
> qconfig.o qdatetime.o qdir.o qdiriterator.o qfile.o qtemporaryfile.o
> qfileinfo.o qabstractfileengine.o qfsfileengine.o qfsfileengine_iterator.o
> qfsfileengine_win.o qfsfileengine_iterator_win.o qglobal.o qhash.o
> qiodevice.o qlibraryinfo.o qlistdata.o qlinkedlist.o qlocale.o qmalloc.o
> qmap.o qregexp.o qstring.o qstringlist.o qtextstream.o quuid.o qvector.o
> qurl.o qsettings.o qsettings_win.o qvariant.o qmetatype.o qnumeric.o
> qscriptasm.o qscriptast.o qscriptastvisitor.o qscriptcompiler.o
> qscriptecmaarray.o qscriptecmaboolean.o qscriptecmacore.o
> qscriptecmadate.o
> qscriptecmafunction.o qscriptecmaglobal.o qscriptecmamath.o
> qscriptecmanumber.o qscriptecmaobject.o qscriptecmaregexp.o
> qscriptecmastring.o qscriptecmaerror.o qscriptcontext_p.o qscriptengine.o
> qscriptengine_p.o qscriptengineagent.o qscriptextenumeration.o
> qscriptextvariant.o qscriptcontext.o qscriptcontextinfo.o
> qscriptfunction.o
> qscriptgrammar.o qscriptlexer.o qscriptclassdata.o qscriptparser.o
> qscriptprettypretty.o qscriptsyntaxchecker.o qscriptclass.o
> qscriptclasspropertyiterator.o qscriptstring.o qscriptvalue.o
> qscriptvalueimpl.o qscriptvalueiterator.o
> qscriptvalueiteratorimpl.o -lole32 -luuid
> copy qmake.exe C:\Qt\2009.01\qt\bin\qmake.exe
> 1 file(s) copied.
> Creating makefiles in src...
> Generating Makefiles...
> Could not find mkspecs for your QMAKESPEC(win32-g++) after trying:
>
> C:/qt-greenhouse/Trolltech/Code_less_create_more/Trolltech/Code_le
> ss_create_more/Troll/4.5.0/qt\mkspecs
> Error processing project file: C:/Qt/2009.01/qt/projects.pro
> Qmake failed, return code 3
> c:\Qt\2009.01\qt>
>
> The Error is Could not find mkspecs for your QMAKESPEC(win32-g++) after
> trying:
>
> C:/qt-greenhouse/Trolltech/Code_less_create_more/Trolltech/Code_le
> ss_create_more/Troll/4.5.0/qt\mkspecs
> Error processing project file: C:/Qt/2009.01/qt/projects.pro
>
> Can someone help me in resolving this error
>
> Regards,
> Param
>
> The information contained in this electronic message and any attachments
> to this message are intended for the exclusive
> use of the addressee(s) and may contain proprietary, confidential or
> privileged information. If you are not the intended
> recipient, you should not disseminate, distribute or copy this e-mail.
> Please notify the sender immediately and destroy
> all copies of this message and any attachments contained in it.
More information about the Qt-interest-old
mailing list