<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#333333">
<br>
<br>
<div class="moz-cite-prefix">16.01.2017 19:04, Christian Kandeler
пишет:<br>
</div>
<blockquote cite="mid:2b879e54-0b76-a7d4-502d-e3b8f35f8259@qt.io"
type="cite">
<pre wrap="">Hi Pavel,
</pre>
<blockquote type="cite">
<pre wrap="">Today I went to QBS version 1.7.1 (previously 1.6.1)
When I build the project I began to receive the following message:
WARNING: Suspicious use of qbs.TextFile during property evaluation.
How can I remove/hide this warning?
</pre>
</blockquote>
<pre wrap="">
there is no way to switch off this particular warning, so you'd need to
suppress all non-error messages via the "-qq" (or by disabling "show
warnings" in the Qt Creator issues pane).</pre>
</blockquote>
This is not a good idea. How I then see compilation warnings?<br>
<blockquote cite="mid:2b879e54-0b76-a7d4-502d-e3b8f35f8259@qt.io"
type="cite"><br>
<blockquote type="cite">
<pre wrap="">In this case, I am quite
consciously call qbs.TextFile to calculate the value of the property. I
could use a 'probe', but at the 'project' level it can not be done.
</pre>
</blockquote>
<pre wrap="">
Project-level Probes will be possible in 1.8. Until then, you'll have to
live with the warning, unless you can move the respective property to a
module or product instead.
</pre>
</blockquote>
Well I will wait. Perhaps, I come back to version 1.6.1<br>
<blockquote cite="mid:2b879e54-0b76-a7d4-502d-e3b8f35f8259@qt.io"
type="cite">
<pre wrap="">
Christian
_______________________________________________
Qbs mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Qbs@qt-project.org">Qbs@qt-project.org</a>
<a class="moz-txt-link-freetext" href="http://lists.qt-project.org/mailman/listinfo/qbs">http://lists.qt-project.org/mailman/listinfo/qbs</a>
</pre>
</blockquote>
<br>
Pavel.<br>
<br>
</body>
</html>