[Qt-creator] Minimizing compile-time conditionals in Qt Creator

Diego Iastrubni diegoiast at gmail.com
Wed Aug 29 19:07:19 CEST 2012


On Tue, Aug 28, 2012 at 10:56 AM, Christian Kandeler <
christian.kandeler at nokia.com> wrote:

>      QStringList rc(QLatin1String(".svn"));
>      if (Utils::HostOsInfo::isWindowsHost())
>          rc.push_back(QLatin1String("_svn"));
>      return rc;
>

Please tell us that this method is static and the compiler knows how to
optimize it at compilation time and not in runtime.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/qt-creator/attachments/20120829/19b5a90d/attachment.html>


More information about the Qt-creator mailing list