[Development] Why we need some CMake file of Build Or Install Qt?

Loaden loaden at gmail.com
Fri Mar 23 01:58:52 CET 2012


After applied two patch, will lead build broke.


>         cl -c -nologo -Zm200 -Zc:wchar_t -Zi -MDd -W3 -w34100 -w34189 -GR
> -EHsc -DUNICODE -DWIN32 -D
> QT_LARGEFILE_SUPPORT -DQT_NO_CAST_TO_ASCII -DQT_ASCII_CAST_WARNINGS
> -DQT_USE_QSTRINGBUILDER -I"tmp"
> -I"..\..\include\QtCore" -I"..\..\mkspecs\win32-msvc2010"
> -Fotmp\obj\debug_shared\ @C:\Users\ADMINI~
> 1\AppData\Local\Temp\nmDBBC.tmp
> qtmain_win.cpp
> d:\qpsoft\sources\qt5\qtbase\include\qtcore\../../src/corelib/tools/qbytearray.h(45)
> : fatal error C
> 1083: Cannot open include file: 'QtCore/qrefcount.h': No such file or
> directory
> NMAKE : fatal error U1077: 'D:\qpSOFT\DEVx86\bin\cl.EXE' : return code
> '0x2'
> Stop.
> NMAKE : fatal error U1077: 'D:\qpSOFT\DEVx86\bin\nmake.exe' : return code
> '0x2'
> Stop.
> NMAKE : fatal error U1077: 'D:\qpSOFT\DEVx86\bin\nmake.exe' : return code
> '0x2'
> Stop.
> NMAKE : fatal error U1077: 'cd' : return code '0x2'
> Stop.
> NMAKE : fatal error U1077: 'D:\qpSOFT\DEVx86\bin\nmake.exe' : return code
> '0x2'
> Stop.
> NMAKE : fatal error U1077: 'cd' : return code '0x2'
> Stop.



2012/3/23 Stephen Kelly <stephen.kelly at kdab.com>

> **
>
> On Thursday, March 22, 2012 15:08:03 Stephen Kelly wrote:
>
> > On Thursday, March 22, 2012 21:45:46 Loaden wrote:
>
> > > > Project WARNING: You should probably load(qt_module) first in
>
> > > > winmain.profor qtmain, as it also loa d()s qt_module_config.
>
> > > > Project MESSAGE: Not doing so may lead to qt_module_config.prf
>
> > > > overriding
>
> > > > compiler/linker options in
>
> > > >
>
> > > > your .pro file.
>
> > > >
>
> > > > Project MESSAGE: Ignore this warning with
>
> > > > CONFIG+=no_qt_module_warning
>
> > > > if
>
> > > > you know what you are doin
>
> > > > g.
>
> >
>
> > Thanks!
>
> >
>
> > This quoted bit showed me where the problem is. src/winmain/winmain.prouses
>
> > qt_module_config, but it doesn't set the MODULE variable.
>
> >
>
> > Now we'll just have to figure out how to solve that in a way that can be
>
> > agreed to.
>
>
>
> Just to link everything together, the candidate fix is:
> http://codereview.qt-project.​org/#change,21077<http://codereview.qt-project.org/#change,21077>
>
>
>
> Feel free to test it.
>
>
>
> http://codereview.qt-project.​org/#change,21076<http://codereview.qt-project.org/#change,21076>is also potentially relevant.
>
>
>
> Thanks,
>
>
>
> --
>
> Stephen Kelly <stephen.kelly at kdab.com> | Software Engineer
>
> KDAB (Deutschland) GmbH & Co.KG, a KDAB Group Company
>
> www.kdab.com || Germany +49-30-521325470 || Sweden (HQ) +46-563-540090
>
> KDAB - Qt Experts - Platform-Independent Software Solutions
>
> _______________________________________________
> Development mailing list
> Development at qt-project.org
> http://lists.qt-project.org/mailman/listinfo/development
>
>


-- 
Regards
Loaden
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/development/attachments/20120323/157b5ecf/attachment.html>


More information about the Development mailing list