qt 局域网图像(json文件打包)传输


qt 局域网图像(json文件打包)传输
在本项目中,实现了一个纯QT版本的局域网 QTcpSocket的包含字符串和图像信息的json格式的文件传输。在json中可以标示该图像的大小,该图像的名称,以及发送该json数据的客户端想要服务器端做什么内容的标示信息等。https://blog.csdn.net/chuoji2469384644/article/details/105226313
资源截图
代码片段和文件信息
#include “widget.h“
#include 

int main(int argc char *argv[])
{
    QApplication a(argc argv);
    Widget w;
    w.show();

    return a.exec();
}

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----

     文件    4173928  2014-03-11 18:54  zhst2NJSclientin_debugD3Dcompiler_47.dll

     文件     113152  2018-01-16 20:10  zhst2NJSclientin_debugiconenginesqsvgicond.dll

     文件     107008  2018-01-16 19:45  zhst2NJSclientin_debugimageformatsqgifd.dll

     文件     131584  2018-01-16 20:11  zhst2NJSclientin_debugimageformatsqicnsd.dll

     文件     106496  2018-01-16 19:44  zhst2NJSclientin_debugimageformatsqicod.dll

     文件     534016  2018-01-16 19:45  zhst2NJSclientin_debugimageformatsqjpegd.dll

     文件      83456  2018-01-16 20:09  zhst2NJSclientin_debugimageformatsqsvgd.dll

     文件      84480  2018-01-16 20:10  zhst2NJSclientin_debugimageformatsqtgad.dll

     文件     795136  2018-01-16 20:10  zhst2NJSclientin_debugimageformatsqtiffd.dll

     文件      80896  2018-01-16 20:10  zhst2NJSclientin_debugimageformatsqwbmpd.dll

     文件    1094144  2018-01-16 20:11  zhst2NJSclientin_debugimageformatsqwebpd.dll

     文件      61440  2018-01-16 19:21  zhst2NJSclientin_debuglibEGLd.dll

     文件   11588608  2018-01-16 19:21  zhst2NJSclientin_debuglibGLESV2d.dll

     文件   20923392  2016-06-14 20:00  zhst2NJSclientin_debugopengl32sw.dll

     文件    3812864  2018-01-16 19:47  zhst2NJSclientin_debugplatformsqwindowsd.dll

     文件   13222912  2020-03-31 09:00  zhst2NJSclientin_debugQt5Cored.dll

     文件   13869568  2018-01-16 19:32  zhst2NJSclientin_debugQt5Guid.dll

     文件    3422720  2018-01-16 19:31  zhst2NJSclientin_debugQt5Networkd.dll

     文件     739840  2018-01-16 20:09  zhst2NJSclientin_debugQt5Svgd.dll

     文件   11732992  2018-01-16 19:40  zhst2NJSclientin_debugQt5Widgetsd.dll

     文件     160010  2020-03-31 09:00  zhst2NJSclientin_debug ranslationsqt_ar.qm

     文件     165327  2020-03-31 09:00  zhst2NJSclientin_debug ranslationsqt_bg.qm

     文件     179209  2020-03-31 09:00  zhst2NJSclientin_debug ranslationsqt_ca.qm

     文件     174691  2020-03-31 09:00  zhst2NJSclientin_debug ranslationsqt_cs.qm

     文件     169653  2020-03-31 09:00  zhst2NJSclientin_debug ranslationsqt_da.qm

     文件     187985  2020-03-31 09:00  zhst2NJSclientin_debug ranslationsqt_de.qm

     文件         23  2020-03-31 09:00  zhst2NJSclientin_debug ranslationsqt_en.qm

     文件     165160  2020-03-31 09:00  zhst2NJSclientin_debug ranslationsqt_es.qm

     文件     175523  2020-03-31 09:00  zhst2NJSclientin_debug ranslationsqt_fi.qm

     文件     166157  2020-03-31 09:00  zhst2NJSclientin_debug ranslationsqt_fr.qm

............此处省略137个文件信息

版权声明:本文内容由互联网用户自发贡献,该文观点仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容, 请发送邮件举报,一经查实,本站将立刻删除。

发表评论

评论列表(条)