Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt
  • Unsolved
Collapse
qtws26_logo

The Qt Event of the Year: Qt World Summit 2026

Save Your Spot >
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Any way of forcing uic "Invalid signal/slot connection" warnings into errors?
Qt 6.12 LTS is out! See what's new in the release blog

Any way of forcing uic "Invalid signal/slot connection" warnings into errors?

Scheduled Pinned Locked Moved Unsolved General and Desktop
2 Posts 2 Posters 480 Views
  • 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.
  • W Offline
    W Offline
    wrobelda
    wrote on last edited by
    #1

    As in the title, I am wondering if it is possible in any way to force uic to report the "Invalid signal/slot connection" warnings as errors.

    This warning was added relatively recently as part of PYSIDE-797:
    https://github.com/qt/qtbase/commit/5a5a96560e36af6b5d7ab375651b8c622bb5a7c3

    I believe that it should be reported as an Error, though, and I don't see an option to have uic report its warnings as such.

    BTW. this was asked before elsewhere: https://stackoverflow.com/questions/70262328/can-qts-moc-and-or-uic-be-made-to-treat-warnings-as-errors

    1 Reply Last reply
    0
    • Christian EhrlicherC Offline
      Christian EhrlicherC Offline
      Christian Ehrlicher
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Create a feature request in the bug tracker.

      Qt Online Installer direct download: https://download.qt.io/official_releases/online_installers/
      Visit the Qt Academy at https://academy.qt.io/catalog

      1 Reply Last reply
      0

      • Login

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt
      • Unsolved