Inline warning with Qt-5.15
-
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 += -W4If 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 -
@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.
-
Hi,
Can you share the link to the ticket ?