Comments (6)
是qt版本问题吗?
from playerdemo.
你这个不是c++11的问题,是qt没装好,或者编译环境没装好,你qt是什么版本
from playerdemo.
QMake version 3.0
Using Qt version 5.5.1 in /usr/lib/x86_64-linux-gnu
I try to install 5.9.7 however still can not compile through,
what is your environment?
sorry my Chinese input collapsed
from playerdemo.
我是在ubuntu1804下,Qt 5.9.6 (GCC 5.3.1, 64bit),直接用QtCreator打开编译的
编译之前你要先安装 FFmpeg 和 SDL2-dev,具体的你可以参考项目的 readme.md
你的报错信息里 connect编译不过,应该是老版本Qt不支持我这种写法,我用的connect方式比较新
from playerdemo.
我现在用改为了5.9.7但是还是这个/home/roy/delete/Media-player/playerdemo/playerdemo/videoctl.cpp:2039: error: no matching function for call to ‘VideoCtl::connect(VideoCtl*, void (VideoCtl::*)(), void (VideoCtl::*)())’ connect(this, &VideoCtl::SigStop, &VideoCtl::OnStop); ^
方程报错,能不能改为另外一个种方式,我qt不是很是懂
from playerdemo.
我重新编译了下,ubuntu 和 Windows 均无编译报错。
如果你实在编译不过,可以尝试 connect(this, &VideoCtl::SigStop, this, &VideoCtl::OnStop);
from playerdemo.
Related Issues (20)
- 无法启动 HOT 2
- api
- https://ffmpeg.zeranoe.com/builds/ 挂掉了
- Mac端编译运行后播放窗口是透明的,导入视频就闪退 HOT 3
- 编译错误
- 播放结束后,进度条上的时间还在增加
- 播放过程中,快进或快退后,视频播放会停止
- 请问Windows下怎么连接ffmpeg的动态库 HOT 1
- 视频去噪功能
- screen was not declared HOT 1
- 播放视频没声音
- 全屏后无法退出全屏状态 HOT 1
- 请问一下项目是如何解决窗口移动画面无法刷新的问题
- 声音与音量问题 HOT 2
- 点击停止播放按钮后软件异常退出 HOT 9
- macOS编译问题
- bin目录是在项目根目录下新建一个吗?没看到哪里有bin目录 HOT 2
- 新版的FFMPEG有许多api已经废弃了,能提供下项目内某些函数的思路嘛?
- 编译报错找不到avcodec-59.dll
- ffmpeg 库网站打不开
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from playerdemo.