<feed xmlns='http://www.w3.org/2005/Atom'>
<title>extra-cmake-modules.git/toolchain, branch v5.38.0-rc2</title>
<subtitle>hurd extra-cmake-modules.git</subtitle>
<link rel='alternate' type='text/html' href='https://dynamicmalloc.com/cgit/extra-cmake-modules.git/'/>
<entry>
<title>Add --gradle to androiddeployqt</title>
<updated>2017-08-02T18:41:22+00:00</updated>
<author>
<name>Albert Astals Cid</name>
<email>aacid@kde.org</email>
</author>
<published>2017-08-02T18:41:22+00:00</published>
<link rel='alternate' type='text/html' href='https://dynamicmalloc.com/cgit/extra-cmake-modules.git/commit/?id=165465ee7116bbbd8c0dd2ae04c2037c45f208a8'/>
<id>165465ee7116bbbd8c0dd2ae04c2037c45f208a8</id>
<content type='text'>
Otherwise when trying to build with the newest Qt/android toolchains it
fails

Differential Revision: https://phabricator.kde.org/D6875
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Otherwise when trying to build with the newest Qt/android toolchains it
fails

Differential Revision: https://phabricator.kde.org/D6875
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix install apk target</title>
<updated>2017-08-02T18:40:55+00:00</updated>
<author>
<name>Albert Astals Cid</name>
<email>aacid@kde.org</email>
</author>
<published>2017-08-02T18:40:09+00:00</published>
<link rel='alternate' type='text/html' href='https://dynamicmalloc.com/cgit/extra-cmake-modules.git/commit/?id=b4f37c8fe172a9eba7e950eb7c74e90e17939afe'/>
<id>b4f37c8fe172a9eba7e950eb7c74e90e17939afe</id>
<content type='text'>
Differential Revision: https://phabricator.kde.org/D6876
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Differential Revision: https://phabricator.kde.org/D6876
</pre>
</div>
</content>
</entry>
<entry>
<title>Properly point at ECM</title>
<updated>2017-07-13T16:46:16+00:00</updated>
<author>
<name>Aleix Pol</name>
<email>aleixpol@kde.org</email>
</author>
<published>2017-07-13T16:46:16+00:00</published>
<link rel='alternate' type='text/html' href='https://dynamicmalloc.com/cgit/extra-cmake-modules.git/commit/?id=1e3d961c009112ba215ca8d7cd3daf1383030045'/>
<id>1e3d961c009112ba215ca8d7cd3daf1383030045</id>
<content type='text'>
Fix typo
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fix typo
</pre>
</div>
</content>
</entry>
<entry>
<title>Android: scan for qml files in the source dir, not in the install dir.</title>
<updated>2017-07-08T10:52:07+00:00</updated>
<author>
<name>David Faure</name>
<email>faure@kde.org</email>
</author>
<published>2017-07-02T08:24:36+00:00</published>
<link rel='alternate' type='text/html' href='https://dynamicmalloc.com/cgit/extra-cmake-modules.git/commit/?id=bcf2bcf39b44cd1eecbcce5b99124b950eb39cfc'/>
<id>bcf2bcf39b44cd1eecbcce5b99124b950eb39cfc</id>
<content type='text'>
Summary:
When the QML files are all bundled into a .qrc file, they don't get
copied to the install dir, which would lead to qmlimportscanner not picking
up the dependencies (e.g. QtQuick Controls) for android packaging.

Looking at commit 1b0496d, I wonder if maybe we should be able to specify
two paths to look into? But qmlimportscanner doesn't support that, does it?

Test Plan:
using this toolchain for a basic QtQuick2 app created from a
QtCreator template, with Qt Quick Controls support, and QML files
in a Qt resource.

Reviewers: apol, mart

Reviewed By: apol

Subscribers: #build_system, #frameworks

Tags: #frameworks, #build_system

Differential Revision: https://phabricator.kde.org/D6466
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Summary:
When the QML files are all bundled into a .qrc file, they don't get
copied to the install dir, which would lead to qmlimportscanner not picking
up the dependencies (e.g. QtQuick Controls) for android packaging.

Looking at commit 1b0496d, I wonder if maybe we should be able to specify
two paths to look into? But qmlimportscanner doesn't support that, does it?

Test Plan:
using this toolchain for a basic QtQuick2 app created from a
QtCreator template, with Qt Quick Controls support, and QML files
in a Qt resource.

Reviewers: apol, mart

Reviewed By: apol

Subscribers: #build_system, #frameworks

Tags: #frameworks, #build_system

Differential Revision: https://phabricator.kde.org/D6466
</pre>
</div>
</content>
</entry>
<entry>
<title>scan the whole install folder for qml dependencies</title>
<updated>2017-06-05T15:03:36+00:00</updated>
<author>
<name>Marco Martin</name>
<email>notmart@gmail.com</email>
</author>
<published>2017-06-05T14:54:37+00:00</published>
<link rel='alternate' type='text/html' href='https://dynamicmalloc.com/cgit/extra-cmake-modules.git/commit/?id=1b0496d05987a7df6c8c4c51f1dfdd0e24eeb0f9'/>
<id>1b0496d05987a7df6c8c4c51f1dfdd0e24eeb0f9</id>
<content type='text'>
Summary:
set qml-root-path as the root install folder
of the application, as is used to scan for
import dependencies, and both qml files in share should be scanned
as well as other qml imports that may be installed in /lib

Test Plan: kirigami gallery deployment has again all the needed dependencies

Reviewers: apol

Reviewed By: apol

Subscribers: #frameworks, #build_system

Tags: #frameworks, #build_system

Differential Revision: https://phabricator.kde.org/D6103
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Summary:
set qml-root-path as the root install folder
of the application, as is used to scan for
import dependencies, and both qml files in share should be scanned
as well as other qml imports that may be installed in /lib

Test Plan: kirigami gallery deployment has again all the needed dependencies

Reviewers: apol

Reviewed By: apol

Subscribers: #frameworks, #build_system

Tags: #frameworks, #build_system

Differential Revision: https://phabricator.kde.org/D6103
</pre>
</div>
</content>
</entry>
<entry>
<title>Improve error messages</title>
<updated>2017-03-17T16:17:22+00:00</updated>
<author>
<name>Aleix Pol</name>
<email>aleixpol@kde.org</email>
</author>
<published>2017-03-17T16:17:22+00:00</published>
<link rel='alternate' type='text/html' href='https://dynamicmalloc.com/cgit/extra-cmake-modules.git/commit/?id=d3feb0a9821cd0f2d2a87e6717a2710613d0ecf3'/>
<id>d3feb0a9821cd0f2d2a87e6717a2710613d0ecf3</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Specify qml-root-path as the share directory in the prefix</title>
<updated>2017-03-16T14:11:55+00:00</updated>
<author>
<name>Aleix Pol</name>
<email>aleixpol@kde.org</email>
</author>
<published>2017-03-16T02:31:12+00:00</published>
<link rel='alternate' type='text/html' href='https://dynamicmalloc.com/cgit/extra-cmake-modules.git/commit/?id=c5d92deff24578f8258a724ca8a143c2d5f390a1'/>
<id>c5d92deff24578f8258a724ca8a143c2d5f390a1</id>
<content type='text'>
Summary:
This way androiddeployqt will scan the imports.
Otherwise it wouldn't pull qtquickcontrols2 for me

Reviewers: #build_system, #frameworks, mart

Reviewed By: mart

Tags: #frameworks, #build_system

Differential Revision: https://phabricator.kde.org/D5067
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Summary:
This way androiddeployqt will scan the imports.
Otherwise it wouldn't pull qtquickcontrols2 for me

Reviewers: #build_system, #frameworks, mart

Reviewed By: mart

Tags: #frameworks, #build_system

Differential Revision: https://phabricator.kde.org/D5067
</pre>
</div>
</content>
</entry>
<entry>
<title>default for ECM_ADDITIONAL_FIND_ROOT_PATH</title>
<updated>2017-03-16T13:57:28+00:00</updated>
<author>
<name>Marco Martin</name>
<email>notmart@gmail.com</email>
</author>
<published>2017-03-16T13:57:28+00:00</published>
<link rel='alternate' type='text/html' href='https://dynamicmalloc.com/cgit/extra-cmake-modules.git/commit/?id=7dc466a729c9972b941978db873e11540543303f'/>
<id>7dc466a729c9972b941978db873e11540543303f</id>
<content type='text'>
set ECM_ADDITIONAL_FIND_ROOT_PATH the same as
CMAKE_PREFIX_PATH if not specified explicitly
from the commandline
reviewed-by:apol
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
set ECM_ADDITIONAL_FIND_ROOT_PATH the same as
CMAKE_PREFIX_PATH if not specified explicitly
from the commandline
reviewed-by:apol
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix missing :: in API docs to trigger code styling</title>
<updated>2016-12-21T07:29:00+00:00</updated>
<author>
<name>Friedrich W. H. Kossebau</name>
<email>kossebau@kde.org</email>
</author>
<published>2016-12-21T07:29:00+00:00</published>
<link rel='alternate' type='text/html' href='https://dynamicmalloc.com/cgit/extra-cmake-modules.git/commit/?id=68a819958e9c3f061cfd10ee33cab963c982d53d'/>
<id>68a819958e9c3f061cfd10ee33cab963c982d53d</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Ignore host libs/includes/cmakeconfig files in Android toolchain</title>
<updated>2016-12-19T19:01:11+00:00</updated>
<author>
<name>Friedrich W. H. Kossebau</name>
<email>kossebau@kde.org</email>
</author>
<published>2016-12-11T20:42:17+00:00</published>
<link rel='alternate' type='text/html' href='https://dynamicmalloc.com/cgit/extra-cmake-modules.git/commit/?id=5f17bf2c0c65b60cf8b7c3090c026be26375a33b'/>
<id>5f17bf2c0c65b60cf8b7c3090c026be26375a33b</id>
<content type='text'>
Summary:
Currently (since 123d0d14017a25fb387efd8fe3c2c1323f9c3815) any
find_library() and find_path() calls look both at the host and the toolchain
paths, which often results in includes and/or libraries wrongly being picked
up from the host system, which then results in a failed build.
CMake config files have always been also looked for on the host, which
most often also is not wanted and resulting in a failed build.

This patch fixes that by changing the mode for finding libraries,
includes &amp; packages to ONLY (again), as also recommended in the
cmake-toolchains documentation.

While before CMAKE_PREFIX_PATH was recommended to let cmake e.g.
discover the Qt5 for Android libs, this patch wants a custom
variable ECM_ADDITIONAL_FIND_ROOT_PATH to be used instead.
Reason is that CMAKE_PREFIX_PATH would be subject to the root
handling, while here instead the root paths themselves are
wanted.
This patch does not add backward compatibility for still passing
the Qt5 install prefix via CMAKE_PREFIX_PATH, as there are not
that many users known yet and the old code did not work for many
anyway, so the extra code hassle is not worth it. Instead the few
build instructions would need to be updated (and should ask to use
latest ECM in any case).

Test Plan:
Building Marble now works without trying to use stuff from the
host system.

Reviewers: #frameworks, #gcompris, #minuet, mutlaqja, sandsmark, cordlandwehr, nienhueser, apol

Reviewed By: cordlandwehr, nienhueser, apol

Differential Revision: https://phabricator.kde.org/D3646
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Summary:
Currently (since 123d0d14017a25fb387efd8fe3c2c1323f9c3815) any
find_library() and find_path() calls look both at the host and the toolchain
paths, which often results in includes and/or libraries wrongly being picked
up from the host system, which then results in a failed build.
CMake config files have always been also looked for on the host, which
most often also is not wanted and resulting in a failed build.

This patch fixes that by changing the mode for finding libraries,
includes &amp; packages to ONLY (again), as also recommended in the
cmake-toolchains documentation.

While before CMAKE_PREFIX_PATH was recommended to let cmake e.g.
discover the Qt5 for Android libs, this patch wants a custom
variable ECM_ADDITIONAL_FIND_ROOT_PATH to be used instead.
Reason is that CMAKE_PREFIX_PATH would be subject to the root
handling, while here instead the root paths themselves are
wanted.
This patch does not add backward compatibility for still passing
the Qt5 install prefix via CMAKE_PREFIX_PATH, as there are not
that many users known yet and the old code did not work for many
anyway, so the extra code hassle is not worth it. Instead the few
build instructions would need to be updated (and should ask to use
latest ECM in any case).

Test Plan:
Building Marble now works without trying to use stuff from the
host system.

Reviewers: #frameworks, #gcompris, #minuet, mutlaqja, sandsmark, cordlandwehr, nienhueser, apol

Reviewed By: cordlandwehr, nienhueser, apol

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