QmlVlc icon indicating copy to clipboard operation
QmlVlc copied to clipboard

Compile QmlVlc for iOS Devices

Open julienchevet opened this issue 11 years ago • 9 comments

I'm trying to compile your project QmlVlcDemo on iOS devices.

I have successfully compile it on a Mac by simply adding the vlc library compiled for mac osx in the .pro file, see code below :

X86_64 {
    LIBS += $$PWD/lib/libvlc.5.dylib
}

Then I have compiled VLC for iOS and tried to add it to the project like that :

armv7 {
    LIBS += $$PWD/lib/libMobileKit.a
}

I have tried with libvlc.a and libvlccore.a, but when I build I've got these issues :

Xcodebuild failed
symbol(s) not found for architecture armv7
linker command failed with exit code 1 (use -v to see invocation)

Do you think it's possible to compile QmlVlc for iOS Devices ? Can you help me do this ?

Build info :

Ide : Qt Creator 3.1.1 Based on Qt 5.2.1 (Clang 5.0 (Apple), 64 bit) Mac osx compiler : Clang (x86 64bit) iOS compiler : iphoneos-clang VlcLib for Mac osx : https://wiki.videolan.org/OSXCompile/ MobileVlcKit for iOS : https://wiki.videolan.org/iOSCompile

julienchevet avatar Aug 20 '14 11:08 julienchevet

I think it's possible but I didn't try it yet. My current goal is solve same task for android (since I don't have developer license for iOS)

RSATom avatar Aug 20 '14 11:08 RSATom

Hello RSATom, thank you for this project. I run QmlVlcDemo on Win7,Ubuntu and see libvlc power. So I want to use QmlVlc on Android device. Can you please explain a little bit what must I do. I'm on Ubuntu 14, Qt5. Must we compile vlc-android and use compiled libs? In fact, I'm new on compiling. Can you please help me?

mzafers avatar Oct 27 '14 09:10 mzafers

I didn't try it with Android, so can't help you. Sorry.

You could start from: https://wiki.videolan.org/AndroidCompile/

RSATom avatar Oct 27 '14 14:10 RSATom

@julienchevet Same errors for me. Did you solve it?

mzafers avatar Nov 30 '15 09:11 mzafers

@mzafers, didn't hear somebody got it working on iOS.

RSATom avatar Nov 30 '15 09:11 RSATom

I am having the same problem, has anyone solved this yet?

mpeniak avatar Feb 23 '17 16:02 mpeniak

Sorry, I didn't try QmlVlc on IOS.

mzafers avatar Feb 24 '17 11:02 mzafers

Anyone managed to build for ios?

Stuck on:

Undefined symbols for architecture armv7:
  "_vlc_static_modules", referenced from:
      _module_LoadPlugins in libvlccore.a(bank.o)
ld: symbol(s) not found for architecture armv7
clang: error: linker command failed with exit code 1 (use -v to see invocation)

modricl avatar May 10 '17 07:05 modricl

I'm interested in using this approach on an iPhone/iOS as well.

Anyone any experiences with that? Got it working or gave up?

AndFod avatar Jun 27 '17 09:06 AndFod