[Interest] QML preprocessing

Tomasz Olszak olszak.tomasz at gmail.com
Wed Apr 24 20:17:16 CEST 2019

I assume you don't use LoggingCategory.

śr., 24 kwi 2019, 18:56 użytkownik Alexander Ivash <elderorb at gmail.com>

> I understand that this topic was raised a lot of times and that this
> is not QML-way. But, what options do I have in case of requirements to
> eliminate all the logging for release builds?
> Is there any hidden magic in qmake, like 'QMAKE_SUBSTITUTES' but more
> flexible to substitute all the 'console.debug....' with '//
> console.debug' right before adding qml into resources?
> p.s. Yea, I'm aware of selectors, but would like to avoid having both
> component-with-logging.qml and component-with-no-logging.qml
> Regards, Alexander
> _______________________________________________
> Interest mailing list
> Interest at qt-project.org
> https://lists.qt-project.org/listinfo/interest
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20190424/9947e6c2/attachment.html>

More information about the Interest mailing list