[Interest] kernel/qdnd_mac.mm:628: error: ‘SetRect’ was not declared in this scope

Raul Metsma raul at innovaatik.ee
Sun Apr 22 12:18:18 CEST 2012


You have to set SDK MacOSX10.6 

Raul

On 21.04.2012, at 21:56, James Yan wrote:

> I'm used qt (4.6.3 open source / static complied ) on mac leopard for a long time, and it works well. 
> recently, i upgraded to lion, then try to re-complie the 4.6.3 in static again :
> 
> ========
> 
> ./configure -static -release -fast
> cd src
> make
> 
> ========
> 
> but always get a strage error as title : kernel/qdnd_mac.mm:628: error: ‘SetRect’ was not declared in this scope,
> any hint for it? thanks.
> BTW, the same version complied successfully on Windows 7 on the same machine ( my MBP ) .
> 
> ../../include/QtCore/../../src/corelib/global/qglobal.h:320:6: warning: #warning "This version of Mac OS X is unsupported"
> kernel/qdnd_mac.mm: In member function ‘Qt::DropAction QDragManager::drag(QDrag*)’:
> kernel/qdnd_mac.mm:628: error: ‘SetRect’ was not declared in this scope
> make[2]: *** [.obj/release-static/qdnd_mac.o] Error 1
> make[1]: *** [release] Error 2
> make: *** [sub-gui-make_default] Error 2
> 
> _______________________________________________
> Interest mailing list
> Interest at qt-project.org
> http://lists.qt-project.org/mailman/listinfo/interest

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20120422/4bfcfb71/attachment.html>


More information about the Interest mailing list