Re: [Development] Fatal error occurred when building Qt5 Alpha on Win7(x64)

2012-04-06 Thread 杨昊
Thank you marius!

You are right. The incorrect environment variable "QTDIR", which pointed to
Qt4 directory, led to my Qt5 compilation problems. The build completed
successfully after redirecting "QTDIR" to the Qt5 qtbase folder.

Cheers!

YANG Hao

On Fri, Apr 6, 2012 at 8:03 PM,  wrote:

> Are you sure your environment is clean, that you have no paths (in PATH,
> LIBS, INCLUDES) which points to previous/older builds of Qt? Qt5 repo,
> Qt4, SDKs etc?
>
> Which perl are you using? ActiveState, MinGW, Cygwin, Strawberry? If
> it's Cygwin, it's likely that it's not munging something in syncqt
> properly, and thus not generating the correct include files. If you
> currently have Cygwin perl installed, I would recommend trying
> ActiveState perl or MinGW perl instead.
>
> --
> .marius
>
>
> On 04/06/2012 02:56 AM, ext 杨昊 wrote:
> > Thank you techabc,
> >
> > Adding "-platform win32-msvc2010" doesn't solve. The warnings given by
> > the configuration step (no matter whether adding the "-platform" option)
> > are:
> >
> > ==
> > Qt is now configured for building. Just run nmake.
> > To reconfigure, run nmake confclean and configure.
> >
> > + D:/TDDOWNLOAD/qt-everywhere-opensource-src-5.0.0/qtbase/bin/qmake
> > D:/TDDOWNLOAD/qt-everywhere-opensource-src-5.0.0/qt.pro 
> > Project MESSAGE: Warning: unknown QT module: gui
> > Project MESSAGE: Warning: unknown QT module: core
> > ==
> >
> > It failed to recognize 'gui' and 'core' modules. Could there be any
> > relation between these warnings of configuration and the failure of
> build?
> >
> > YANG Hao
> >
> > 2012/4/6 techabc mailto:tech...@gmail.com>>
> >
> > add "-platform win32-msvc2010" to configure will help you.
> > because after your configure command, some error info indicates this.
> >
> > 2012/4/6 杨昊 mailto:yangh2...@gmail.com>>:
> >  > Hi Loaden,
> >  >
> >  > Thank you for your reply!
> >  >
> >  > I've tried "configure -opensource -prefix %CD%\qtbase
> > -confirm-license
> >  > -debug-and-release -fast -mp -nomake examples", but same errors
> were
> >  > reported.
> >  >
> >  > Then I added these missing folders into the environment variable
> > %INCLUDE%
> >  > (2 QtCore folders and 2 QtNetwork folders, I know this is a bad
> > trial... )
> >  > and made it compiled successfully, however, more errors occurred
> > in the
> >  > linking process. So it may not just be the problems concerning
> > include
> >  > paths.
> >  >
> >  > It is weird since my building process exactly follows the
> > official guide
> >  > http://qt-project.org/wiki/Qt-5-Alpha-building-instructions
> >  >
> >  > YANG Hao
> >  >
> >  >
> >  > 2012/4/6 Loaden mailto:loa...@gmail.com>>
> >  >>
> >  >> You should use -prefix=%CD%\qtbase, not the other places.
> >  >> see:
> >  >>>
> >  >>> configure -opensource -prefix %CD%\qtbase -confirm-license
> >  >>> -debug-and-release -fast -mp -nomake examples
> >  >>
> >  >>
> >  >>
> >  >> 2012/4/5 杨昊 mailto:yangh2...@gmail.com>>
> >  >>>
> >  >>> Hi all!
> >  >>>
> >  >>> When building Qt5 it reports that the compiler cannot open
> > include file
> >  >>> 'QStack', 'QtDebug', 'QString' and 'QUrl' when compiling
> acceltree
> >  >>> files. Seems that it forgot adding "..\..\include\QtCore" into
> > its include
> >  >>> path since those "missing files" all exist under the QtCore
> > directory
> >  >>> (qtbase\include\QtCore).
> >  >>>
> >  >>> Below is the detailed report:
> >  >>>
> >  >>>
> >  >>>
> >
> ==
> >  >>> Microsoft (R) Program Maintenance Utility Version 10.00.30319.01
> >  >>> Copyright (C) Microsoft Corporation. All rights reserved.
> >  >>>
> >  >>> cl -c -nologo -Zm200 -Zc:wchar_t -Zi -MDd -W3 -w34100 -w34189
> -GR
> >  >>> -EHsc
> >  >>> -DQT_SHARED -DUNICODE -DWIN32 -DQT_LARGEFILE_SUPPORT
> >  >>> -DQT_BUILD_XMLPATTERNS_LIB
> >  >>> -DQT_NO_USING_NAMESPACE -DQT_MAKEDLL -DQT_NO_CAST_TO_ASCII
> >  >>> -DQT_ASCII_CAST_WARNI
> >  >>> NGS -DQT_MOC_COMPAT -DQT_USE_QSTRINGBUILDER -D_USE_MATH_DEFINES
> > -DQT_DLL
> >  >>> -DQT_HA
> >  >>> VE_MMX -DQT_HAVE_3DNOW -DQT_HAVE_SSE -DQT_HAVE_MMXEXT
> > -DQT_HAVE_SSE2
> >  >>> -I"..\..\..
> >  >>> \qtbase\include" -I"..\..\include\QtXmlPatterns\5.0.0"
> >  >>> -I"..\..\include\QtXmlPat
> >  >>> terns\5.0.0\QtXmlPatterns" -I"..\..\include"
> >  >>> -I"..\..\include\QtXmlPatterns" -I"
> >  >>> ..\..\include" -I"tmp" -I"acceltree" -I"data" -I"api"
> > -I"environment"
> >  >>> -I"expr" -
> >  >>> I"functions" -I"iterators" -I"janitors" -I"parser" -I"schema"
> > -I"type"
> >  >>> -I"utils"
> >  >>> -I"debug" -I"

Re: [Development] Build qwebkit module failed if use '--v8' option

2012-04-06 Thread marius.storm-olsen
All I can say is that we know WebKit is not yet building on Windows, and 
it might take some time before we get there. Right now there's virtually 
no resources available for handling QtWebKit on Windows, unless someone 
feels it's time they learn some webkit buildsystem stuff for Windows :)

-- 
.marius

On 04/06/2012 10:04 PM, ext Loaden wrote:
> Build Command:
>
> cmd /C "cd qtwebkit && perl Tools\Scripts\build-webkit --qt *--v8*
> --release --no-webkit2 --makeargs=-nologo >>..\webkit.log 2>&1"
>
> Any comments?
>
> cd Source\WTF\ && D:\qpSOFT\DEVx86\bin\nmake.exe -f Makefile.WTF
> (set QMAKEPATH=D:\qpSOFT\Projects\Qt5\qtwebkit\Tools\qmake) &&
> d:\qpSOFT\Projects\Qt5\qtbase\bin\qmake.exe CONFIG+=no_webkit2
> CONFIG+=v8 CONFIG+=release CONFIG-=debug -o Makefile.WTF
> d:\qpSOFT\Projects\Qt5\qtwebkit\Source\WTF\WTF.pro
> Project MESSAGE: This project is using private headers and will
> therefore be tied to this specific Qt module build version.
> Project MESSAGE: Running this project against other versions of the
> Qt modules may crash at any arbitrary point.
> Project MESSAGE: This is not a bug, but a result of using Qt
> internals. You have been warned!
> D:\qpSOFT\DEVx86\bin\nmake.exe -f Makefile.WTF.Release all
> D:\qpSOFT\DEVx86\bin\nmake.exe -f Makefile.WTF.Debug all
> cd Source\WebCore\ && D:\qpSOFT\DEVx86\bin\nmake.exe -f Makefile.WebCore
> D:\qpSOFT\DEVx86\bin\nmake.exe -f Makefile.WebCore.DerivedSources
> NMAKE : fatal error U1073: don't know how to make
> 
> 'd:\qpSOFT\Projects\Qt5\qtwebkit\Source\WebCore\storage\IDBVersionChangeEvent.idl'
> Stop.
> NMAKE : fatal error U1077: 'D:\qpSOFT\DEVx86\bin\nmake.exe' : return
> code '0x2'
> Stop.
> NMAKE : fatal error U1077: 'cd' : return code '0x2'
> Stop.
>
>
> --
>
> Regards
> Loaden
>
>
>
> ___
> Development mailing list
> Development@qt-project.org
> http://lists.qt-project.org/mailman/listinfo/development


-- 
.marius
___
Development mailing list
Development@qt-project.org
http://lists.qt-project.org/mailman/listinfo/development


[Development] Build qwebkit module failed if use '--v8' option

2012-04-06 Thread Loaden
Build Command:

> cmd /C "cd qtwebkit && perl Tools\Scripts\build-webkit --qt *--v8*--release 
> --no-webkit2 --makeargs=-nologo >>..\webkit.log 2>&1"
>

Any comments?


>  cd Source\WTF\ && D:\qpSOFT\DEVx86\bin\nmake.exe -f Makefile.WTF
>  (set QMAKEPATH=D:\qpSOFT\Projects\Qt5\qtwebkit\Tools\qmake) &&
> d:\qpSOFT\Projects\Qt5\qtbase\bin\qmake.exe CONFIG+=no_webkit2 CONFIG+=v8
> CONFIG+=release CONFIG-=debug -o Makefile.WTF
> d:\qpSOFT\Projects\Qt5\qtwebkit\Source\WTF\WTF.pro
> Project MESSAGE: This project is using private headers and will therefore
> be tied to this specific Qt module build version.
> Project MESSAGE: Running this project against other versions of the Qt
> modules may crash at any arbitrary point.
> Project MESSAGE: This is not a bug, but a result of using Qt internals.
> You have been warned!
>  D:\qpSOFT\DEVx86\bin\nmake.exe -f Makefile.WTF.Release all
>  D:\qpSOFT\DEVx86\bin\nmake.exe -f Makefile.WTF.Debug all
>  cd Source\WebCore\ && D:\qpSOFT\DEVx86\bin\nmake.exe -f Makefile.WebCore
>  D:\qpSOFT\DEVx86\bin\nmake.exe -f Makefile.WebCore.DerivedSources
> NMAKE : fatal error U1073: don't know how to make
> 'd:\qpSOFT\Projects\Qt5\qtwebkit\Source\WebCore\storage\IDBVersionChangeEvent.idl'
> Stop.
> NMAKE : fatal error U1077: 'D:\qpSOFT\DEVx86\bin\nmake.exe' : return code
> '0x2'
> Stop.
> NMAKE : fatal error U1077: 'cd' : return code '0x2'
> Stop.
>
>
> --
>
Regards
Loaden
___
Development mailing list
Development@qt-project.org
http://lists.qt-project.org/mailman/listinfo/development


[Development] Building Qt5 alpha failed on Mac OS X 10.6.7

2012-04-06 Thread Yang Fan
Hi All,

I was building Qt5 alpha on Mac OS X 10.6.7, and getting the following
errors:

g++ -c -pipe -mmacosx-version-min=10.6 -O2 -arch x86_64 -fvisibility=hidden
-fvisibility-inlines-hidden -Wall -W -fPIC -DQT_NO_LIBUDEV -DQT_NO_EVDEV
-DQT_NO_XCB -DQT_NO_DEBUG -DQT_PLUGIN -DQT_QML_LIB -DQT_XMLPATTERNS_LIB
-DQT_NETWORK_LIB -DQT_GUI_LIB -DV8_SHARED -DUSING_V8_SHARED -DQT_CORE_LIB
-DQT_HAVE_MMX -DQT_HAVE_3DNOW -DQT_HAVE_SSE -DQT_HAVE_MMXEXT -DQT_HAVE_SSE2
-DQT_HAVE_SSE3 -DQT_HAVE_SSSE3 -DQT_HAVE_SSE4_1 -DQT_HAVE_SSE4_2
-D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -DQT_SHARED
-I../../../../qtbase/mkspecs/macx-g++ -I.
-I../../../../qtbase/include/QtCore/5.0.0
-I../../../../qtbase/include/QtCore/5.0.0/QtCore
-I../../../../qtbase/include/QtCore
-I../../../../qtjsbackend/include/QtV8/5.0.0
-I../../../../qtjsbackend/include/QtV8/5.0.0/QtV8
-I../../../../qtjsbackend/include/QtV8 -I../../../../qtbase/include/QtGui
-I../../../../qtbase/include/QtNetwork -I../../../../qtbase/include
-I/Users/yangfan/Development/qt-everywhere-opensource-src-5.0.0/qtbase/include/QtXmlPatterns
-I../../../include/QtQml/5.0.0 -I../../../include/QtQml/5.0.0/QtQml
-I../../../include -I../../../include/QtQml
-I/System/Library/Frameworks/OpenGL.framework/Versions/A/Headers
-I/System/Library/Frameworks/AGL.framework/Headers -I.moc/release-shared
-F/Users/yangfan/Development/qt-everywhere-opensource-src-5.0.0/qtbase/lib
-o .obj/release-shared/qqmlxmllistmodel.o qqmlxmllistmodel.cpp
qqmlxmllistmodel.cpp:51:21: error: QXmlQuery: No such file or directory
qqmlxmllistmodel.cpp:52:27: error: QXmlResultItems: No such file or
directory
qqmlxmllistmodel.cpp:53:30: error: QXmlNodeModelIndex: No such file or
directory
qqmlxmllistmodel.cpp:188: error: ‘QXmlQuery’ has not been declared
qqmlxmllistmodel.cpp: In member function ‘void
QQuickXmlQueryEngine::doQueryJob(XmlQueryJob*, QQuickXmlQueryResult*)’:
qqmlxmllistmodel.cpp:362: error: ‘QXmlQuery’ was not declared in this scope
qqmlxmllistmodel.cpp:362: error: expected `;' before ‘query’
qqmlxmllistmodel.cpp:365: error: ‘query’ was not declared in this scope
qqmlxmllistmodel.cpp:381: error: ‘QXmlResultItems’ was not declared in this
scope
qqmlxmllistmodel.cpp:381: error: expected `;' before ‘result’
qqmlxmllistmodel.cpp:382: error: expected `;' before ‘countquery’
qqmlxmllistmodel.cpp:383: error: ‘countquery’ was not declared in this scope
qqmlxmllistmodel.cpp:385: error: ‘result’ was not declared in this scope
qqmlxmllistmodel.cpp:386: error: ‘QXmlItem’ was not declared in this scope
qqmlxmllistmodel.cpp:386: error: expected `;' before ‘item’
qqmlxmllistmodel.cpp:387: error: ‘item’ was not declared in this scope
qqmlxmllistmodel.cpp: At global scope:
qqmlxmllistmodel.cpp:396: error: ‘QXmlQuery’ has not been declared
qqmlxmllistmodel.cpp: In member function ‘void
QQuickXmlQueryEngine::getValuesOfKeyRoles(const XmlQueryJob&, QStringList*,
int*) const’:
qqmlxmllistmodel.cpp:406: error: request for member ‘setQuery’ in ‘*
query’, which is of non-class type ‘int’
qqmlxmllistmodel.cpp:407: error: ‘QXmlResultItems’ was not declared in this
scope
qqmlxmllistmodel.cpp:407: error: expected `;' before ‘resultItems’
qqmlxmllistmodel.cpp:408: error: request for member ‘evaluateTo’ in ‘*
query’, which is of non-class type ‘int’
qqmlxmllistmodel.cpp:408: error: ‘resultItems’ was not declared in this
scope
qqmlxmllistmodel.cpp:409: error: ‘QXmlItem’ was not declared in this scope
qqmlxmllistmodel.cpp:409: error: expected `;' before ‘item’
qqmlxmllistmodel.cpp:410: error: ‘item’ was not declared in this scope
qqmlxmllistmodel.cpp: In member function ‘void
QQuickXmlQueryEngine::doSubQueryJob(XmlQueryJob*, QQuickXmlQueryResult*)’:
qqmlxmllistmodel.cpp:433: error: ‘QXmlQuery’ was not declared in this scope
qqmlxmllistmodel.cpp:433: error: expected `;' before ‘subquery’
qqmlxmllistmodel.cpp:434: error: ‘subquery’ was not declared in this scope
qqmlxmllistmodel.cpp:470: error: ‘QXmlResultItems’ was not declared in this
scope
qqmlxmllistmodel.cpp:470: error: expected `;' before ‘resultItems’
qqmlxmllistmodel.cpp:471: error: ‘resultItems’ was not declared in this
scope
qqmlxmllistmodel.cpp:472: error: ‘QXmlItem’ was not declared in this scope
qqmlxmllistmodel.cpp:472: error: expected `;' before ‘item’
qqmlxmllistmodel.cpp:473: error: ‘item’ was not declared in this scope
make[4]: *** [.obj/release-shared/qqmlxmllistmodel.o] Error 1
make[3]: *** [release] Error 2
make[2]: *** [sub-xmllistmodel-make_default] Error 2
make[1]: *** [sub-imports-make_default-ordered] Error 2
make: *** [module-qtdeclarative-src-make_default] Error 2
cd qtdeclarative && make  exited with status 512 at build line 64
Qt::Build::exe('Qt::Build=HASH(0x100804ff0)', 'cd qtdeclarative && make
') called at build line 114
Qt::Build::exeLowPriv('Qt::Build=HASH(0x100804ff0)', 'cd qtdeclarative
&& make ') called at build line 377
Qt::Build::build_project('Qt::Build=HASH(0x100804ff0)',
'qtdeclarative') called at build line 408
Qt::Build::build_qt('Qt::B

Re: [Development] Qt Summit 2012 Registration is now open!

2012-04-06 Thread Quim Gil
On 04/06/2012 06:01 AM, Hausmann Simon (Nokia-MP/Oslo) wrote:
> I think it would be great if we could extend the invitations to
> WebKit committers that are contributors to the Qt port.
>
> Quim, what do you think?

Sure, this is what I meant when I wrote

> Qt WebKit counts just like any other Qt
> module. In case of doubt get an indication or invitation from the
> module maintainers.

The "doubt" is not about QtWebKit contributors in general but about a 
specific guy interested. Just like any other module.

The only concern (in general) is that maintainers and core approvers 
just leave registration for tomorrow - and tomorrow (or are not really 
aware that this is happening) and then the 225 seats are taken by others.

I hope the Qt Project meritocracy does an effective work top-down making 
sure that whoever needs to be in Berlin registers soon.

Note also that all this discussion about invitations is orthogonal to 
sponsoring travel and accommodation for participants. If the person 
requesting the invitation is also requesting e.g. 1.500€ valued travel 
sponsorship then this is a separate discussion that is purely related 
with the event budget.

--
Quim
___
Development mailing list
Development@qt-project.org
http://lists.qt-project.org/mailman/listinfo/development


Re: [Development] Qt Summit 2012 Registration is now open!

2012-04-06 Thread Sivan Greenberg
On Fri, Apr 6, 2012 at 4:01 PM,   wrote:
> I think it would be great if we could extend the invitations to WebKit 
> committers that are contributors to the Qt port.
>
> Quim, what do you think?
>

I second that as well, I also want to make sure how we can include
folks out of the Necessitas project as well.

-Sivan
___
Development mailing list
Development@qt-project.org
http://lists.qt-project.org/mailman/listinfo/development


Re: [Development] Qt Summit 2012 Registration is now open!

2012-04-06 Thread marius.storm-olsen
IMO that's reasonable. They are an equal part of the Qt community as 
anybody else, since it benefits Qt directly.

-- 
.marius

On 04/06/2012 08:01 AM, ext simon.hausm...@nokia.com wrote:
> I think it would be great if we could extend the invitations to WebKit 
> committers that are contributors to the Qt port.
>
> Quim, what do you think?
>
> Simon
>
> --
> Sendt fra min Nokia N904.04.12 19:51 skrev Gil Quim (Nokia-DXM/SiliconValley):
> Qt WebKit counts just like any other Qt module. In case of doubt get an 
> indication or invitation from the module maintainers.
>
>
> Quim
>
>
> On 4/4/12 10:41 AM ext Jesus Sanchez-Palencia wrote:
>
>> From the registration page: "Reasons for Attending". What are webkit
> people considered?! We don't fit as maintainers neither as approvers.
>
> =/
>
>
>
> Cheers,
>
>
> -jesus
> yet another QtWebKit Gerrit Outlaw
>
>
>
> 2012/4/4 Sivan Greenberg:
>> We now have a human friendly URL for the registration page (Thanks
>> Thiago the reminder):
>>
>> http://tinyurl.ms/50kb
>>
>> -Sivan
>>
>> On Tue, Apr 3, 2012 at 10:31 PM, Sivan Greenberg  wrote:
>>> reserve your place.
>>>
>>> [0]: http://tinyurl.ms/50kb
>> ___
>> Development mailing list
>> si...@omniqueue.com
>> http://tinyurl.ms/50kb
>
> ___
>
> Development mailing list
>
> si...@omniqueue.com
> http://tinyurl.ms/50kb
>
>
>
> ___
> Development mailing list
> Development@qt-project.org
> http://lists.qt-project.org/mailman/listinfo/development


-- 
.marius
___
Development mailing list
Development@qt-project.org
http://lists.qt-project.org/mailman/listinfo/development


Re: [Development] Qt Summit 2012 Registration is now open!

2012-04-06 Thread simon.hausmann
I think it would be great if we could extend the invitations to WebKit 
committers that are contributors to the Qt port.

Quim, what do you think?

Simon 

--
Sendt fra min Nokia N904.04.12 19:51 skrev Gil Quim (Nokia-DXM/SiliconValley):
Qt WebKit counts just like any other Qt module. In case of doubt get an 
indication or invitation from the module maintainers.


Quim


On 4/4/12 10:41 AM ext Jesus Sanchez-Palencia wrote:

>From the registration page: "Reasons for Attending". What are webkit
people considered?! We don't fit as maintainers neither as approvers.

=/



Cheers,


-jesus
yet another QtWebKit Gerrit Outlaw



2012/4/4 Sivan Greenberg :
> We now have a human friendly URL for the registration page (Thanks
> Thiago the reminder):
>
> http://tinyurl.ms/50kb
>
> -Sivan
>
> On Tue, Apr 3, 2012 at 10:31 PM, Sivan Greenberg  wrote:
>> reserve your place.
>>
>> [0]: http://tinyurl.ms/50kb
> ___
> Development mailing list
> si...@omniqueue.com
> http://tinyurl.ms/50kb

___

Development mailing list

si...@omniqueue.com
http://tinyurl.ms/50kb



___
Development mailing list
Development@qt-project.org
http://lists.qt-project.org/mailman/listinfo/development


Re: [Development] Qt Summit 2012 Registration is now open!

2012-04-06 Thread kenneth.r.christiansen
I believe that Simon is the module maintainer in Qt Project sense.

Kenneth

From: development-bounces+kenneth.r.christiansen=nokia@qt-project.org 
[development-bounces+kenneth.r.christiansen=nokia@qt-project.org] on behalf 
of Gil Quim (Nokia-DXM/SiliconValley)
Sent: Wednesday, April 04, 2012 7:50 PM
To: si...@omniqueue.com; jesus.palen...@openbossa.org
Cc: development@qt-project.org; market...@qt-project.org
Subject: Re: [Development] Qt Summit 2012 Registration is now open!


Qt WebKit counts just like any other Qt module. In case of doubt get an 
indication or invitation from the module maintainers.


Quim


On 4/4/12 10:41 AM ext Jesus Sanchez-Palencia wrote:

>From the registration page: "Reasons for Attending". What are webkit
people considered?! We don't fit as maintainers neither as approvers.
=/


Cheers,

-jesus
yet another QtWebKit Gerrit Outlaw


2012/4/4 Sivan Greenberg mailto:si...@omniqueue.com>>:
> We now have a human friendly URL for the registration page (Thanks
> Thiago the reminder):
>
> http://tinyurl.ms/50kb
>
> -Sivan
>
> On Tue, Apr 3, 2012 at 10:31 PM, Sivan Greenberg 
> mailto:si...@omniqueue.com>> wrote:
>> reserve your place.
>>
>> [0]: http://tinyurl.ms/50kb
> ___
> Development mailing list
> si...@omniqueue.com
> http://tinyurl.ms/50kb
___
Development mailing list
si...@omniqueue.com
http://tinyurl.ms/50kb


___
Development mailing list
Development@qt-project.org
http://lists.qt-project.org/mailman/listinfo/development


Re: [Development] Fatal error occurred when building Qt5 Alpha on Win7(x64)

2012-04-06 Thread marius.storm-olsen
Are you sure your environment is clean, that you have no paths (in PATH, 
LIBS, INCLUDES) which points to previous/older builds of Qt? Qt5 repo, 
Qt4, SDKs etc?

Which perl are you using? ActiveState, MinGW, Cygwin, Strawberry? If 
it's Cygwin, it's likely that it's not munging something in syncqt 
properly, and thus not generating the correct include files. If you 
currently have Cygwin perl installed, I would recommend trying 
ActiveState perl or MinGW perl instead.

-- 
.marius


On 04/06/2012 02:56 AM, ext 杨昊 wrote:
> Thank you techabc,
>
> Adding "-platform win32-msvc2010" doesn't solve. The warnings given by
> the configuration step (no matter whether adding the "-platform" option)
> are:
>
> ==
> Qt is now configured for building. Just run nmake.
> To reconfigure, run nmake confclean and configure.
>
> + D:/TDDOWNLOAD/qt-everywhere-opensource-src-5.0.0/qtbase/bin/qmake
> D:/TDDOWNLOAD/qt-everywhere-opensource-src-5.0.0/qt.pro 
> Project MESSAGE: Warning: unknown QT module: gui
> Project MESSAGE: Warning: unknown QT module: core
> ==
>
> It failed to recognize 'gui' and 'core' modules. Could there be any
> relation between these warnings of configuration and the failure of build?
>
> YANG Hao
>
> 2012/4/6 techabc mailto:tech...@gmail.com>>
>
> add "-platform win32-msvc2010" to configure will help you.
> because after your configure command, some error info indicates this.
>
> 2012/4/6 杨昊 mailto:yangh2...@gmail.com>>:
>  > Hi Loaden,
>  >
>  > Thank you for your reply!
>  >
>  > I've tried "configure -opensource -prefix %CD%\qtbase
> -confirm-license
>  > -debug-and-release -fast -mp -nomake examples", but same errors were
>  > reported.
>  >
>  > Then I added these missing folders into the environment variable
> %INCLUDE%
>  > (2 QtCore folders and 2 QtNetwork folders, I know this is a bad
> trial... )
>  > and made it compiled successfully, however, more errors occurred
> in the
>  > linking process. So it may not just be the problems concerning
> include
>  > paths.
>  >
>  > It is weird since my building process exactly follows the
> official guide
>  > http://qt-project.org/wiki/Qt-5-Alpha-building-instructions
>  >
>  > YANG Hao
>  >
>  >
>  > 2012/4/6 Loaden mailto:loa...@gmail.com>>
>  >>
>  >> You should use -prefix=%CD%\qtbase, not the other places.
>  >> see:
>  >>>
>  >>> configure -opensource -prefix %CD%\qtbase -confirm-license
>  >>> -debug-and-release -fast -mp -nomake examples
>  >>
>  >>
>  >>
>  >> 2012/4/5 杨昊 mailto:yangh2...@gmail.com>>
>  >>>
>  >>> Hi all!
>  >>>
>  >>> When building Qt5 it reports that the compiler cannot open
> include file
>  >>> 'QStack', 'QtDebug', 'QString' and 'QUrl' when compiling acceltree
>  >>> files. Seems that it forgot adding "..\..\include\QtCore" into
> its include
>  >>> path since those "missing files" all exist under the QtCore
> directory
>  >>> (qtbase\include\QtCore).
>  >>>
>  >>> Below is the detailed report:
>  >>>
>  >>>
>  >>>
> 
> ==
>  >>> Microsoft (R) Program Maintenance Utility Version 10.00.30319.01
>  >>> Copyright (C) Microsoft Corporation. All rights reserved.
>  >>>
>  >>> cl -c -nologo -Zm200 -Zc:wchar_t -Zi -MDd -W3 -w34100 -w34189 -GR
>  >>> -EHsc
>  >>> -DQT_SHARED -DUNICODE -DWIN32 -DQT_LARGEFILE_SUPPORT
>  >>> -DQT_BUILD_XMLPATTERNS_LIB
>  >>> -DQT_NO_USING_NAMESPACE -DQT_MAKEDLL -DQT_NO_CAST_TO_ASCII
>  >>> -DQT_ASCII_CAST_WARNI
>  >>> NGS -DQT_MOC_COMPAT -DQT_USE_QSTRINGBUILDER -D_USE_MATH_DEFINES
> -DQT_DLL
>  >>> -DQT_HA
>  >>> VE_MMX -DQT_HAVE_3DNOW -DQT_HAVE_SSE -DQT_HAVE_MMXEXT
> -DQT_HAVE_SSE2
>  >>> -I"..\..\..
>  >>> \qtbase\include" -I"..\..\include\QtXmlPatterns\5.0.0"
>  >>> -I"..\..\include\QtXmlPat
>  >>> terns\5.0.0\QtXmlPatterns" -I"..\..\include"
>  >>> -I"..\..\include\QtXmlPatterns" -I"
>  >>> ..\..\include" -I"tmp" -I"acceltree" -I"data" -I"api"
> -I"environment"
>  >>> -I"expr" -
>  >>> I"functions" -I"iterators" -I"janitors" -I"parser" -I"schema"
> -I"type"
>  >>> -I"utils"
>  >>> -I"debug" -I"..\..\..\qtbase\mkspecs\win32-msvc2010" -Fodebug\
>  >>> @C:\Users\new\Ap
>  >>> pData\Local\Temp\nmA56D.tmp
>  >>> qacceltree.cpp
>  >>> qacceltreeresourceloader.cpp
>  >>> qacceliterators.cpp
>  >>> qcompressedwhitespace.cpp
>  >>> acceltree\qacceltree.cpp(42) : fatal error C1083: Cannot open
> include
>  >>> file: 'QSt
>  >>> ack': No such file or directory
>  >>> acceltree\qacceliterators.cpp(42) : fatal error C1083: Cannot open
>  >>> include file:
>  >>> 'QtDebug': 

Re: [Development] Fatal error occurred when building Qt5 Alpha on Win7(x64)

2012-04-06 Thread 杨昊
Thank you techabc,

Adding "-platform win32-msvc2010" doesn't solve. The warnings given by the
configuration step (no matter whether adding the "-platform" option) are:

==
Qt is now configured for building. Just run nmake.
To reconfigure, run nmake confclean and configure.

+ D:/TDDOWNLOAD/qt-everywhere-opensource-src-5.0.0/qtbase/bin/qmake
D:/TDDOWNLOAD/qt-everywhere-opensource-src-5.0.0/qt.pro
Project MESSAGE: Warning: unknown QT module: gui
Project MESSAGE: Warning: unknown QT module: core
==

It failed to recognize 'gui' and 'core' modules. Could there be any
relation between these warnings of configuration and the failure of build?

YANG Hao

2012/4/6 techabc 

> add "-platform win32-msvc2010" to configure will help you.
> because after your configure command, some error info indicates this.
>
> 2012/4/6 杨昊 :
> > Hi Loaden,
> >
> > Thank you for your reply!
> >
> > I've tried "configure -opensource -prefix %CD%\qtbase -confirm-license
> > -debug-and-release -fast -mp -nomake examples", but same errors were
> > reported.
> >
> > Then I added these missing folders into the environment variable
> %INCLUDE%
> >  (2 QtCore folders and 2 QtNetwork folders, I know this is a bad
> trial... )
> > and made it compiled successfully, however, more errors occurred in the
> > linking process. So it may not just be the problems concerning include
> > paths.
> >
> > It is weird since my building process exactly follows the official guide
> > http://qt-project.org/wiki/Qt-5-Alpha-building-instructions
> >
> > YANG Hao
> >
> >
> > 2012/4/6 Loaden 
> >>
> >> You should use -prefix=%CD%\qtbase, not the other places.
> >> see:
> >>>
> >>> configure -opensource -prefix %CD%\qtbase -confirm-license
> >>> -debug-and-release -fast -mp -nomake examples
> >>
> >>
> >>
> >> 2012/4/5 杨昊 
> >>>
> >>> Hi all!
> >>>
> >>> When building Qt5 it reports that the compiler cannot open include file
> >>> 'QStack', 'QtDebug', 'QString' and 'QUrl' when compiling acceltree
> >>> files. Seems that it forgot adding "..\..\include\QtCore" into its
> include
> >>> path since those "missing files" all exist under the QtCore directory
> >>> (qtbase\include\QtCore).
> >>>
> >>> Below is the detailed report:
> >>>
> >>>
> >>>
> ==
> >>> Microsoft (R) Program Maintenance Utility Version 10.00.30319.01
> >>> Copyright (C) Microsoft Corporation.  All rights reserved.
> >>>
> >>> cl -c -nologo -Zm200 -Zc:wchar_t -Zi -MDd -W3 -w34100 -w34189
> -GR
> >>> -EHsc
> >>> -DQT_SHARED -DUNICODE -DWIN32 -DQT_LARGEFILE_SUPPORT
> >>> -DQT_BUILD_XMLPATTERNS_LIB
> >>> -DQT_NO_USING_NAMESPACE -DQT_MAKEDLL -DQT_NO_CAST_TO_ASCII
> >>> -DQT_ASCII_CAST_WARNI
> >>> NGS -DQT_MOC_COMPAT -DQT_USE_QSTRINGBUILDER -D_USE_MATH_DEFINES
> -DQT_DLL
> >>> -DQT_HA
> >>> VE_MMX -DQT_HAVE_3DNOW -DQT_HAVE_SSE -DQT_HAVE_MMXEXT -DQT_HAVE_SSE2
> >>> -I"..\..\..
> >>> \qtbase\include" -I"..\..\include\QtXmlPatterns\5.0.0"
> >>> -I"..\..\include\QtXmlPat
> >>> terns\5.0.0\QtXmlPatterns" -I"..\..\include"
> >>> -I"..\..\include\QtXmlPatterns" -I"
> >>> ..\..\include" -I"tmp" -I"acceltree" -I"data" -I"api" -I"environment"
> >>> -I"expr" -
> >>> I"functions" -I"iterators" -I"janitors" -I"parser" -I"schema" -I"type"
> >>> -I"utils"
> >>>  -I"debug" -I"..\..\..\qtbase\mkspecs\win32-msvc2010" -Fodebug\
> >>> @C:\Users\new\Ap
> >>> pData\Local\Temp\nmA56D.tmp
> >>> qacceltree.cpp
> >>> qacceltreeresourceloader.cpp
> >>> qacceliterators.cpp
> >>> qcompressedwhitespace.cpp
> >>> acceltree\qacceltree.cpp(42) : fatal error C1083: Cannot open include
> >>> file: 'QSt
> >>> ack': No such file or directory
> >>> acceltree\qacceliterators.cpp(42) : fatal error C1083: Cannot open
> >>> include file:
> >>>  'QtDebug': No such file or directory
> >>> acceltree\qcompressedwhitespace.cpp(42) : fatal error C1083: Cannot
> open
> >>> include
> >>>  file: 'QString': No such file or directory
> >>>
> >>>
> D:\TDDOWNLOAD\qt-everywhere-opensource-src-5.0.0-alpha\qtxmlpatterns\src\xmlpatt
> >>> erns\data\qatomicstring_p.h(55) : fatal error C1083: Cannot open
> include
> >>> file: '
> >>> QUrl': No such file or directory
> >>> NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual
> >>> Studio 10.0
> >>> \VC\BIN\cl.EXE"' : return code '0x2'
> >>> Stop.
> >>> NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual
> >>> Studio 10.0
> >>> \VC\BIN\nmake.exe"' : return code '0x2'
> >>> Stop.
> >>> NMAKE : fatal error U1077: 'cd' : return code '0x2'
> >>> Stop.
> >>> NMAKE : fatal error U1077: 'cd' : return code '0x2'
> >>> Stop.
> >>> cd qtxmlpatterns && "C:\Program Files (x86)\Microsoft Visual Studio
> >>> 10.0\VC\BIN\
> >>> nmake.exe"  exited with status 512 at build line 64
> >>> Qt::Build::exe('Qt::Build=HASH(0x57d354)', 'cd qtxmlpatterns &&
> >>> "C:\Prog
> >>> ram Files (x86)\Microsoft Visual ...') called at build line 105
> >>>