Git Product home page Git Product logo

Comments (6)

royaalto avatar royaalto commented on August 22, 2024

是qt版本问题吗?

from playerdemo.

itisyang avatar itisyang commented on August 22, 2024

你这个不是c++11的问题,是qt没装好,或者编译环境没装好,你qt是什么版本

from playerdemo.

royaalto avatar royaalto commented on August 22, 2024

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.

itisyang avatar itisyang commented on August 22, 2024

我是在ubuntu1804下,Qt 5.9.6 (GCC 5.3.1, 64bit),直接用QtCreator打开编译的
编译之前你要先安装 FFmpeg 和 SDL2-dev,具体的你可以参考项目的 readme.md
你的报错信息里 connect编译不过,应该是老版本Qt不支持我这种写法,我用的connect方式比较新

from playerdemo.

royaalto avatar royaalto commented on August 22, 2024

我现在用改为了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.

itisyang avatar itisyang commented on August 22, 2024

我重新编译了下,ubuntu 和 Windows 均无编译报错。
如果你实在编译不过,可以尝试 connect(this, &VideoCtl::SigStop, this, &VideoCtl::OnStop);

from playerdemo.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.