zoukankan      html  css  js  c++  java
  • Qt学习之路,part1

    今天在学习  设置应用程序图标  的时候,要设置这个ico文件,误以为所有图片都可以,或者改后缀,事实证明,这个是不行的,以下是这个错误提示,

    windres: icon file `D:qtwenzong1013app.ico' does not contain icon data
    这个是比较主要的,意思就是説这个文件不符合条件。
    在这个网站http://www.bitbug.net/ 转换一下就好了。
    C:/Qt/Qt5.8.0/Tools/mingw530_32/bin/mingw32-make -f Makefile.Debug
    mingw32-make[1]: Entering directory 'D:ild-wenzong1013-Desktop_Qt_5_8_0_MinGW_32bit-Debug'
    windres -i wenzong1013_resource.rc -o debugwenzong1013_resource_res.o --include-dir=. -DUNICODE -DQT_DEPRECATED_WARNINGS -DQT_QML_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_NEEDS_QMAIN
    windres: icon file `D:qtwenzong1013app.ico' does not contain icon data
    Makefile.Debug:68: recipe for target 'debug/wenzong1013_resource_res.o' failed
    mingw32-make[1]: Leaving directory 'D:ild-wenzong1013-Desktop_Qt_5_8_0_MinGW_32bit-Debug'
    mingw32-make[1]: *** [debug/wenzong1013_resource_res.o] Error 1
    Makefile:34: recipe for target 'debug' failed
    mingw32-make: *** [debug] Error 2
    21:33:55: 进程"C:QtQt5.8.0Toolsmingw530_32inmingw32-make.exe"退出,退出代码 2 。
    Error while building/deploying project wenzong1013 (kit: Desktop Qt 5.8.0 MinGW 32bit)
    When executing step "Make"
    21:33:55: Elapsed time: 00:02.
  • 相关阅读:
    python字符串以单词形式反转
    python if 语句的练习
    Python对元祖的操作
    Python对列表的操作
    Python对字符串的操作
    导出EXCEL【Web方式HTML通过拼接html中table】
    链接点击跳动问题
    maven报uri is not registered错误
    maven配置
    三级分类的sql语句
  • 原文地址:https://www.cnblogs.com/wenzong/p/7663529.html
Copyright © 2011-2022 走看看