<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <div class="moz-cite-prefix">Am 16.06.21 um 23:23 schrieb Giuseppe
      D'Angelo via Qt-creator:<br>
    </div>
    <blockquote type="cite"
      cite="mid:7e971cc8-58b5-a258-2f47-3209f3c94f4d@kdab.com">Hi,
      <br>
      <br>
      Il 16/06/21 22:24, ekke ha scritto:
      <br>
      <blockquote type="cite">How can I disable deprecation warnings
        altogether ?
        <br>
        <br>
        A workaround could be to disable them and only from time to time
        enable and check if there are deprecations to fix.
        <br>
        <br>
      </blockquote>
      <br>
      IIRC, by defining QT_NO_DEPRECATED_WARNINGS.
      <br>
      <br>
      HTH,
      <br>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <pre class="moz-quote-pre" wrap="">_______________________________________________
Qt-creator mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Qt-creator@qt-project.org">Qt-creator@qt-project.org</a>
<a class="moz-txt-link-freetext" href="https://lists.qt-project.org/listinfo/qt-creator">https://lists.qt-project.org/listinfo/qt-creator</a>
</pre>
    </blockquote>
    <p>THX - it works :)</p>
    <p>added to my .pro:
</p>
    <pre style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" color:#008000;">#</span><span style=" color:#c0c0c0;"> </span><span style=" color:#008000;">QT_NO_DEPRECATED_WARNINGS</span><span style=" color:#c0c0c0;"> </span><span style=" color:#008000;">will</span><span style=" color:#c0c0c0;"> </span><span style=" color:#008000;">show</span><span style=" color:#c0c0c0;"> </span><span style=" color:#008000;">no</span><span style=" color:#c0c0c0;"> </span><span style=" color:#008000;">deprecated</span><span style=" color:#c0c0c0;"> </span><span style=" color:#008000;">warnings</span></pre>
    <pre style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" color:#008000;">#</span><span style=" color:#c0c0c0;"> </span><span style=" color:#008000;">comment</span><span style=" color:#c0c0c0;"> </span><span style=" color:#008000;">out</span><span style=" color:#c0c0c0;"> </span><span style=" color:#008000;">and</span><span style=" color:#c0c0c0;"> </span><span style=" color:#008000;">build-clean-project</span><span style=" color:#c0c0c0;"> </span><span style=" color:#008000;">to</span><span style=" color:#c0c0c0;"> </span><span style=" color:#008000;">see</span><span style=" color:#c0c0c0;"> </span><span style=" color:#008000;">them</span><span style=" color:#c0c0c0;"> </span><span style=" color:#008000;">all</span></pre>
    <pre style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" color:#008000;">#</span><span style=" color:#c0c0c0;"> </span><span style=" color:#008000;">should</span><span style=" color:#c0c0c0;"> </span><span style=" color:#008000;">be</span><span style=" color:#c0c0c0;"> </span><span style=" color:#008000;">done</span><span style=" color:#c0c0c0;"> </span><span style=" color:#008000;">from</span><span style=" color:#c0c0c0;"> </span><span style=" color:#008000;">time</span><span style=" color:#c0c0c0;"> </span><span style=" color:#008000;">to</span><span style=" color:#c0c0c0;"> </span><span style=" color:#008000;">time</span></pre>
    <pre style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" color:#008000;">#</span><span style=" color:#c0c0c0;"> </span><span style=" color:#008000;">while</span><span style=" color:#c0c0c0;"> </span><span style=" color:#008000;">preparing</span><span style=" color:#c0c0c0;"> </span><span style=" color:#008000;">src</span><span style=" color:#c0c0c0;"> </span><span style=" color:#008000;">for</span><span style=" color:#c0c0c0;"> </span><span style=" color:#008000;">Qt6</span></pre>
    <pre style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" color:#800080;">DEFINES</span><span style=" color:#c0c0c0;"> </span>+=<span style=" color:#c0c0c0;"> </span>QT_NO_DEPRECATED_WARNINGS</pre>
    <p><style type="text/css">p, li { white-space: pre-wrap; }</style></p>
    <div class="moz-signature">ekke</div>
    <div class="moz-signature">
      <p style="margin-bottom: 0cm"><font ,="" face="Verdana, sans-serif" color="#808080">          </font>
        </p>
    </div>
  </body>
</html>