Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. How to ignore all warnings in QT
Forum Update on Monday, May 27th 2025

How to ignore all warnings in QT

Scheduled Pinned Locked Moved Unsolved General and Desktop
3 Posts 3 Posters 216 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.
  • I Offline
    I Offline
    icebergenergy
    wrote on last edited by
    #1

    qt_creator.png

    Christian EhrlicherC 1 Reply Last reply
    0
    • C Offline
      C Offline
      ChrisW67
      wrote on last edited by
      #2

      Why would you want to do such a thing?

      The compiler is trying to protect you from common mistakes with unexpected or undefined consequences. Put in the suggested parentheses and:

      • The warning will go away
      • Your code will be be more robust as a bonus
      1 Reply Last reply
      3
      • I icebergenergy

        qt_creator.png

        Christian EhrlicherC Online
        Christian EhrlicherC Online
        Christian Ehrlicher
        Lifetime Qt Champion
        wrote on last edited by
        #3

        @icebergenergy I would rather fix the code instead

        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
        1

        • Login

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