* disabling configure features in qt5
@ 2015-09-28 18:45 Ivan Sergio Borgonovo
2015-09-29 7:18 ` Anders Darander
0 siblings, 1 reply; 2+ messages in thread
From: Ivan Sergio Borgonovo @ 2015-09-28 18:45 UTC (permalink / raw)
To: poky
Hi,
I'm trying to compile qt5 for an imx28 board without X, wayland, opengl,
opengles, egl.
Now I'm stuck on trying to really disable opengl since no matter if I have
DISTRO_FEATURES_remove = "x11 wayland opengl pulseaudio opengles egl"
when I'm baking meta-toolchain-qt5
packagegroup-qt5-toolchain-target.bb
requires qt3d-dev, qt3d-mkspecs, qt3d-qmlplugins that end up in
generating this error.
| Project ERROR: Unknown module(s) in QT: openglextensions
| Makefile:76: recipe for target 'sub-render-make_first' failed
| make[1]: *** [sub-render-make_first] Error 3
Ideally I'd prefer to keep qt3d enabled and just pass to configure
-no-opengl and a bunch of other options (-tslib, -no-pch, -no-xcb,
-no-opengl -no-openssl -no-libudev -no-fontconfig) but I really don't
know where to start.
Even a pointer to a related section of the FM will be appreciated.
thanks
--
Ivan Sergio Borgonovo
http://www.webthatworks.it
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: disabling configure features in qt5
2015-09-28 18:45 disabling configure features in qt5 Ivan Sergio Borgonovo
@ 2015-09-29 7:18 ` Anders Darander
0 siblings, 0 replies; 2+ messages in thread
From: Anders Darander @ 2015-09-29 7:18 UTC (permalink / raw)
To: poky
Hi,
* Ivan Sergio Borgonovo <mail@webthatworks.it> [150928 20:51]:
> I'm trying to compile qt5 for an imx28 board without X, wayland, opengl,
> opengles, egl.
Ok. I'm building qt5 without all of that as well. I don't have any GUI
at all, so I'm only interested in the core part of qt5.
> Now I'm stuck on trying to really disable opengl since no matter if I have
> DISTRO_FEATURES_remove = "x11 wayland opengl pulseaudio opengles egl"
> when I'm baking meta-toolchain-qt5
> packagegroup-qt5-toolchain-target.bb
> requires qt3d-dev, qt3d-mkspecs, qt3d-qmlplugins that end up in generating
> this error.
> | Project ERROR: Unknown module(s) in QT: openglextensions
> | Makefile:76: recipe for target 'sub-render-make_first' failed
> | make[1]: *** [sub-render-make_first] Error 3
> Ideally I'd prefer to keep qt3d enabled and just pass to configure
> -no-opengl and a bunch of other options (-tslib, -no-pch, -no-xcb,
> -no-opengl -no-openssl -no-libudev -no-fontconfig) but I really don't know
> where to start.
If you're building meta-toolchain-qt5, I think you'll be forced to
remove e.g. qt3d-* from packagegroup-qt5-toolchain-target.bb. You can do
this from a bbappend using the _remove operator.
I'm not using meta-toolchain-qt5 to build the SDK for my application
developers, rather I'm using bitbake image-name -c populate_sdk.
> Even a pointer to a related section of the FM will be appreciated.
Apart from using the populate_sdk task to create my SDK, I'm also using
the following in my qtbase_%.bbappend:
===========
PACKAGECONFIG_SYSTEM = "zlib"
PACKAGECONFIG_DEFAULT = "dbus udev libs"
PACKAGECONFIG += "sql-sqlite nofreetype noqpa"
PACKAGECONFIG[gui] = "-gui,-no-gui"
PACKAGECONFIG[eglfs] = "-eglfs,-no-eglfs"
PACKAGECONFIG[gif] = ",-no-gif"
PACKAGECONFIG[nofreetype] = "-no-freetype"
PACKAGECONFIG[noqpa] = "-no-qpa-platform-guard"
==========
And in my qttools_%.bbappend:
DEPENDS_remove = "qtdeclarative"
This allows me to avoid building any of the GUI parts of Qt5.
Cheers,
Anders
--
Anders Darander
ChargeStorm AB / eStorm AB
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2015-09-29 7:18 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-09-28 18:45 disabling configure features in qt5 Ivan Sergio Borgonovo
2015-09-29 7:18 ` Anders Darander
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.