<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/meta-qt5.git/classes, branch krogoth</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=krogoth</id>
<link rel='self' href='https://git.enea.com/cgit/linux/meta-qt5.git/atom?h=krogoth'/>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-qt5.git/'/>
<updated>2017-02-20T13:40:16+00:00</updated>
<entry>
<title>cmake_qt5.bbclass: add qtbase-native to DEPENDS</title>
<updated>2017-02-20T13:40:16+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=ac0d613302db8f7f013bbb0c72b30cdea4bb72c3'/>
<id>urn:sha1:ac0d613302db8f7f013bbb0c72b30cdea4bb72c3</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-05T09:12:12+00:00</updated>
<author>
<name>Denys Dmytriyenko</name>
<email>denys@ti.com</email>
</author>
<published>2016-07-28T17:00:26+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-qt5.git/commit/?id=460df4154eaa2e62ae077f28e5f8433e3b813f83'/>
<id>urn:sha1:460df4154eaa2e62ae077f28e5f8433e3b813f83</id>
<content type='text'>
Previous commit aacd63f10dd58acf7bf6138e2f4734e37dcf0420 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-06-07T18:10:21+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=aacd63f10dd58acf7bf6138e2f4734e37dcf0420'/>
<id>urn:sha1:aacd63f10dd58acf7bf6138e2f4734e37dcf0420</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>qmake5_base: use remove-libtool bbclass</title>
<updated>2016-04-20T08:50:50+00:00</updated>
<author>
<name>Martin Jansa</name>
<email>Martin.Jansa@gmail.com</email>
</author>
<published>2016-02-16T16:36:37+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-qt5.git/commit/?id=2f31f2a21b2ef9c5d09806a26af946cb38e61228'/>
<id>urn:sha1:2f31f2a21b2ef9c5d09806a26af946cb38e61228</id>
<content type='text'>
* this requires latest oe-core (Yocto 2.1), if you want to use latest
  meta-qt5 with older oe-core, you need to backport this bbclass
  and more importantly don't forget to provide
  EXTRA_CONF_PACKAGECONFIG

Signed-off-by: Martin Jansa &lt;Martin.Jansa@gmail.com&gt;
</content>
</entry>
<entry>
<title>qmake5_base: delete *.la files</title>
<updated>2016-02-17T21:55:37+00:00</updated>
<author>
<name>Martin Jansa</name>
<email>Martin.Jansa@gmail.com</email>
</author>
<published>2016-02-14T10:54:14+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-qt5.git/commit/?id=e91dea65659b0975146ad4f23d46e561ba8d9a08'/>
<id>urn:sha1:e91dea65659b0975146ad4f23d46e561ba8d9a08</id>
<content type='text'>
* they reference workdir and trip sanity check:
  ERROR: QA Issue: libQt5Sql.la failed sanity test (workdir) in path qtbase/5.5.99+5.6.0-alpha1+gitAUTOINC+f7f4dde80e-r0/sysroot-destdir//usr/lib [la]
* I'm intentionally not using remove-libtool.bbclass recently
  added to oe-core, because many people combine newer meta-qt5
  with older oe-core and can be missing this bbclass, I've
  pending patch to migrate this to remove-libtool.bbclass, will
  probably merge it after 2.1 or 2.2 release.

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>qt5: upgrade to latest revision in 5.6 branch (5.6.0-alpha1+)</title>
<updated>2015-11-11T12:24:53+00:00</updated>
<author>
<name>Martin Jansa</name>
<email>Martin.Jansa@gmail.com</email>
</author>
<published>2015-10-19T13:26:34+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-qt5.git/commit/?id=178a817e6f4604e0f4b24a416d5e83b428cbabe7'/>
<id>urn:sha1:178a817e6f4604e0f4b24a416d5e83b428cbabe7</id>
<content type='text'>
Signed-off-by: Martin Jansa &lt;Martin.Jansa@gmail.com&gt;
</content>
</entry>
<entry>
<title>qttools: fix cmake usage of linguist tools</title>
<updated>2015-10-15T15:10:36+00:00</updated>
<author>
<name>Cody P Schafer</name>
<email>dev@codyps.com</email>
</author>
<published>2015-07-09T19:56:05+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-qt5.git/commit/?id=1fdc9a3f313308a43f33ff756050df26a5c862ed'/>
<id>urn:sha1:1fdc9a3f313308a43f33ff756050df26a5c862ed</id>
<content type='text'>
Without this, Qt5LinguistTools/Qt5LinguistToolsConfig.cmake would
attempt to locate lrelease and lupdate under prefix, even while we were
cross-compiling and prefix points at the native system's root dirs.

Signed-off-by: Cody P Schafer &lt;dev@codyps.com&gt;
Signed-off-by: Martin Jansa &lt;Martin.Jansa@gmail.com&gt;
</content>
</entry>
<entry>
<title>qmake5_paths, qtbase: add OE_QMAKE_PATH_QT_FONTS</title>
<updated>2015-09-29T15:41:59+00:00</updated>
<author>
<name>Martin Jansa</name>
<email>Martin.Jansa@gmail.com</email>
</author>
<published>2015-09-29T14:30:07+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-qt5.git/commit/?id=394345ca29702b14255bfb8e7c9814d669553cf8'/>
<id>urn:sha1:394345ca29702b14255bfb8e7c9814d669553cf8</id>
<content type='text'>
* people using fontconfig may want to change this path to
  ${datadir}/fonts, it was set to OE_QMAKE_PATH_LIBS in
  commit 1fdab229df6000eb52ac721a3ff4cdd218a0c308
  to follow mkspecs/features/qpa/genericunixfontdatabase.prf
  fonts.path = $$[QT_INSTALL_LIBS]/fonts

Signed-off-by: Martin Jansa &lt;Martin.Jansa@gmail.com&gt;
</content>
</entry>
<entry>
<title>Remove double slash when QT_DIR_NAME is empty</title>
<updated>2015-09-21T09:56:52+00:00</updated>
<author>
<name>Adam YH Lee</name>
<email>adam.yh.lee@gmail.com</email>
</author>
<published>2015-09-05T00:28:30+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-qt5.git/commit/?id=6f0dd9f7cb4166f22b78c0813819c636f6382e4f'/>
<id>urn:sha1:6f0dd9f7cb4166f22b78c0813819c636f6382e4f</id>
<content type='text'>
When `QT_DIR_NAME` is defined as an empty string (default is "qt5"),
package.bbclass will throw lots of QA warnings because now the paths contain
double slashes ("//").

We can address these warnings by explicitly defining a slash in the
variable itself.

Signed-off-by: Adam YH Lee &lt;adam.yh.lee@gmail.com&gt;
Signed-off-by: Martin Jansa &lt;Martin.Jansa@gmail.com&gt;
</content>
</entry>
</feed>
