PDA

View Full Version : Qt/CE 4.4.0 Beta 1 installation problem



jimfan
27th February 2008, 22:35
I've tried the regular build and the shadow build, both got the same error. Here's what I did:

(1) install 4.4.0Beta-1 into C:\Qt\4.4.0-beta1 directory
(2) Launch cmd32 window from VS2005 tools menu
(3) Created shadow directory C:\Qt\release
(4) Add C:\Qt\release\bin into the path environment variable
(5) type: C:\qt\4.4.0-beta1\qtsources\configure -platform win32-msvc2005 -xplatform xxxxxxx -no-mmx -no-iwmmxt -release
where xxxxx is the name of our package under mkspec.

It runs for a while and stops at this place:


... ... ... ...
del tmp\moc\debug_shared\qtextstream.moc
Could Not Find C:\Qt\release\tools\checksdk\tmp\moc\debug_shared\ qtextstream.moc
del tmp\obj\debug_shared\main.obj tmp\obj\debug_shared\cesdkhandler.obj tmp\obj\debug_shared\qstring.obj tmp\obj\debug_shared\qstringlist.obj tmp\obj\debug_shared\qfile.obj tmp\obj\debug_share
d\qdir.obj tmp\obj\debug_shared\qfsfileengine.obj tmp\obj\debug_shared\qabstractfileengine.obj tmp\obj\debug_shared\qfsfileengine_win.obj tmp\obj\debug_shared\qfsfileengine_iterator.obj tmp\obj\debug_
shared\qfsfileengine_iterator_win.obj tmp\obj\debug_shared\qfileinfo.obj tmp\obj\debug_shared\qtemporaryfile.obj tmp\obj\debug_shared\qdiriterator.obj tmp\obj\debug_shared\qiodevice.obj tmp\obj\debug_
shared\qbuffer.obj tmp\obj\debug_shared\qtextstream.obj tmp\obj\debug_shared\qdatetime.obj tmp\obj\debug_shared\qlocale.obj tmp\obj\debug_shared\qbytearray.obj tmp\obj\debug_shared\qbytearraymatcher.o
bj tmp\obj\debug_shared\qvector.obj tmp\obj\debug_shared\qvsnprintf.obj tmp\obj\debug_shared\qlistdata.obj tmp\obj\debug_shared\qhash.obj tmp\obj\debug_shared\qglobal.obj tmp\obj\debug_shared\qmalloc.
obj tmp\obj\debug_shared\qnumeric.obj tmp\obj\debug_shared\qxmlstream.obj tmp\obj\debug_shared\qxmlutils.obj tmp\obj\debug_shared\qregexp.obj tmp\obj\debug_shared\qmap.obj tmp\obj\debug_shared\qbitarr
ay.obj tmp\obj\debug_shared\qconfig.obj
Could Not Find C:\Qt\release\tools\checksdk\tmp\obj\debug_shared\ main.obj
del tmp\obj\debug_shared\checksdk.intermediate.manifes t ..\..\bin\checksdk.exp ..\..\bin\checksdk.pdb ..\..\bin\checksdk.ilk vc*.pdb vc*.idb
Could Not Find C:\Qt\release\tools\checksdk\tmp\obj\debug_shared\ checksdk.intermediate.manifest
Could Not Find C:\Qt\release\bin\checksdk.exp
Could Not Find C:\Qt\release\tools\checksdk\vc*.pdb
del "tmp\obj\release_shared\checksdk.intermediate.manif est"
Could Not Find C:\Qt\release\tools\checksdk\tmp\obj\release_share d\checksdk.intermediate.manifest
del ..\..\bin\checksdk.exp
Could Not Find C:\Qt\release\bin\checksdk.exp

Microsoft (R) Program Maintenance Utility Version 8.00.50727.762
Copyright (C) Microsoft Corporation. All rights reserved.

"C:\Program Files\Microsoft Visual Studio 8\VC\BIN\nmake.exe" -f Makefile.Release

Microsoft (R) Program Maintenance Utility Version 8.00.50727.762
Copyright (C) Microsoft Corporation. All rights reserved.

NMAKE : fatal error U1073: don't know how to make 'qt\4.4.0-beta1\qtsources\src\corelib\io\qiodevice.h'
Stop.
NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual Studio 8\VC\BIN\nmake.exe"' : return code '0x2'
Stop.
Building tools/checksdk failed, return code 2


Thanks for your help!

jimfan
28th February 2008, 00:31
Found the solution by myself.

file:///C:/Qt/4.4.0-beta1/qtsources/doc/html/shadow-builds-wince.html

This is not correct.

In shadow directory must be at the same level with Qt source directory which is C:\qt\4.4.0-beta1\qtsources. Therefore if you are to build under directoryA, you need to put it under C:\Qt\4.4.0-beta1\directoryA instead of C:\Qt\directoryA.