Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-93563

[REG] qmake: Cannot locate rcc when using Qt Quick Compiler

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P2: Important
    • Resolution: Done
    • Affects Version/s: 6.1.0
    • Fix Version/s: 6.1.1, 6.2.0 Alpha
    • Component/s: Build tools: qmake
    • Labels:
      None
    • Platform/s:
      Linux/X11
    • Commits:
      55fafd69156cd1843895d94f718235d20e76b486 (qt/qtdeclarative/dev) 12a14164a7a71a72d103824dd377c61915866a10 (qt/qtdeclarative/6.1)

      Description

      qmake fails to locate rcc when trying to build a QML Project that uses Qt Quick Compiler (CONFIG += qtquickcompiler)

      Reproduction steps:

      1. Open Qt Creator
      2. Create a new blank QML application using qmake (using Qt 6.1 as a Kit)
      3. Add CONFIG += qtquickcompiler to the quick file
      4. Now build the project and you will notice an error message like this:
      09:34:13: Starting: "$QTDIR/6.1.0/gcc_64/bin/qmake" $PROJECTDIR/$PROJECT.pro -spec linux-g++ CONFIG+=debug CONFIG+=qml_debug
      sh: 1: $QTDIR/6.1.0/gcc_64/bin/rcc: not found
      

      You can work around it by creating a soft link from libexec/rcc where the tool resides now, to bin/rcc.

        Attachments

        For Gerrit Dashboard: QTBUG-93563
        # Subject Branch Project Status CR V

          Activity

            People

            Assignee:
            kkohne Kai Köhne
            Reporter:
            max.goldstein Maximilian Goldstein
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes