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

James Yan hundun.james at gmail.com
Sat Apr 21 20:56:44 CEST 2012


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20120422/41ad0f6e/attachment.html>


More information about the Interest mailing list