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. Unable to build same project under Windows 7 as on Windows 8.1
Qt 6.11 is out! See what's new in the release blog

Unable to build same project under Windows 7 as on Windows 8.1

Scheduled Pinned Locked Moved General and Desktop
1 Posts 1 Posters 738 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.
  • W Offline
    W Offline
    wilhelmsen
    wrote on last edited by
    #1

    I have been working on a application from Windows 7 that should also work on Windows 8.1. I am able to run my executable on the Windows 8.1 computer, but running it under Qt Creator fails because I cannot compile it, I get these errors:

    bq. unrecognized escape sequence
    [debug/obj/application_res.o] Error 1.

    My compile output:

    bq. application.rc:1: unrecognized escape sequence
    windres: can't open icon file `images\icon.ico': No such file or directory
    Makefile.Debug:159: recipe for target 'debug/obj/application_res.o' failed
    mingw32-make[1]: *** [debug/obj/application_res.o] Error 1
    mingw32-make[1]: Leaving directory 'C:/Qt/desktop_2/gui'
    mingw32-make: *** [debug] Error 2
    makefile:34: recipe for target 'debug' failed
    13:44:22: The process "C:\Qt\Qt5.2.0\Tools\mingw48_32\bin\mingw32-make.exe" exited with code 2.
    Error while building/deploying project production_test_util (kit: Desktop Qt 5.2.0 MinGW 32bit)
    When executing step 'Make'

    In my application.rc it complains about the line @0 ICON "images\icon.ico@

    whereas this is not the case on my Win7 computer. The error is removed if I escape the backslash tho, but what can I do about the

    bq. makefile:34: recipe for target 'debug' failed

    error? The SDK (5.2.0) version and the Creator version is the same on both computers. The project is identical, whereas I just check out my whole svn repo.

    1 Reply Last reply
    0

    • Login

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