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

Example not compiling due 'AutoUic error'

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Reported
    • Priority: P2: Important
    • Resolution: Unresolved
    • Affects Version/s: 6.0.0 Beta3, 6.0.0 Alpha, 6.0.0 Beta2
    • Fix Version/s: None
    • Component/s: Build System: CMake
    • Labels:
    • Environment:
      Tested on Ubuntu 20.04 x64
      CMake 3.18.3

      Description

      Example fails to build:

      Examples/Qt-6.0.0/network/torrent

      Build fails with:

      [  5%] Automatic MOC and UIC for target torrent
      AutoUic error
      -------------
      "SRC:/addtorrentdialog.h"
      includes the uic file "ui_addtorrentform.h",
      but the user interface file "addtorrentform.ui"
      could not be found in the following directories
        "SRC:"
      make[2]: *** [CMakeFiles/torrent_autogen.dir/build.make:77: CMakeFiles/torrent_autogen] Error 1
      make[1]: *** [CMakeFiles/Makefile2:123: CMakeFiles/torrent_autogen.dir/all] Error 2
      make: *** [Makefile:149: all] Error 2
      

      SHA1: ca02358af27b458739cba29086ff6ad19196d431

        Attachments

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

          Activity

            People

            Assignee:
            qtbuildsystem Qt Build System Team
            Reporter:
            joaijala Johanna Äijälä
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Dates

              Created:
              Updated:

                Gerrit Reviews

                There are no open Gerrit changes