[Interest] QML preprocessing
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
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Interest