首页 开发技术 C++     /    一种QImage加载大图片的解决方案

一种QImage加载大图片的解决方案

上传者: fregry10 | 上传时间:2024/4/28 8:30:48 | 文件大小:31KB | 文件类型:zip
一种QImage加载大图片的解决方案
解决QT大图片加载失败问题:QImage加载大图片时,malloc返回NULL,导致图片加载失败。
用QT4.8,高版本改改头文件就可以了。

文件下载

资源详情

[{"title":"(20个子文件31KB)一种QImage加载大图片的解决方案","children":[{"title":"imageviewer","children":[{"title":"imageviewer.pro.user.2.5pre1 <span style='color:#111;'>14.09KB</span>","children":null,"spread":false},{"title":"imageviewer.desktop <span style='color:#111;'>235B</span>","children":null,"spread":false},{"title":"imageviewer2.cpp <span style='color:#111;'>7.37KB</span>","children":null,"spread":false},{"title":"Makefile.Debug <span style='color:#111;'>11.32KB</span>","children":null,"spread":false},{"title":"imageviewer.h <span style='color:#111;'>3.09KB</span>","children":null,"spread":false},{"title":"qimagescrollarea.h <span style='color:#111;'>868B</span>","children":null,"spread":false},{"title":"qimagecontent.cpp <span style='color:#111;'>3.40KB</span>","children":null,"spread":false},{"title":"object_script.imageviewer.Release <span style='color:#111;'>286B</span>","children":null,"spread":false},{"title":"imageviewer.pro <span style='color:#111;'>1.03KB</span>","children":null,"spread":false},{"title":"imageviewer.pro.user <span style='color:#111;'>14.00KB</span>","children":null,"spread":false},{"title":"qimagescrollarea.cpp <span style='color:#111;'>4.02KB</span>","children":null,"spread":false},{"title":"Makefile.Release <span style='color:#111;'>11.49KB</span>","children":null,"spread":false},{"title":"main.cpp <span style='color:#111;'>2.29KB</span>","children":null,"spread":false},{"title":"qimagecontent.h <span style='color:#111;'>823B</span>","children":null,"spread":false},{"title":"object_script.imageviewer.Debug <span style='color:#111;'>266B</span>","children":null,"spread":false},{"title":"Makefile <span style='color:#111;'>5.99KB</span>","children":null,"spread":false},{"title":"QBmpLoader.h <span style='color:#111;'>1.85KB</span>","children":null,"spread":false},{"title":"imageviewer2.h <span style='color:#111;'>1.13KB</span>","children":null,"spread":false},{"title":"qbmploader.cpp <span style='color:#111;'>48.60KB</span>","children":null,"spread":false},{"title":"imageviewer.cpp <span style='color:#111;'>8.35KB</span>","children":null,"spread":false}],"spread":false}],"spread":true}]

评论信息

  • cxl20022002:
    意义不太大,谢谢2021-05-02
  • Jehovah_W:
    垃圾,QT5小图片都打不开,骗取2020-08-31
  • housanjz:
    谢谢分享!2020-02-10
  • zhshyg:
    谢谢分享!2019-05-28

免责申明

【好快吧下载】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【好快吧下载】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【好快吧下载】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,8686821#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明