Commit 1f5b5cb4 authored by Andy Nichols's avatar Andy Nichols Committed by The Qt Project
Browse files

AVFoundation: Improve config test


This should prevent the avfoundation plugin from being built on system
that can not support using it (ex. 32bit builds on OS X 10.7)

Task-number: QTBUG-36239
Change-Id: I9f861b7580b0e015ddbc1231440d677bf6eee1ec
Reviewed-by: default avatarYoann Lopes <yoann.lopes@digia.com>
parent 4d31ec07
No related merge requests found
Showing with 3 additions and 1 deletion
OBJECTIVE_SOURCES += main.mm OBJECTIVE_SOURCES += main.mm
LIBS += -framework AVFoundation LIBS += -framework AVFoundation -framework Foundation
...@@ -39,9 +39,11 @@ ...@@ -39,9 +39,11 @@
** **
****************************************************************************/ ****************************************************************************/
#import <Foundation/Foundation.h>
#import <AVFoundation/AVFoundation.h> #import <AVFoundation/AVFoundation.h>
int main(int argc, char** argv) int main(int argc, char** argv)
{ {
AVPlayer *player = [AVPlayer playerWithURL:[NSURL URLWithString:@"http://doesnotmatter.com"]];
return 0; return 0;
} }
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment