feed/video.git
7 years agoqt5base/qmake.mk: make arg for project file optional
Mirko Vogt [Mon, 6 Feb 2017 01:57:40 +0000 (02:57 +0100)]
qt5base/qmake.mk: make arg for project file optional

7 years agobump to release (5.8.0) and adjust/change to sha256 hashes
Mirko Vogt [Mon, 6 Feb 2017 01:56:53 +0000 (02:56 +0100)]
bump to release (5.8.0) and adjust/change to sha256 hashes

7 years agoMake Qt less smart about cross-toolchain detection and pkgconfig
Mirko Vogt [Tue, 24 Jan 2017 19:00:38 +0000 (20:00 +0100)]
Make Qt less smart about cross-toolchain detection and pkgconfig

When using the pkgconfig macros inside qmake
project files, qmake silently returns since it
detects being run inside a cross-toolchain and
pkgconfig normally doesn't work as expected in
such an environment.

However we patched pkgconfig to work inside
OpenWrt / LEDE (pkgconfig.real), so stop Qt
failing for qmake projects using pkgconfig.

7 years agoqt5 GL stubs should not have a build dependency on qt5base
Mirko Vogt [Wed, 18 Jan 2017 02:44:51 +0000 (03:44 +0100)]
qt5 GL stubs should not have a build dependency on qt5base

I honestly wonder why I added that back then,
however right now it doesn't make any sense to me.

So, drop it and wait for it to backfire..

7 years agobump qt5 to 5.8.0-rc1, getting rid of meta-pkgs
Mirko Vogt [Wed, 18 Jan 2017 02:43:38 +0000 (03:43 +0100)]
bump qt5 to 5.8.0-rc1, getting rid of meta-pkgs

7 years agoremove qq2-2d-sw-renderer as it's now officially part of qq2
Mirko Vogt [Wed, 18 Jan 2017 02:42:12 +0000 (03:42 +0100)]
remove qq2-2d-sw-renderer as it's now officially part of qq2

8 years agoadd qt5graphicaleffects
Mirko Vogt [Thu, 24 Nov 2016 14:17:18 +0000 (15:17 +0100)]
add qt5graphicaleffects

8 years ago[qt5quick2-controls2] fix dependencies
Mirko Vogt [Thu, 24 Nov 2016 14:16:31 +0000 (15:16 +0100)]
[qt5quick2-controls2] fix dependencies

8 years agoRevert "qt5base: also pass MAKE_VARS and MAKE_FLAGS"
Mirko Vogt [Wed, 23 Nov 2016 22:22:57 +0000 (23:22 +0100)]
Revert "qt5base: also pass MAKE_VARS and MAKE_FLAGS"

This reverts commit 6f98fdca5a52b214c922003063f6087a579def63.

8 years agoqt5base: also pass MAKE_VARS and MAKE_FLAGS
Mirko Vogt [Wed, 23 Nov 2016 14:48:22 +0000 (15:48 +0100)]
qt5base: also pass MAKE_VARS and MAKE_FLAGS

8 years agopackage qt5quick2-controls2
Mirko Vogt [Wed, 23 Nov 2016 14:31:26 +0000 (15:31 +0100)]
package qt5quick2-controls2

8 years agofix qt5quick2-qml-models
Mirko Vogt [Wed, 23 Nov 2016 13:57:06 +0000 (14:57 +0100)]
fix qt5quick2-qml-models

8 years agopurge patches which don't apply anymore
Mirko Vogt [Tue, 22 Nov 2016 18:46:58 +0000 (19:46 +0100)]
purge patches which don't apply anymore

8 years agobump qtquick2 to 5.8.0-beta
Mirko Vogt [Tue, 22 Nov 2016 12:22:02 +0000 (13:22 +0100)]
bump qtquick2 to 5.8.0-beta

8 years agofix pkg-config for Qt inside LEDE/OpenWrt
Mirko Vogt [Tue, 22 Nov 2016 12:18:15 +0000 (13:18 +0100)]
fix pkg-config for Qt inside LEDE/OpenWrt

Qt disables all pkg-config tests if it notices itself
being cross-compiled and PKG_CONFIG_SYSROOT_DIR being
unset.

However we do have a working pkg-config (wrapper around
pkg-config.real) which fixes the issues PKG_CONFIG_SYSROOT_DIR
tries to address.

Qt tries to be too smart in our case - force it to use
pkg-config.

8 years agolevel up Qt to 5.8.0-beta
Mirko Vogt [Tue, 22 Nov 2016 12:17:55 +0000 (13:17 +0100)]
level up Qt to 5.8.0-beta

8 years agopackage `QtQuick2`
Mirko Vogt [Sat, 27 Aug 2016 21:13:32 +0000 (23:13 +0200)]
package `QtQuick2`

8 years agolevel Qt up to version 5.7.0 + several bug fixes
Mirko Vogt [Sat, 27 Aug 2016 19:41:07 +0000 (21:41 +0200)]
level Qt up to version 5.7.0 + several bug fixes

Qt5-GUI now gets compiled with support for OpenGL,
however only links against GL stubs provided by the
2d software renderer.
That way we can decide at runtime, whether we want to
use GL or not - with almost no overhead, if not.
This also enables QtQuick2 being built correctly,
which depends on GL support and provides the
possibility of using QtQuick2 with the 2d-sw-renderer
even on hardware without native support for GL.

8 years agopackage `qt5quick2-2d-sw-renderer[-GLstubs]`
Mirko Vogt [Sat, 27 Aug 2016 21:08:49 +0000 (23:08 +0200)]
package `qt5quick2-2d-sw-renderer[-GLstubs]`

Both packages share the same source and I'd prefer handling
them in the very same Makefile, but unfortunately that would
create a circular dependency:
`qt5base` depends on `qt5quick2-2d-sw-renderer-GLstubs`, but
`qt5quick2-2d-sw-renderer` depends on `qt5quick2` which
depends on `qt5base`.
`qt5quick2-2d-sw-renderer` and `qt5quick2-2d-sw-renderer-GLstubs`
sharing the same Makefile results in `qt5base` depending on
`qt5quick2` which is meh.

8 years agoFix Qt host builds
Mirko Vogt [Sat, 27 Aug 2016 19:38:43 +0000 (21:38 +0200)]
Fix Qt host builds

Do not explicitly specify mkspec file when invoking qmake.
qmake itself is aware of the cross mkspec file (compiled in)
AND of the mkspec file for host builds.
Specifying it explicitly doesn't let qmake choose the
correct one and always tries to cross-compile everything.

8 years agoqt5base: fix installation of qt5base-plugin-sqldrivers-sqlite
Hauke Mehrtens [Sat, 23 Jul 2016 20:08:15 +0000 (22:08 +0200)]
qt5base: fix installation of qt5base-plugin-sqldrivers-sqlite

The install part was not executed, because it had the wrong name.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
8 years agoqt5base: fix plugin loading
Hauke Mehrtens [Sat, 23 Jul 2016 20:06:21 +0000 (22:06 +0200)]
qt5base: fix plugin loading

Do not use strip any more when it is selected because plugin loading
does not work for plugins build stripped with sstrip, use normal strip
instead.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
8 years agoqt5base: build widgets and examples only when activated
Hauke Mehrtens [Thu, 10 Dec 2015 21:30:09 +0000 (22:30 +0100)]
qt5base: build widgets and examples only when activated

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
8 years agoqt5base: fix nls support
Hauke Mehrtens [Thu, 10 Dec 2015 21:28:38 +0000 (22:28 +0100)]
qt5base: fix nls support

Instead of hard coding the dependency to libiconv-full use the macros
provided by OpenWrt. In the gnu iconv library the second parameter of
iconv(), often called inbuf, is not const, but qt5 assumes that it is
in the gnu version of libiconv. If we make qt5 use the code for the
posix version of libiconv it does not add the -liconv link parameter.
This patch adds the -liconv link parameter.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
8 years agoqt5base: make sqlite configurable not sqlite2
Hauke Mehrtens [Thu, 10 Dec 2015 21:25:29 +0000 (22:25 +0100)]
qt5base: make sqlite configurable not sqlite2

sqlite2 should not be build, we want sqlite3 which is named sqlite in qt5.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
8 years agoqt5base: activate iconv support when libiconv-full is avaliable
Hauke Mehrtens [Sun, 6 Dec 2015 23:04:02 +0000 (00:04 +0100)]
qt5base: activate iconv support when libiconv-full is avaliable

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
8 years agoMerge pull request #4 from hauke/qt5base-fixes
Mirko Vogt [Sun, 6 Dec 2015 22:04:56 +0000 (23:04 +0100)]
Merge pull request #4 from hauke/qt5base-fixes

Qt5base fixes

8 years agoqt5base: deactivate some options 4/head
Hauke Mehrtens [Sun, 6 Dec 2015 16:50:10 +0000 (17:50 +0100)]
qt5base: deactivate some options

The libraries needed for these options are no dependencies of any
qt5base module so deactivate them.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
8 years agoqt5base: build some modules only when needed
Hauke Mehrtens [Sun, 6 Dec 2015 16:23:14 +0000 (17:23 +0100)]
qt5base: build some modules only when needed

Build some parts only depending on the parts which are selected in
OpenWrt menuconfig and not always.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
8 years agoqt5base: activate mips dsp extension when needed.
Hauke Mehrtens [Thu, 26 Nov 2015 23:28:12 +0000 (00:28 +0100)]
qt5base: activate mips dsp extension when needed.

When OpenWrt normally uses the mips dps extensions it adds this to the
CFLAGS which are also given to qt5base. When we configure qt5base
without dsp extension, but give the mdsp in the CFLAGS the compilation
will fail.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
8 years agoqt5base: add PKG_USE_MIPS16
Hauke Mehrtens [Sun, 6 Dec 2015 15:58:43 +0000 (16:58 +0100)]
qt5base: add PKG_USE_MIPS16

qt5 generates some long methods and does not support mips16 for all of them.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
8 years agoqt5base: fix musl build
Hauke Mehrtens [Thu, 26 Nov 2015 23:29:41 +0000 (00:29 +0100)]
qt5base: fix musl build

This was taken from upstream qt5 and modified a little bit to match
OpenWrt.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
8 years agoqt5base: remove dependency to icu
Hauke Mehrtens [Thu, 26 Nov 2015 21:01:31 +0000 (22:01 +0100)]
qt5base: remove dependency to icu

The icu package does not exist in OpenWrt.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
9 years agomove qt4 package from Xorg to Video feed
Mirko Vogt [Thu, 11 Jun 2015 10:58:15 +0000 (12:58 +0200)]
move qt4 package from Xorg to Video feed

There's some minor changes, especially to seperate
an qt4 from an qt5 installation (Host and target).
Also the x11 support got dropped - framebuffer only.
Some obvious and trivial bug fixes got applied as well,
however, apart from that, it basically is, what it was.

The Xorg feed is totally unmaintained currently,
also the early approach of running an Xserver on
embedded devices - hence the feed's name - thankfully
didn't really become the standard either.

So let's reorganise some of the stuff from the Xorg
feed worth keeping within the new Video feed.

9 years agoadd Qt5 submodule quick1
Mirko Vogt [Mon, 8 Jun 2015 17:50:53 +0000 (19:50 +0200)]
add Qt5 submodule quick1

Qt5Quick1 features QML1 and provides
the QDeclarative* implementations.

Don't confuse that with the QtDeclarative
submodule which provides support for QML2
and exports the QQml* interface (also known
as QtQuick(2)).

QtQuick(2)/QML2 by the way has a hard
dependency on GL, hence without GL support
you're stuck on QtQuick1/QML1.

9 years agoadd Qt5 script
Mirko Vogt [Mon, 8 Jun 2015 17:50:30 +0000 (19:50 +0200)]
add Qt5 script

9 years agoAdding Qt5 base
Mirko Vogt [Mon, 8 Jun 2015 17:47:26 +0000 (19:47 +0200)]
Adding Qt5 base

Crosscompile and package Qt5 (base) and setup an
environment to easily crosscompile and package
other qmake based projects.

Please see the comments within the Makefiles
(Makefile / qmake.mk) for current limitations and
known issues.

Packaged from the "base" submodule herewith are:

 - qt5base-concurrent
 - qt5base-core
 - qt5base-gui
 - qt5base-network
 - qt5base-printSupport
 - qt5base-sql
 - qt5base-test
 - qt5base-widgets
 - qt5base-xml
 - qt5base-plugin-bearer-generic
 - qt5base-plugin-input-evdevkeyboard
 - qt5base-plugin-input-evdevmouse
 - qt5base-plugin-input-evdevtablet
 - qt5base-plugin-input-evdevtouch
 - qt5base-plugin-imageformats-gif
 - qt5base-plugin-imageformats-ico
 - qt5base-plugin-imageformats-jpeg
 - qt5base-plugin-platforms-linuxfb
 - qt5base-plugin-platforms-minimal
 - qt5base-plugin-platforms-offscreen
 - qt5base-plugin-sqldrivers-sqlite
 - qt5base-examples

9 years agocommit README
Mirko Vogt [Tue, 16 Dec 2014 10:30:08 +0000 (11:30 +0100)]
commit README