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

Build fails on svg/svggenerator example "AutoUic error"

    XMLWordPrintable

Details

    • All
    • 1165df7b6ee2eb7fdf37843b2fdf04eb75d04963 (qt/qtsvg/dev) f159d7cedce1a93b889ec8cd0532241b725b7cbd (qt/qtsvg/6.1)

    Description

      Use Qt6.1.0 beta2 binaries, gcc_64 used in test but reproduces in all other supported targets as well, and compile example svg/svggenerator. The 'cmake --build .' command fails with:

      07:41:20: Starting: "/opt/cmake-3.16.0-rc4/bin/cmake" --build . --target all
      [1/8 186.7/sec] Automatic MOC and UIC for target svggenerator
      FAILED: CMakeFiles/svggenerator_autogen svggenerator_autogen/mocs_compilation.cpp 
      cd /home/johanna/RTA/qt5/Examples/Qt-6.1.0/svg/build-svggenerator-Desktop_Qt_6_1_0_GCC_64bit-Debug && /opt/cmake-3.16.0-rc4/bin/cmake -E cmake_autogen /home/johanna/RTA/qt5/Examples/Qt-6.1.0/svg/build-svggenerator-Desktop_Qt_6_1_0_GCC_64bit-Debug/CMakeFiles/svggenerator_autogen.dir/AutogenInfo.json DebugAutoUic error
      -------------
      "SRC:/window.h"
      includes the uic file "ui_window.h",
      but the user interface file "window.ui"
      could not be found in the following directories
        "SRC:"ninja: build stopped: subcommand failed.
      07:41:20: The process "/opt/cmake-3.16.0-rc4/bin/cmake" exited with code 1.
      Error while building/deploying project svggenerator (kit: Desktop Qt 6.1.0 GCC 64bit)
      When executing step "Build"
      

      Attachments

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

        Activity

          People

            alexandru.croitor Alexandru Croitor
            joaijala Johanna Äijälä
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes