<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/meta-qt5.git/classes/qmake5_base.bbclass, branch 5.12</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=5.12</id>
<link rel='self' href='https://git.enea.com/cgit/linux/meta-qt5.git/atom?h=5.12'/>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-qt5.git/'/>
<updated>2019-05-30T00:37:21+00:00</updated>
<entry>
<title>qmake5_base.bbclass: Don't expand find -name search patterns</title>
<updated>2019-05-30T00:37:21+00:00</updated>
<author>
<name>Florent Revest</name>
<email>revestflo@gmail.com</email>
</author>
<published>2019-05-27T20:02:48+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-qt5.git/commit/?id=46c87e060dfd0e6cf132a330eab8cbefddde215d'/>
<id>urn:sha1:46c87e060dfd0e6cf132a330eab8cbefddde215d</id>
<content type='text'>
A wildcard not put between quotes is expanded by bash. If files matching
the pattern are found in the source directory then the find command is
non-sense and fails.

This commit put those search patterns in quotes and fixes the
installation of some recipes.

Signed-off-by: Florent Revest &lt;revestflo@gmail.com&gt;
</content>
</entry>
<entry>
<title>qt5: patch build paths from installed files</title>
<updated>2019-04-03T14:10:43+00:00</updated>
<author>
<name>Samuli Piippo</name>
<email>samuli.piippo@qt.io</email>
</author>
<published>2019-01-10T14:18:05+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-qt5.git/commit/?id=adf7f605872f246b692fd9628af26505f6e9c485'/>
<id>urn:sha1:adf7f605872f246b692fd9628af26505f6e9c485</id>
<content type='text'>
All 3rdparty libs and includes are now resolved into full filepaths,
which means build paths to the yocto build environment are in module's
prl, pri, pc and cmake files.

Move existing patching from qtbase to the bbclass so that it's applied
to all modules. -L paths are no longer included in the .pc files, remove
unneeded patching for those.

Task-number: QTBUG-72903
Change-Id: Iae5d150593aef153c46aaf8a3ba22fbafcc9b818
Reviewed-by: Oswald Buddenhagen &lt;oswald.buddenhagen@gmx.de&gt;
Reviewed-by: Mikko Gronoff &lt;mikko.gronoff@qt.io&gt;
Signed-off-by: Mikko Gronoff &lt;mikko.gronoff@qt.io&gt;
</content>
</entry>
<entry>
<title>qt5: cleanup mkspecs</title>
<updated>2019-03-07T23:54:18+00:00</updated>
<author>
<name>Samuli Piippo</name>
<email>samuli.piippo@qt.io</email>
</author>
<published>2019-01-08T12:51:33+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-qt5.git/commit/?id=92c34de4bb11223c059466d3d0690eb763a56102'/>
<id>urn:sha1:92c34de4bb11223c059466d3d0690eb763a56102</id>
<content type='text'>
QMAKE_COMPILER is not meant to be the actual compiler, but a compiler
type (gcc, clang, mingw). For both mkspecs it's already set in the
common includes. Remove wayland and debug settings from the clang
mkspec as they are already removed from the gcc mkspec.

Signed-off-by: Samuli Piippo &lt;samuli.piippo@qt.io&gt;
</content>
</entry>
<entry>
<title>qt5: remove all references to qtquick1 import path</title>
<updated>2018-07-03T18:00:57+00:00</updated>
<author>
<name>Samuli Piippo</name>
<email>samuli.piippo@qt.io</email>
</author>
<published>2018-06-27T12:59:29+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-qt5.git/commit/?id=7faa5d8f39381975a861e3e918789e9f33a079f6'/>
<id>urn:sha1:7faa5d8f39381975a861e3e918789e9f33a079f6</id>
<content type='text'>
Since qtquick1 recipes have been removed, there is no need to have
OE_QMAKE_PATH_IMPORTS anymore.

Signed-off-by: Samuli Piippo &lt;samuli.piippo@qt.io&gt;
</content>
</entry>
<entry>
<title>qtbase_git: install qt.conf for the target</title>
<updated>2017-12-20T08:23:09+00:00</updated>
<author>
<name>Jeroen Hofstee</name>
<email>jhofstee@victronenergy.com</email>
</author>
<published>2017-11-21T09:51:24+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-qt5.git/commit/?id=3cf0bbb8e1113376d5b5b26ecff362e180a180fd'/>
<id>urn:sha1:3cf0bbb8e1113376d5b5b26ecff362e180a180fd</id>
<content type='text'>
The build-in qmake settings point to the sysroots on the host machine.
Running qmake on the target hence errors with:

  Could not find qmake configuration file linux-oe-g++.
  Error processing project file

So add qt.conf to the target image with the correct locations.

Signed-off-by: Jeroen Hofstee &lt;jhofstee@victronenergy.com&gt;
Signed-off-by: Martin Jansa &lt;Martin.Jansa@gmail.com&gt;
</content>
</entry>
<entry>
<title>qt5: remove use of OE_QMAKE_WAYLAND_SCANNER</title>
<updated>2017-12-20T08:21:17+00:00</updated>
<author>
<name>Samuli Piippo</name>
<email>samuli.piippo@qt.io</email>
</author>
<published>2017-11-10T07:13:38+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-qt5.git/commit/?id=d27c0199dbe453b3b9af32783f6d15c022f18429'/>
<id>urn:sha1:d27c0199dbe453b3b9af32783f6d15c022f18429</id>
<content type='text'>
This was never defined for nativesdk, which then broke sdk which
had nativesdk-qtwayland included. Rather than add it there, remove
its use everywhere, since it was not adding anything meaningful to
the build.

Signed-off-by: Samuli Piippo &lt;samuli.piippo@qt.io&gt;
Signed-off-by: Martin Jansa &lt;Martin.Jansa@gmail.com&gt;
</content>
</entry>
<entry>
<title>qt5: use correct HostPrefix</title>
<updated>2017-12-20T08:20:48+00:00</updated>
<author>
<name>Samuli Piippo</name>
<email>samuli.piippo@qt.io</email>
</author>
<published>2017-11-10T06:44:36+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-qt5.git/commit/?id=70f36ebae41a7f4445d8bc94ded78ba4a04613de'/>
<id>urn:sha1:70f36ebae41a7f4445d8bc94ded78ba4a04613de</id>
<content type='text'>
Different HostPrefix was used when building Qt and in external
SDK's qt.conf. This caused e.g., wrong path in qmodule.pri for
PKG_CONFIG_EXECUTABLE.

Task-number: QTBUG-63097
Signed-off-by: Samuli Piippo &lt;samuli.piippo@qt.io&gt;
Signed-off-by: Martin Jansa &lt;Martin.Jansa@gmail.com&gt;
</content>
</entry>
<entry>
<title>qtbase: Add OE clang specific mkspecs</title>
<updated>2017-09-05T12:56:02+00:00</updated>
<author>
<name>Khem Raj</name>
<email>raj.khem@gmail.com</email>
</author>
<published>2017-09-03T18:10:34+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-qt5.git/commit/?id=90d4a41621886ae5e738ec8a0b693e88b25d8267'/>
<id>urn:sha1:90d4a41621886ae5e738ec8a0b693e88b25d8267</id>
<content type='text'>
We can not piggy back clang anymore on existing
OE mkspecs since starting 5.9 the configure is
asking compiler for include paths and it needs to
know if platform is clang-linux or g++-linux

Fixes:
ERROR: failed to parse default search paths from compiler output

Signed-off-by: Khem Raj &lt;raj.khem@gmail.com&gt;
Signed-off-by: Martin Jansa &lt;Martin.Jansa@gmail.com&gt;
</content>
</entry>
<entry>
<title>Upgrade to Qt 5.9.0</title>
<updated>2017-08-20T17:30:05+00:00</updated>
<author>
<name>Samuli Piippo</name>
<email>samuli.piippo@qt.io</email>
</author>
<published>2017-06-09T06:34:09+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-qt5.git/commit/?id=969f1f80bf255498abbec6886d443670c20a79c8'/>
<id>urn:sha1:969f1f80bf255498abbec6886d443670c20a79c8</id>
<content type='text'>
* adapt QtWebEngine recipe to use GN instead of GYP
* add QtRemoteObjects and QtWebView as a new Qt modules
* update available QtBase configure arguments
* remove obsolete patches
* patch all .pc files to remove build paths
* include generated QML cache files in packages
* the patch "configure paths for target qmake properly" could not
  be applied anymore and support must be done differently

* QtWebEngine now requires gcc-multilib to be installed on the host
  system, because the host tools are built to the same bitness as
  the target (arm -&gt; x86, aarch64 -&gt; x86-64)

* refresh the patches to match with b5.9* branches on:
  https://github.com/meta-qt5/qtbase
  https://github.com/meta-qt5/qtwebengine
  and 56-based branch on
  https://github.com/meta-qt5/qtwebengine-chromium

Signed-off-by: Samuli Piippo &lt;samuli.piippo@qt.io&gt;
Signed-off-by: Martin Jansa &lt;Martin.Jansa@gmail.com&gt;
</content>
</entry>
<entry>
<title>qmake5_base.bbclass: set qt.conf by environment variable again</title>
<updated>2017-02-10T17:50:57+00:00</updated>
<author>
<name>Andreas Müller</name>
<email>schnitzeltony@googlemail.com</email>
</author>
<published>2017-02-09T06:26:09+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-qt5.git/commit/?id=efa8aaf82e580a7d32eaaab48eb92d436f2e222a'/>
<id>urn:sha1:efa8aaf82e580a7d32eaaab48eb92d436f2e222a</id>
<content type='text'>
Qt update to 5.8 caused fallout in meta-qt5-extra. It turned out that
qmake pulled in many pointers to native sysroot. Native sysroot is qmake's
default in case no configuration file qt.conf is set.
The problem with the new way of setting qt.conf by cmd parameter is that is has
to be set explicitly. For instance all the packages coming from [1] use
autotools for configuration. These ask qmake for paths during configuration
and build further Makefiles during compile. To patch these for additional cmd
parameter is nasty business.
Setting qt.conf when building all qtbase's causes errors during configuration.
To fix this we set the filename to a non existent file so that Qt's default is
used. This dirty hack was necessary because there was no way found to export
an empty variable OE_QMAKE_QTCONF_PATH.

This patch was tested by building huge parts of meta-qt5-extra. The meta-layers
did not yet contain oe-core's recipe-specific-sysroot changes so master build
might fail for missing dependencies.

[1] http://www.rncbc.org/drupal/

Signed-off-by: Andreas Müller &lt;schnitzeltony@googlemail.com&gt;
Signed-off-by: Martin Jansa &lt;Martin.Jansa@gmail.com&gt;
</content>
</entry>
</feed>
