<feed xmlns='http://www.w3.org/2005/Atom'>
<title>extra-cmake-modules.git/kde-modules, branch v5.62.0-rc1</title>
<subtitle>hurd extra-cmake-modules.git</subtitle>
<link rel='alternate' type='text/html' href='https://netuse.dynamicmalloc.com/cgit/extra-cmake-modules.git/'/>
<entry>
<title>Keep 'lib' as default LIBDIR on Arch Linux based systems</title>
<updated>2019-08-28T05:45:20+00:00</updated>
<author>
<name>Antonio Rojas</name>
<email>arojas@archlinux.org</email>
</author>
<published>2019-08-28T05:45:20+00:00</published>
<link rel='alternate' type='text/html' href='https://netuse.dynamicmalloc.com/cgit/extra-cmake-modules.git/commit/?id=c806bd48a29fef3575891b78b06ed085d1bdfed1'/>
<id>c806bd48a29fef3575891b78b06ed085d1bdfed1</id>
<content type='text'>
Port of upstream commit https://gitlab.kitware.com/cmake/cmake/commit/18365587c86396f988e256b5acf4d2312f3be2bb

Differential Revision: https://phabricator.kde.org/D23497
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Port of upstream commit https://gitlab.kitware.com/cmake/cmake/commit/18365587c86396f988e256b5acf4d2312f3be2bb

Differential Revision: https://phabricator.kde.org/D23497
</pre>
</div>
</content>
</entry>
<entry>
<title>disable autouic again - it breaks builds</title>
<updated>2019-08-19T14:30:30+00:00</updated>
<author>
<name>Harald Sitter</name>
<email>sitter@kde.org</email>
</author>
<published>2019-08-19T13:59:37+00:00</published>
<link rel='alternate' type='text/html' href='https://netuse.dynamicmalloc.com/cgit/extra-cmake-modules.git/commit/?id=557e5d898bf95cfb999c1a0a4d9bd0c4bd5fe178'/>
<id>557e5d898bf95cfb999c1a0a4d9bd0c4bd5fe178</id>
<content type='text'>
Summary:
autouic (like automoc) assumes that every ui_*.h include statement it finds
relates to a .ui file that needs generating. this is not always true.

e.g. we have software which generates ui_debug.h which is simply
a qloggingcategory header for the UI category of that software which would
then trip up autouic because it would assume there's a .ui file when there
really isn't one.

unfortunately the ui_ assumption cannot be selectively disabled, so we
can't have explicit listing of .ui in source lists

```
set(foo_SRCS foo.cpp foo.ui)
```

without also getting the not particularly compatible include assumptions.
this should be revisited for kf6 since there isn't a technical need for
files to be called ui_*, they could just as well be *_ui or anything else
so as to not clash with autouic assumption.

autorcc does not suffer from this problem so we can leave it enabled, for
now anyway.

Test Plan: sonnet builds again

Reviewers: apol, nicolasfella, cullmann

Reviewed By: apol

Subscribers: kde-frameworks-devel, kde-buildsystem

Tags: #frameworks, #build_system

Differential Revision: https://phabricator.kde.org/D23262
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Summary:
autouic (like automoc) assumes that every ui_*.h include statement it finds
relates to a .ui file that needs generating. this is not always true.

e.g. we have software which generates ui_debug.h which is simply
a qloggingcategory header for the UI category of that software which would
then trip up autouic because it would assume there's a .ui file when there
really isn't one.

unfortunately the ui_ assumption cannot be selectively disabled, so we
can't have explicit listing of .ui in source lists

```
set(foo_SRCS foo.cpp foo.ui)
```

without also getting the not particularly compatible include assumptions.
this should be revisited for kf6 since there isn't a technical need for
files to be called ui_*, they could just as well be *_ui or anything else
so as to not clash with autouic assumption.

autorcc does not suffer from this problem so we can leave it enabled, for
now anyway.

Test Plan: sonnet builds again

Reviewers: apol, nicolasfella, cullmann

Reviewed By: apol

Subscribers: kde-frameworks-devel, kde-buildsystem

Tags: #frameworks, #build_system

Differential Revision: https://phabricator.kde.org/D23262
</pre>
</div>
</content>
</entry>
<entry>
<title>set autorcc and autouic by default</title>
<updated>2019-08-19T12:40:26+00:00</updated>
<author>
<name>Harald Sitter</name>
<email>sitter@kde.org</email>
</author>
<published>2019-07-29T11:44:10+00:00</published>
<link rel='alternate' type='text/html' href='https://netuse.dynamicmalloc.com/cgit/extra-cmake-modules.git/commit/?id=60ca1a27e53999721df1194813c9e670f6ffcc4a'/>
<id>60ca1a27e53999721df1194813c9e670f6ffcc4a</id>
<content type='text'>
Summary:
I couldn't find any pertinent discussion on the topic but some reviews I
stumbled over did set it on some of our application repos and also wonder
why we don't enable it by default.

autorcc allows more idiomatic use of qrc as they may be used like any
"ordinary" source file and cmake will know what to do with them (namely
compile into relevant cpp for inclusion in target) without the developer
having to worry about anything.

autouic does the same albeit for .ui files.

Test Plan: .qrc files can be added to src list variables and will get automatically generated into cpp files in the binary dir and built into the target

Reviewers: apol

Reviewed By: apol

Subscribers: cgiboudeaux, vkrause, kossebau, apol, kde-frameworks-devel, kde-buildsystem

Tags: #frameworks, #build_system

Differential Revision: https://phabricator.kde.org/D22805
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Summary:
I couldn't find any pertinent discussion on the topic but some reviews I
stumbled over did set it on some of our application repos and also wonder
why we don't enable it by default.

autorcc allows more idiomatic use of qrc as they may be used like any
"ordinary" source file and cmake will know what to do with them (namely
compile into relevant cpp for inclusion in target) without the developer
having to worry about anything.

autouic does the same albeit for .ui files.

Test Plan: .qrc files can be added to src list variables and will get automatically generated into cpp files in the binary dir and built into the target

Reviewers: apol

Reviewed By: apol

Subscribers: cgiboudeaux, vkrause, kossebau, apol, kde-frameworks-devel, kde-buildsystem

Tags: #frameworks, #build_system

Differential Revision: https://phabricator.kde.org/D22805
</pre>
</div>
</content>
</entry>
<entry>
<title>Define install location for JAR/AAR files for Android</title>
<updated>2019-08-15T16:23:51+00:00</updated>
<author>
<name>Volker Krause</name>
<email>vkrause@kde.org</email>
</author>
<published>2019-08-13T18:07:57+00:00</published>
<link rel='alternate' type='text/html' href='https://netuse.dynamicmalloc.com/cgit/extra-cmake-modules.git/commit/?id=6faff48245c213a472da2e28b2c9ece31177c682'/>
<id>6faff48245c213a472da2e28b2c9ece31177c682</id>
<content type='text'>
Summary:
This follows where Qt installs those, and thus androiddeployqt looks for
them. Currently this is hardcoded in knotifications for example, seems
cleaner to have this here.

Reviewers: #build_system, #android, apol

Reviewed By: #android, apol

Subscribers: apol, kde-frameworks-devel, kde-buildsystem

Tags: #frameworks, #build_system

Differential Revision: https://phabricator.kde.org/D23131
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Summary:
This follows where Qt installs those, and thus androiddeployqt looks for
them. Currently this is hardcoded in knotifications for example, seems
cleaner to have this here.

Reviewers: #build_system, #android, apol

Reviewed By: #android, apol

Subscribers: apol, kde-frameworks-devel, kde-buildsystem

Tags: #frameworks, #build_system

Differential Revision: https://phabricator.kde.org/D23131
</pre>
</div>
</content>
</entry>
<entry>
<title>Notify users when not using KDE_INSTALL_USE_QT_SYS_PATHS about prefix.sh</title>
<updated>2019-07-25T12:23:48+00:00</updated>
<author>
<name>Aleix Pol</name>
<email>aleixpol@kde.org</email>
</author>
<published>2019-07-25T12:23:44+00:00</published>
<link rel='alternate' type='text/html' href='https://netuse.dynamicmalloc.com/cgit/extra-cmake-modules.git/commit/?id=685959c3fa78a2c21c4ebb999de1831b9664e186'/>
<id>685959c3fa78a2c21c4ebb999de1831b9664e186</id>
<content type='text'>
Summary:
It's especially when KDE_INSTALL_USE_QT_SYS_PATHS=OFF that the different environment variables will have to be initialised.
This adds a message that should tell users about the script so they have a hint of what is going on.

Reviewers: #frameworks, albertvaka, cgiboudeaux

Reviewed By: albertvaka, cgiboudeaux

Subscribers: cgiboudeaux, albertvaka, kde-frameworks-devel, kde-buildsystem

Tags: #frameworks, #build_system

Differential Revision: https://phabricator.kde.org/D22580
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Summary:
It's especially when KDE_INSTALL_USE_QT_SYS_PATHS=OFF that the different environment variables will have to be initialised.
This adds a message that should tell users about the script so they have a hint of what is going on.

Reviewers: #frameworks, albertvaka, cgiboudeaux

Reviewed By: albertvaka, cgiboudeaux

Subscribers: cgiboudeaux, albertvaka, kde-frameworks-devel, kde-buildsystem

Tags: #frameworks, #build_system

Differential Revision: https://phabricator.kde.org/D22580
</pre>
</div>
</content>
</entry>
<entry>
<title>Provide a more sensible CMAKE_INSTALL_PREFIX default</title>
<updated>2019-07-23T13:55:33+00:00</updated>
<author>
<name>Aleix Pol</name>
<email>aleixpol@kde.org</email>
</author>
<published>2019-07-23T09:13:40+00:00</published>
<link rel='alternate' type='text/html' href='https://netuse.dynamicmalloc.com/cgit/extra-cmake-modules.git/commit/?id=d53f6e220d0d437925a818632ac84b606a740959'/>
<id>d53f6e220d0d437925a818632ac84b606a740959</id>
<content type='text'>
Summary: If no prefix is passed, use ECM's by default, instead of defaulting to /usr/local which isn't optimal in any case.

Reviewers: cgiboudeaux

Reviewed By: cgiboudeaux

Subscribers: cgiboudeaux, kde-frameworks-devel, kde-buildsystem

Tags: #frameworks, #build_system

Differential Revision: https://phabricator.kde.org/D22676
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Summary: If no prefix is passed, use ECM's by default, instead of defaulting to /usr/local which isn't optimal in any case.

Reviewers: cgiboudeaux

Reviewed By: cgiboudeaux

Subscribers: cgiboudeaux, kde-frameworks-devel, kde-buildsystem

Tags: #frameworks, #build_system

Differential Revision: https://phabricator.kde.org/D22676
</pre>
</div>
</content>
</entry>
<entry>
<title>Make the default build type "Debug" when compiling a git checkout.</title>
<updated>2019-07-23T10:46:05+00:00</updated>
<author>
<name>David Faure</name>
<email>faure@kde.org</email>
</author>
<published>2019-07-22T22:16:51+00:00</published>
<link rel='alternate' type='text/html' href='https://netuse.dynamicmalloc.com/cgit/extra-cmake-modules.git/commit/?id=a212a92190d4b85d9276af9ee70f66dd140fcdb0'/>
<id>a212a92190d4b85d9276af9ee70f66dd140fcdb0</id>
<content type='text'>
Summary:
The idea comes from
https://blog.kitware.com/cmake-and-the-default-build-type/
but I adapted it to leave it empty for tarballs, to avoid messing up
distribution packaging.

The goal is to make this more sensible for [new] developers who just
run cmake and end up with a "no debug symbols, no optimizations" build,
i.e. the one and only completely useless combination of those two flags.

Possible risk: distributions who compile from git checkouts...

Test Plan: "mkdir build ; cd build ; cmake .." in kblog leads to CMAKE_BUILD_TYPE=Debug

Reviewers: kde-buildsystem, cgiboudeaux

Reviewed By: cgiboudeaux

Subscribers: cgiboudeaux, apol, kde-frameworks-devel

Tags: #frameworks, #build_system

Differential Revision: https://phabricator.kde.org/D22667
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Summary:
The idea comes from
https://blog.kitware.com/cmake-and-the-default-build-type/
but I adapted it to leave it empty for tarballs, to avoid messing up
distribution packaging.

The goal is to make this more sensible for [new] developers who just
run cmake and end up with a "no debug symbols, no optimizations" build,
i.e. the one and only completely useless combination of those two flags.

Possible risk: distributions who compile from git checkouts...

Test Plan: "mkdir build ; cd build ; cmake .." in kblog leads to CMAKE_BUILD_TYPE=Debug

Reviewers: kde-buildsystem, cgiboudeaux

Reviewed By: cgiboudeaux

Subscribers: cgiboudeaux, apol, kde-frameworks-devel

Tags: #frameworks, #build_system

Differential Revision: https://phabricator.kde.org/D22667
</pre>
</div>
</content>
</entry>
<entry>
<title>Create specific directory for Qt logging categories file</title>
<updated>2019-05-31T14:55:38+00:00</updated>
<author>
<name>Laurent Montel</name>
<email>montel@kde.org</email>
</author>
<published>2019-05-31T14:55:24+00:00</published>
<link rel='alternate' type='text/html' href='https://netuse.dynamicmalloc.com/cgit/extra-cmake-modules.git/commit/?id=0c95c9f799cd5cfc5b36ae34ea7fceda13d14c0e'/>
<id>0c95c9f799cd5cfc5b36ae34ea7fceda13d14c0e</id>
<content type='text'>
Summary: kdebugsettings categories files

Reviewers: dfaure, cgiboudeaux

Reviewed By: cgiboudeaux

Subscribers: kossebau, kde-frameworks-devel, kde-buildsystem

Tags: #frameworks, #build_system

Differential Revision: https://phabricator.kde.org/D21313
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Summary: kdebugsettings categories files

Reviewers: dfaure, cgiboudeaux

Reviewed By: cgiboudeaux

Subscribers: kossebau, kde-frameworks-devel, kde-buildsystem

Tags: #frameworks, #build_system

Differential Revision: https://phabricator.kde.org/D21313
</pre>
</div>
</content>
</entry>
<entry>
<title>Don't enable QT_STRICT_ITERATORS on Windows.</title>
<updated>2019-05-22T07:49:48+00:00</updated>
<author>
<name>David Faure</name>
<email>faure@kde.org</email>
</author>
<published>2019-05-21T07:30:05+00:00</published>
<link rel='alternate' type='text/html' href='https://netuse.dynamicmalloc.com/cgit/extra-cmake-modules.git/commit/?id=79665b067c9dd6344b84dd1b72afae401608fd87'/>
<id>79665b067c9dd6344b84dd1b72afae401608fd87</id>
<content type='text'>
Summary:
Strict iterators can't be used on Windows, they lead to a link error
when application code iterates over a QVector&lt;QPoint&gt; for instance, unless
Qt itself was also built with strict iterators.
See example at https://bugreports.qt.io/browse/AUTOSUITE-946

Technically this would be fine for mingw, but not for MSVC neither
clang-cl (which also uses the MSVC ABI). I think it's fine to just
disable it for all Windows compilers, since any iterators misuse
will be detected on Unix anyway.

Test Plan: None, I'm relying on Volker's findings.

Reviewers: vkrause, dvratil

Reviewed By: dvratil

Subscribers: apol, kde-frameworks-devel, kde-buildsystem

Tags: #frameworks, #build_system

Differential Revision: https://phabricator.kde.org/D21314
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Summary:
Strict iterators can't be used on Windows, they lead to a link error
when application code iterates over a QVector&lt;QPoint&gt; for instance, unless
Qt itself was also built with strict iterators.
See example at https://bugreports.qt.io/browse/AUTOSUITE-946

Technically this would be fine for mingw, but not for MSVC neither
clang-cl (which also uses the MSVC ABI). I think it's fine to just
disable it for all Windows compilers, since any iterators misuse
will be detected on Unix anyway.

Test Plan: None, I'm relying on Volker's findings.

Reviewers: vkrause, dvratil

Reviewed By: dvratil

Subscribers: apol, kde-frameworks-devel, kde-buildsystem

Tags: #frameworks, #build_system

Differential Revision: https://phabricator.kde.org/D21314
</pre>
</div>
</content>
</entry>
<entry>
<title>Unconditionally enable -DQT_STRICT_ITERATORS, not just in debug mode</title>
<updated>2019-04-07T17:00:28+00:00</updated>
<author>
<name>David Faure</name>
<email>faure@kde.org</email>
</author>
<published>2019-04-07T13:18:52+00:00</published>
<link rel='alternate' type='text/html' href='https://netuse.dynamicmalloc.com/cgit/extra-cmake-modules.git/commit/?id=9b0df10c7d1ee449237a6187049408743308a302'/>
<id>9b0df10c7d1ee449237a6187049408743308a302</id>
<content type='text'>
Summary:
It turns out QT_STRICT_ITERATORS does not introduce any
overhead (they are inlined so everything gets optimized), confirmed by
Dan comparing the produced assembly in Compiler Explorer.

Reviewers: dvratil, mlaurent, aacid

Reviewed By: aacid

Subscribers: aacid, kde-buildsystem, kde-frameworks-devel

Tags: #frameworks, #build_system

Differential Revision: https://phabricator.kde.org/D20349
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Summary:
It turns out QT_STRICT_ITERATORS does not introduce any
overhead (they are inlined so everything gets optimized), confirmed by
Dan comparing the produced assembly in Compiler Explorer.

Reviewers: dvratil, mlaurent, aacid

Reviewed By: aacid

Subscribers: aacid, kde-buildsystem, kde-frameworks-devel

Tags: #frameworks, #build_system

Differential Revision: https://phabricator.kde.org/D20349
</pre>
</div>
</content>
</entry>
</feed>
