下载源码
git clone git://github.com/vlc-qt/vlc-qt.git
git submodule init
git submodule update
git submodule init
git submodule update
下载缺少的包
sudo apt-get install qtdeclarative5-dev libvlccore-dev libvlc-dev
编译
#mkdir build
#cd build
#cmake .. -DCMAKE_BUILD_TYPE=Debug
//#cmake ..
#make -j8
#make install
//#cmake ..
#make -j8
#make install
编译example
下载源码
#git clone
https://github.com/vlc-qt/examples.git
If you want to use CMake, you can delete
- simple-player.pro
- src/src.pro
If you want to use qmake, you can delete
- CMakeLists.txt
- cmake/*
- src/CMakeLists.txt
效果图
编译日期: 2018/01/29 16:55