RSATom / QmlVlc

[ABANDONED] libvlc wrapper for Qt Quick 2/Qml
Other
139 stars 56 forks source link

Compile QmlVlc for iOS Devices #20

Open julienchevet opened 10 years ago

julienchevet commented 10 years ago

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

RSATom commented 10 years ago

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)

mzafers commented 9 years ago

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?

RSATom commented 9 years ago

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

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

mzafers commented 8 years ago

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

RSATom commented 8 years ago

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

mpeniak commented 7 years ago

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

mzafers commented 7 years ago

Sorry, I didn't try QmlVlc on IOS.

modricl commented 7 years ago

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)
AndFod commented 7 years ago

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

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