我的主页

快递查询 :http://m.kuaidi100.com     爱快递查询 :http://www.aikuaidi.cn/              

http://www.qtcn.org/bbs/u/168050  [收藏] [复制]

w642833823

  • 9

    关注

  • 32

    粉丝

  • 30

    访客

  • 等级:新手上路
  • 总积分:41
  • 保密,2011-12-07

最后登录:2021-02-27

更多资料

日志

2021-01-26 10:32

原文出处:https://blog.csdn.net/nodeman/article/details/10646659
Android: https://blog.csdn.net/bobcat_kay/article/details/80889398
fmpeg各项库说明,及build.sh的shell相关命令说明:
https://blog.csdn.net/u014436704/article/details/106763235

ffmpeg----configure参数配置说明:

https://blog.csdn.net/nodeman/article/details/106466597
注意
configure会在控制台输出编译的配置信息,此时一定要认真查看一下里面的信息,特别警告信息,因为你配置的一些选项可能由于条件不满足configure会自动关闭的,或者你把–fatal-w ..

阅读全文»分类:QT|回复:0|浏览:104
2021-01-25 22:39

#如果是linux平台下linux{message("linux平台下");INCLUDEPATH += /usr/local/includeLIBS += -L"/usr/local/lib"LIBS += -lavcodec -lavdevice -lavfilter -lavformat -lavutil -lswresample -lswscale
}android{message("android平台下")}

INCLUDEPATH += $$PWD/ffmpeg/include
LIBS += $$PWD/ffmpeg/lib/libavcodec.so \ $$PWD/ffmpeg/lib/libavdevice.so \ $$PWD/ffmpeg/lib/libavfilter.so \ $$PWD/ffmpeg/lib/libavformat.so \ $$PWD/ffmpeg/lib/libavutil.so \ $$PWD/ffmpeg/lib/libswresample.so ..

阅读全文»分类:QT|回复:0|浏览:117
2021-01-24 21:19

ffmpeg -ss 00:00:30 -t 600 -i src.mp4 -codec copy out.mp4
这条命令可以从源文件src.mp4中剪切出一个视频片段,并存储成out.mp4

-ss表示 起始时间戳

-t表示 持续时间,单位为秒

-i表示 源文件名字,这里是

-codec copy 表示沿用原来的编码格式,out.mp4为目标文件的文件名

阅读全文»分类:FFmpeg|回复:0|浏览:62
2020-12-24 21:04

QTableWidget表头设置无效的原因



clear () // 清空表格中所有内容(包含表头)
clearContents () // 清空表格中的内容(不包含表头)。
ui->tableWidget->clearContents(); ui->tableWidget->horizontalHeader()->setStretchLastSection(true); // 最后一列伸缩铺满 ui->tableWidget->setSelectionBehavior(QAbstractItemView::SelectRows); ui->tableWidget->verticalHeader()->setVisible(false); //设置垂直头不可见 ui->tableWidget->setColumnCount(5); //禁止编辑 ui->tableWidget-> ..

阅读全文»分类:QT|回复:0|浏览:104
2020-10-13 09:12

bool bSupp = QSslSocket::supportsSsl(); QString buildVersion = QSslSocket::sslLibraryBuildVersionString(); QString version = QSslSocket::sslLibraryVersionString(); qDebug() << bSupp << buildVersion << version << endl; QMessageBox msgBox; msgBox.setText("当前QT版本支持OpenSSL:"+buildVersion+version); msgBox.exec();//查看当前网络请求支持协议 //qDebug()<<manager->supportedSchemes(); QStringList zhi=manager->supportedSchemes(); foreach(QString Ci,zhi) ..

阅读全文»分类:QT|回复:1|浏览:158
2020-09-22 14:12

//函数setAlignment()主要将是消除布局中的空隙,让两个控件紧紧挨在一起
ui->textEdit->setAlignment(Qt::AlignHCenter | Qt::AlignVCenter);
//隐藏横向滚动条
ui->textEdit->setHorizontalScrollBarPolicy(Qt::ScrollBarAlwaysOff);
//隐藏竖向滚动条
ui->textEdit->setVerticalScrollBarPolicy( Qt::ScrollBarAlwaysOff );

阅读全文»分类:QT|回复:0|浏览:154
2020-09-21 15:45

/设置动态背景图片
QString image_url=song_urll_list.at(index).image_url;
//为了不占空间所以不用这句song_info_list.at(index).songname而用song_url.song_name的目的数据会覆盖该隐形文件
//如果在手机上路径要改"./sdcard/.jpg"
QString file_path=QString("./.jpg").arg(song_url.song_name);
get_pixmap=new Get_Pixmap;

get_pixmap->getPixmap_File(file_path,image_url);
QString css=QString("background-image:url(./.jpg)").arg(song_url.song_name);
ui->lycwidget->s ..

阅读全文»分类:QT|回复:0|浏览:167
2020-09-21 12:17

//实现颜色随机
int R=qrand()%255;
int G=qrand()%255;
int B=qrand()%255;
if(m_lyric_list.size() <= 0 || m_iCurrentIndex >= m_lyric_list.size())
return;


for(int i = 0; i < m_lyric_list.size(); i++)
{

if(position > m_lyric_list.at(i).time)
{
m_iCurrentIndex = i;
}
}


if(position > m_lyric_list.at(m_iCurrentIndex).time)
{
QString lrc;
lrc.clear();
lrc += QString("<p align='center'><span style=' font-style:italic;color:green'>" ..

阅读全文»分类:QT|回复:0|浏览:159
2020-06-17 11:10

//数字大小写转换
QString Widget::numberToZh(int num)
{
QStringList zh = {"零","一","二","三","四","五","六","七","八","九","十"};
QString res = "";
if(num <= 10) {
res = zh;
} else if(num < 20) {
int bits = num % 10;
res = zh[10] + zh;
} else if(num < 100) {
int bits = num % 10;
int decade = num / 10;
if(bits == 0) {
res = zh + zh[10] + "整";
} else ..

阅读全文»分类:QT|回复:0|浏览:145
2020-05-25 15:22

//延时
void SLEEP::sleep(int sec)
{
    QTime dieTime = QTime::currentTime().addMSecs(sec);
    while( QTime::currentTime() < dieTime )
        QCoreApplication::processEvents(QEventLoop::AllEvents, 100);
}

阅读全文»分类:QT|回复:0|浏览:192

Powered by phpwind v8.7 Certificate Copyright Time now is:02-27 07:59
©2005-2016 QTCN开发网 版权所有 Gzip disabled