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. Inline warning with Qt-5.15
Forum Updated to NodeBB v4.3 + New Features

Inline warning with Qt-5.15

Scheduled Pinned Locked Moved Solved General and Desktop
4 Posts 3 Posters 481 Views 1 Watching
  • 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.
  • L Offline
    L Offline
    leinad
    wrote on last edited by aha_1980
    #1

    Hi,

    In QtCreator with version 5.15 I get these inline errors which I didn't with 5.12 and prior:

    C:\Qt-development\TODD2\advancefilterworker.cpp:349: warning: C4714: function 'QString QStringView::arg<const QString&,const QString&>(const QString &,const QString &) const' marked as __forceinline not inlined

    C:\Qt\5.15.0\msvc2015_64\include\QtCore\qstringview.h:231: see declaration of 'QStringView::arg'

    I have the following compiler flag set:
    QMAKE_CXXFLAGS_WARN_ON += -W4

    If I comment out the flag, the warnings are gone. I'd like to keep the flag. What do I need to do to get rid of the warnings?

    Thanks,
    Dan

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

      @leinad said in Inline warning wit Qt-5.15:

      What do I need to do to get rid of the warnings?

      Fix Qt and / or write a bug report about it.

      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
      • L Offline
        L Offline
        leinad
        wrote on last edited by
        #3

        Opened a ticket. I guess nothing more to do for now.

        1 Reply Last reply
        0
        • SGaistS Offline
          SGaistS Offline
          SGaist
          Lifetime Qt Champion
          wrote on last edited by
          #4

          Hi,

          Can you share the link to the ticket ?

          Interested in AI ? www.idiap.ch
          Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

          1 Reply Last reply
          2

          • Login

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