<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/meta-qt5.git/classes/cmake_qt5.bbclass, branch morty</title>
<subtitle>Mirror of https://code.qt.io/cgit/yocto/meta-qt5.git</subtitle>
<id>https://git.enea.com/cgit/linux/meta-qt5.git/atom?h=morty</id>
<link rel='self' href='https://git.enea.com/cgit/linux/meta-qt5.git/atom?h=morty'/>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-qt5.git/'/>
<updated>2017-02-20T13:40:53+00:00</updated>
<entry>
<title>cmake_qt5.bbclass: add qtbase-native to DEPENDS</title>
<updated>2017-02-20T13:40:53+00:00</updated>
<author>
<name>Anders Darander</name>
<email>anders@chargestorm.se</email>
</author>
<published>2017-01-25T12:26:13+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-qt5.git/commit/?id=3601fd2c5306ac6d5d0d536e0be8cbb90da9b4c1'/>
<id>urn:sha1:3601fd2c5306ac6d5d0d536e0be8cbb90da9b4c1</id>
<content type='text'>
When building with recipe-specific-sysroot's, qmake can't be found:

| CMake Error at WORKDIR/recipe-sysroot/usr/lib/cmake/Qt5Core/Qt5CoreConfig.cmake:32 (message):
|   The imported target Qt5::Core references the file
|
|      WORKDIR/recipe-sysroot-native/usr/bin/qt5/qmake
|
|   but this file does not exist.  Possible reasons include:
|
|   * The file was deleted, renamed, or moved to another location.
|
|   * An install or uninstall procedure did not complete successfully.
|
|   * The installation package was faulty and contained
|
|      WORKDIR/recipe-sysroot/usr/lib/cmake/Qt5Core/Qt5CoreConfigExtras.cmake
|
|   but not all the files it references.
|
| Call Stack (most recent call first):
|   WORKDIR/recipe-sysroot/usr/lib/cmake/Qt5Core/Qt5CoreConfigExtras.cmake:6 (_qt5_Core_check_file_exists)
|   WORKDIR/recipe-sysroot/usr/lib/cmake/Qt5Core/Qt5CoreConfig.cmake:163 (include)
|   WORKDIR/recipe-sysroot/usr/lib/cmake/Qt5/Qt5Config.cmake:31 (find_package)
|   CMakeLists.txt:56 (find_package)
|

This is solved by adding qtbase-native to the exported DEPENDS.

Signed-off-by: Anders Darander &lt;anders@chargestorm.se&gt;
Signed-off-by: Martin Jansa &lt;Martin.Jansa@gmail.com&gt;
</content>
</entry>
<entry>
<title>cmake_qt5.bbclass: when using _prepend don't forget to add space at the end</title>
<updated>2016-08-03T14:18:41+00:00</updated>
<author>
<name>Denys Dmytriyenko</name>
<email>denys@ti.com</email>
</author>
<published>2016-07-28T18:36:42+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-qt5.git/commit/?id=9606c517ec4d411d13d001f94d6fea34eb71f7e7'/>
<id>urn:sha1:9606c517ec4d411d13d001f94d6fea34eb71f7e7</id>
<content type='text'>
Previous commit 0717c65abc24d67887c93b773129156f714d033b introduced a bug by
using _prepend w/o a space at the end, resulting in corrupted EXTRA_OEMAKE
variable in packages that inherit cmake_qt5.bbclass.

Signed-off-by: Denys Dmytriyenko &lt;denys@ti.com&gt;
Signed-off-by: Martin Jansa &lt;Martin.Jansa@gmail.com&gt;
</content>
</entry>
<entry>
<title>cmake_qt5: prepend the Qt5 specific CMake variables to EXTRA_OECMAKE</title>
<updated>2016-05-18T19:29:56+00:00</updated>
<author>
<name>Pascal Bach</name>
<email>pascal.bach@siemens.com</email>
</author>
<published>2016-05-11T13:53:45+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-qt5.git/commit/?id=0717c65abc24d67887c93b773129156f714d033b'/>
<id>urn:sha1:0717c65abc24d67887c93b773129156f714d033b</id>
<content type='text'>
Using the prepend function instead of "=+" makes sure the variables
are set even if the user overrides EXTRA_OECMAKE with "=" instead of just
appending to it.

Prepending also allows overriding because later arguments take precedence
ever earlier ones in CMake.

Signed-off-by: Pascal Bach &lt;pascal.bach@siemens.com&gt;
Signed-off-by: Martin Jansa &lt;Martin.Jansa@gmail.com&gt;
</content>
</entry>
<entry>
<title>cmake_qt5.bbclass: add DEPENDS to qtbase</title>
<updated>2015-12-15T15:46:42+00:00</updated>
<author>
<name>Mikko Rapeli</name>
<email>mikko.rapeli@bmw.de</email>
</author>
<published>2015-12-09T10:06:39+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-qt5.git/commit/?id=3d7f4461355a4c3b279fac9007a05d8cfbb2ceec'/>
<id>urn:sha1:3d7f4461355a4c3b279fac9007a05d8cfbb2ceec</id>
<content type='text'>
All packages using this class need it and it is too easy for developers
to miss and leave race conditions into builds.

Signed-off-by: Mikko Rapeli &lt;mikko.rapeli@bmw.de&gt;
Signed-off-by: Martin Jansa &lt;Martin.Jansa@gmail.com&gt;
</content>
</entry>
<entry>
<title>classes: cmake_qt5: export all qt5 related paths to cmake</title>
<updated>2013-08-02T09:27:25+00:00</updated>
<author>
<name>Simon Busch</name>
<email>morphis@gravedo.de</email>
</author>
<published>2013-08-02T09:06:06+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-qt5.git/commit/?id=ee6c2abf6a6679582e28f72301f1a538ef98bf95'/>
<id>urn:sha1:ee6c2abf6a6679582e28f72301f1a538ef98bf95</id>
<content type='text'>
Signed-off-by: Simon Busch &lt;morphis@gravedo.de&gt;
</content>
</entry>
<entry>
<title>classes: add new cmake_qt5 class</title>
<updated>2013-07-25T20:33:59+00:00</updated>
<author>
<name>Simon Busch</name>
<email>morphis@gravedo.de</email>
</author>
<published>2013-07-22T21:20:58+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-qt5.git/commit/?id=6b39eda7a60597a25b9dbed823fe7f2fa8db5659'/>
<id>urn:sha1:6b39eda7a60597a25b9dbed823fe7f2fa8db5659</id>
<content type='text'>
A cmake specific qt5 class which sets all required configuration parameters to
successfully compile cmake based applications.

Signed-off-by: Simon Busch &lt;morphis@gravedo.de&gt;
</content>
</entry>
</feed>
