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

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

    XMLWordPrintable

Details

    • Linux/X11
    • 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

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            kkohne Kai Köhne
            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