Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. How solve error: [release/application_res.o] Error 1?
Forum Updated to NodeBB v4.3 + New Features

How solve error: [release/application_res.o] Error 1?

Scheduled Pinned Locked Moved Solved General and Desktop
3 Posts 2 Posters 4.5k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • D Offline
    D Offline
    Delta12
    wrote on last edited by
    #1

    Hi,
    sorry for my english.
    i wrote an application with qt 5.3. After a year i'm trying to change it and rebuild with qt 5.7 and MinGw 5.3 32bit.
    When i try to buil it give me this error:

    10:36:14: Starting: "C:\Qt\Qt5.7.0\Tools\mingw530_32\bin\mingw32-make.exe"
    C:/Qt/Qt5.7.0/Tools/mingw530_32/bin/mingw32-make -f Makefile.Release
    mingw32-make[1]: Entering directory 'C:/Qt/Progetti/ProgrammaTexstyle/build-untitled-Desktop_Qt_5_7_0_MinGW_32bit-Release'
    windres -i ....\Texstyle\application.rc -o release\application_res.o --include-dir=./../../Texstyle -DUNICODE -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_SQL_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_NEEDS_QMAIN
    windres: can't open icon file `icone/tex.ico': No such file or directory
    Makefile.Release:124: recipe for target 'release/application_res.o' failed
    mingw32-make[1]: *** [release/application_res.o] Error 1
    mingw32-make[1]: Leaving directory 'C:/Qt/Progetti/ProgrammaTexstyle/build-untitled-Desktop_Qt_5_7_0_MinGW_32bit-Release'
    Makefile:34: recipe for target 'release' failed
    mingw32-make: *** [release] Error 2
    10:36:15: The process "C:\Qt\Qt5.7.0\Tools\mingw530_32\bin\mingw32-make.exe" exited with code 2.
    Error while building/deploying project untitled (kit: Desktop Qt 5.7.0 MinGW 32bit)
    When executing step "Make"

    Someone knows how to fix it?

    Thanks a lot
    Riccardo

    1 Reply Last reply
    0
    • mrjjM Offline
      mrjjM Offline
      mrjj
      Lifetime Qt Champion
      wrote on last edited by mrjj
      #2

      Hi
      It (could) means that in the qres file, its mentioned `icone/tex.ico'
      but it cannot find the real file.
      So just open the qres and remove it.
      Then make sure to run qmake.
      If the real file is really there, sometimes remove and adding it again also makes it happy.

      1 Reply Last reply
      2
      • D Offline
        D Offline
        Delta12
        wrote on last edited by
        #3

        Solved! Thaks a lot!
        I've restored the icon in the right folder and now it build...

        1 Reply Last reply
        1

        • Login

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • Users
        • Groups
        • Search
        • Get Qt Extensions
        • Unsolved