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. [Solved] qmake-generated Makefiles contain unuseable relative path to rcc.exe
Forum Updated to NodeBB v4.3 + New Features

[Solved] qmake-generated Makefiles contain unuseable relative path to rcc.exe

Scheduled Pinned Locked Moved General and Desktop
2 Posts 1 Posters 3.2k 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.
  • J Offline
    J Offline
    JKSH
    Moderators
    wrote on 11 Oct 2012, 08:15 last edited by
    #1

    Hi all,

    I'm on Windows 7, using MinGW from QtSDK 1.2.1, pre-built Qt 4.8.3, and pre-built Qt Creator 2.5.2. None of these are in my PATH, but I manually set them up in Qt Creator.

    In qmake's output Makefiles, the following tools are located via their absolute paths ("C:\Qt\4.8.3\bin<tool.exe>"): qmake.exe, idc.exe, moc.exe, uic.exe

    However, rcc.exe is located via a relative path: "bin\rcc.exe". This causes compilation to fail, as rcc.exe is definitely not in my build directory! It works if I manually compile my .qrc files, or if I manually write "C:\Qt\4.8.3\bin\rcc.exe" into the Makefile. My projects that don't use .qrc files also build fine.

    Is this a bug in qmake, or in the way I set up my build environment?

    Qt Doc Search for browsers: forum.qt.io/topic/35616/web-browser-extension-for-improved-doc-searches

    1 Reply Last reply
    0
    • J Offline
      J Offline
      JKSH
      Moderators
      wrote on 13 Oct 2012, 07:27 last edited by
      #2

      Looks like it's been reported and fixed: https://bugreports.qt-project.org/browse/QTBUG-27244

      Qt Doc Search for browsers: forum.qt.io/topic/35616/web-browser-extension-for-improved-doc-searches

      1 Reply Last reply
      0

      1/2

      11 Oct 2012, 08:15

      • Login

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