ubuntu20.04.6下运行VLC-Qt例子simple-player

下载examples-master.zip(https://github.com/vlc-qt/examples),编译运行simple-player

参考链接:

https://blog.csdn.net/szn1316159505/article/details/143743735

本文运行环境

Qt 5.15.2

Qt creator 5.0.2

主要步骤:

1,安装VLC

2,下载vlc-qt-master.zip,编译安装vlc-qt

(前提:sudo apt-get install qtdeclarative5-dev ,sudo apt-get install libvlc-dev libvlccore-dev)

3,simple-player.pro, 添加以下配置:

LIBS += -L/usr/local/lib/ -lVLCQtCore -lVLCQtWidgets

INCLUDEPATH += /usr/local/include

DEPENDPATH += /usr/local/include

4,qtcreator打开simple-player.pro,编译运行,ok

相关推荐
问简16 分钟前
【ubuntu】在 Ubuntu 26 上屏蔽 Windows 盘
ubuntu
程曦曦1 小时前
MySQL 生产库误删 98 张表后的时间点恢复实战:从 binlog 解析到资金对账
linux·数据结构·其他·算法·ubuntu·运维开发
程序员大阳5 小时前
使用Putty登录阿里云Ubuntu ECS服务器方法
ubuntu·云计算·ssh·ecs·putty
网硕互联的小客服6 小时前
如何在Ubuntu系统上查看和刷新DNS缓存?操作方法与原理解析
运维·服务器·网络·ubuntu
八年。。6 小时前
WSL学习(三)——搭建Linux + C++ + SOME/IP 基础开发环境
开发语言·笔记·ubuntu
星间都市山脉1 天前
Android16 SystemService.onBootPhase 调用时机
android·java·linux·windows·ubuntu
余生爱静1 天前
从零搭建 SIP 全栈通话系统:SIP 协议 + PJSIP + Asterisk + Android 实战
ubuntu·pjsip
猿与禅2 天前
Linux(Ubuntu)入门到实战:系统管理、常用命令与权限体系完整指南
linux·ubuntu·apt·进程管理·系统运维·用户权限·vi/vim
cui_hao_nan2 天前
从零搭建 Kubernetes 集群:Ubuntu + kubeadm 完整实战
ubuntu·容器·kubernetes
金色熊族2 天前
windows11 + wsl2 上安装ubuntu20.04
ubuntu·windows11·wsl2