Review Request 124595: Add macro to generate logging category declarations for Qt5.

Alex Merry alex.merry at kde.org
Sun Aug 16 21:34:19 UTC 2015



> On Aug. 16, 2015, 7:24 p.m., Alex Richardson wrote:
> > modules/ECMQtDeclareLoggingCategory.cmake, line 12
> > <https://git.reviewboard.kde.org/r/124595/diff/1/?file=389483#file389483line12>
> >
> >     maybe CATEGORY_NAME instead?

Hmm, now you mention it, CONFIG_NAME makes me think of the CMake build configuration type.


> On Aug. 16, 2015, 7:24 p.m., Alex Richardson wrote:
> > modules/ECMQtDeclareLoggingCategory.cpp, line 1
> > <https://git.reviewboard.kde.org/r/124595/diff/1/?file=389484#file389484line1>
> >
> >     Is this file supposed to be part of the commit?
> >     Seems to me like just the .in would be enough

Oops, not sure how those snuck in there.


- Alex


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://git.reviewboard.kde.org/r/124595/#review83897
-----------------------------------------------------------


On Aug. 3, 2015, 10:06 a.m., Alex Merry wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://git.reviewboard.kde.org/r/124595/
> -----------------------------------------------------------
> 
> (Updated Aug. 3, 2015, 10:06 a.m.)
> 
> 
> Review request for Extra Cmake Modules and David Faure.
> 
> 
> Repository: extra-cmake-modules
> 
> 
> Description
> -------
> 
> This makes life a bit easier for developers who use the categorised
> logging in Qt5 in the common case - rather than creating two new files,
> and remembering to put in the #ifdef for the default verbosity settings
> in Qt 5.4, they can just add a couple of lines to their CMakeLists.txt.
> 
> (NB: see https://codereview.qt-project.org/#/c/122641 for patch for the Qt bug mentioned in the docs).
> 
> 
> Diffs
> -----
> 
>   docs/module/ECMQtDeclareLoggingCategory.rst PRE-CREATION 
>   modules/ECMQtDeclareLoggingCategory.cmake PRE-CREATION 
>   modules/ECMQtDeclareLoggingCategory.cpp PRE-CREATION 
>   modules/ECMQtDeclareLoggingCategory.cpp.in PRE-CREATION 
>   modules/ECMQtDeclareLoggingCategory.h PRE-CREATION 
>   modules/ECMQtDeclareLoggingCategory.h.in PRE-CREATION 
>   tests/CMakeLists.txt 7960154a42ec083be61aec2bd066b072560beb61 
>   tests/ECMQtDeclareLoggingCategoryTest/CMakeLists.txt PRE-CREATION 
>   tests/ECMQtDeclareLoggingCategoryTest/testmain.cpp PRE-CREATION 
> 
> Diff: https://git.reviewboard.kde.org/r/124595/diff/
> 
> 
> Testing
> -------
> 
> Added unit test runs and passes. Documentation builds and looks sane.
> 
> 
> Thanks,
> 
> Alex Merry
> 
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-buildsystem/attachments/20150816/5cc655cc/attachment.html>


More information about the Kde-buildsystem mailing list