[Development] Problem compiling Qt on a Mac

ynon perek ynonperek at gmail.com
Sat Jul 20 16:59:39 CEST 2013


Hi All,

I'm trying to compile Qt5.1 on my mac and failing on the avfoundation
camera plugin. Here's the error I got:


avfimagecapturecontrol.mm: In function ‘void
__capture_block_invoke_1(void*, opaqueCMSampleBuffer*, NSError*)’:
avfimagecapturecontrol.mm:121: error: ‘QStringList
AVFImageCaptureControl::messageParts’ is not a static member of ‘class
AVFImageCaptureControl’
avfimagecapturecontrol.mm:122: error: ‘messageParts’ was not declared in
this scope
avfimagecapturecontrol.mm:126: error: ‘QString
AVFImageCaptureControl::errorMessage’ is not a static member of ‘class
AVFImageCaptureControl’
avfimagecapturecontrol.mm:127: error: ‘errorMessage’ was not declared in
this scope
avfimagecapturecontrol.mm:132: error: ‘errorMessage’ was not declared in
this scope
avfimagecapturecontrol.mm:140: error: ‘NSData*
AVFImageCaptureControl::nsJpgData’ is not a static member of ‘class
AVFImageCaptureControl’
avfimagecapturecontrol.mm:141: error: ‘QByteArray
AVFImageCaptureControl::jpgData’ is not a static member of ‘class
AVFImageCaptureControl’
avfimagecapturecontrol.mm:141: error: ‘nsJpgData’ was not declared in this
scope
avfimagecapturecontrol.mm:145: error: ‘QBuffer
AVFImageCaptureControl::buffer’ is not a static member of ‘class
AVFImageCaptureControl’
avfimagecapturecontrol.mm:145: error: ‘jpgData’ was not declared in this
scope
avfimagecapturecontrol.mm:146: error: ‘QImageReader
AVFImageCaptureControl::imageReader’ is not a static member of ‘class
AVFImageCaptureControl’
avfimagecapturecontrol.mm:146: error: ‘buffer’ was not declared in this
scope
avfimagecapturecontrol.mm:147: error: ‘QSize
AVFImageCaptureControl::imgSize’ is not a static member of ‘class
AVFImageCaptureControl’
avfimagecapturecontrol.mm:147: error: ‘imageReader’ was not declared in
this scope
avfimagecapturecontrol.mm:148: error: ‘int
AVFImageCaptureControl::downScaleSteps’ is not a static member of ‘class
AVFImageCaptureControl’
avfimagecapturecontrol.mm:149: error: ‘imgSize’ was not declared in this
scope
avfimagecapturecontrol.mm:149: error: ‘downScaleSteps’ was not declared in
this scope
avfimagecapturecontrol.mm:155: error: ‘imgSize’ was not declared in this
scope
avfimagecapturecontrol.mm:156: error: ‘QImage
AVFImageCaptureControl::snapPreview’ is not a static member of ‘class
AVFImageCaptureControl’
avfimagecapturecontrol.mm:160: error: ‘snapPreview’ was not declared in
this scope
avfimagecapturecontrol.mm:165: error: ‘QFile AVFImageCaptureControl::f’ is
not a static member of ‘class AVFImageCaptureControl’
avfimagecapturecontrol.mm:166: error: ‘f’ was not declared in this scope
avfimagecapturecontrol.mm:167: error: ‘jpgData’ was not declared in this
scope
avfimagecapturecontrol.mm:178: error: ‘QString
AVFImageCaptureControl::errorMessage’ is not a static member of ‘class
AVFImageCaptureControl’
avfimagecapturecontrol.mm:182: error: ‘errorMessage’ was not declared in
this scope
make[6]: *** [.obj/release-shared/avfimagecapturecontrol.o] Error 1

Taking a quick look I didn't find the #include <QtCore/QStringList> in the
file (or any of the included). Ideas what I did wrong ?

Thanks In Advance,
  Ynon


-- 

כותב הרצאות ? מדבר מול קהל ? הבלוג שלי לומד
לדבר<http://publicspeakr.blogspot.com/>כתוב במיוחד בשבילך.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/development/attachments/20130720/84bf9aa8/attachment.html>


More information about the Development mailing list