summaryrefslogtreecommitdiffstats
path: root/recipes-qt
Commit message (Collapse)AuthorAgeFilesLines
* licenses: rename NOKIA-TPLA-2.4 to DIGIA-TPLA-2.4upstream/dylandylanJonathan Liu2014-03-151-1/+1
| | | | | | | | The license agreement doesn't mention Nokia anymore after Qt was acquired by Digia. Signed-off-by: Jonathan Liu <net147@gmail.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* licenses: Fix WARNING: qt3d: No generic license file exists for: ↵Khem Raj2014-03-151-1/+1
| | | | | | | | | PREVIEW.COMMERCIAL in any provider * Provide the license text Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* qtbase-5.0.2: Fix build without -fpermissiveMartin Jansa2014-03-151-3/+3
| | | | | | | | | | | | | | | | | | | | | | | * commit in newer qt is using GLint and casting to GLuint later so it doesn't have this issue: commit 1d8ec5fae2fa4bf694b93bb6bf14a7c42c84a9b6 Author: Valery Volgutov <valery.volgutov@lge.com> Date: Tue May 21 14:18:17 2013 -0700 Fix FBO restoring in QOpenGLTextureGlyphCache * but backport to 5.0.2 is using GLuint: and causes build failure without -fpermissive: | qtbase/5.0.2-r3/qtbase-opensource-src-5.0.2/src/gui/opengl/qopengltextureglyphcache.cpp:151:51: error: invalid conversion from 'GLuint* {aka unsigned int*}' to 'GLint* {aka int*}' [-fpermissive] | glGetIntegerv(GL_FRAMEBUFFER_BINDING, &saveFbo); | ^ | /usr/include/GLES2/gl2.h:536:37: error: initializing argument 2 of 'void glGetIntegerv(GLenum, GLint*)' [-fpermissive] | GL_APICALL void GL_APIENTRY glGetIntegerv (GLenum pname, GLint* params); | ^ * resync with version from 5.1.1 to fix this Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* devshell: include PATH for qt5 native applicationsTrevor Woerner2013-10-051-0/+2
| | | | | | | | | | | | | | | | | | If you perform a "bitbake -c devshell <some qt5 recipe>" and then try "which qmake" in the devshell, you'll find your host's qmake is found (which is most likely to be based on qt4) rather than the one that is built as part of meta-qt5. The reason for this is that the qt5 items are installed to ${STAGING_DIR_NATIVE}/usr/bin/qt5 and not ${STAGING_DIR_NATIVE}/usr/bin. The reason for the extra "qt5" directory at the end is so that qt4-based items that are built in OE can live side-by-side with things from meta-qt5 without interfering with each other. This patch prepends ${STAGING_DIR_NATIVE}/usr/bin/qt5 to the devshell's PATH so that the qt5-based native tools which are built as part of meta-qt5 will be found before the host's. Signed-off-by: Trevor Woerner <trevor.woerner@linaro.org> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* qtwebkit: Export RUBYLIB to fix wrong paths hardcoded in native rubyMartin Jansa2013-10-051-0/+6
| | | | | | | * when ruby-native is reused from sstate it can contain paths pointing to wrong sysroot Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* qtwebkit: fix QA issue (bad RPATH)Trevor Woerner2013-10-032-4/+14
| | | | | | | | | Building qtwebkit causes a QA issue such that QtWebPluginProcess and QtWebProcess contain bad RPATHs which point into the build location. This fix adds a patch to not include the rpath.prf which causes this problem. Signed-off-by: Trevor Woerner <trevor.woerner@linaro.org> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* Fix download url for qt5-5.0.2.Marek Belisko2013-08-151-1/+1
| | | | | Signed-off-by: Marek Belisko <marek.belisko@open-nandra.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* Update SRC_URI to point to archived 5.0.2Abhijit Potnis2013-08-131-1/+1
| | | | | 5.0.2 sources have now been moved to archive directory on http://releases.qt-project.org/archive/qt/5.0/5.0.2/.
* qtbase.inc: Fix qtbase-tools runtime depencency on perlChristian Gagneraud2013-07-251-0/+3
| | | | | | | | | | | | | | * While building a custom rootfs using poky, meta-oe, meta-ti and meta-qt5 (all on Dylan branch), I got the following error: [...] Computing transaction...error: Can't install qtbase-tools-5.0.2-r2.0@armv7a_vfp_neon: no package provides /usr/bin/perl [...] * syncqt is perl script with /usr/bin/perl shebang, that's why rpm was complaining (other package managers in OE doesn't check that) Signed-off-by: Christian Gagneraud <chgans@gna.org> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* qtwayland: Add xproto dependency together with libxkbcommonMartin Jansa2013-07-031-1/+1
| | | | | | | | | | | | | | * xproto provides X11/keysym.h which is used when testing libxkbcommon support: executing config test xkbcommon + cd /OE/work/i586-oe-linux/qtwayland/5.1.0+git/build/config.tests/xkbcommon && /OE/sysroots/x86_64-linux/usr/bin/qt5/qmake "CONFIG -= qt debug_and_release app_bundle lib_bundle" /OE/work/i586-oe-linux/qtwayland/5.1.0+git/git/config.tests/xkbcommon + cd /OE/work/i586-oe-linux/qtwayland/5.1.0+git/build/config.tests/xkbcommon && make MAKEFLAGS='-j 9' OE_QMAKE_COMPILER='i586-oe-linux-gcc -m32 -march=i586 --sysroot=/OE/sysroots/qemux86' OE_QMAKE_CC='i586-oe-linux-gcc -m32 -march=i586 --sysroot=/OE/sysroots/qemux86' OE_QMAKE_CXX='i586-oe-linux-g++ -m32 -march=i586 --sysroot=/OE/sysroots/qemux86' OE_QMAKE_CFLAGS=' -O2 -pipe -g -feliminate-unused-debug-types' OE_QMAKE_CXXFLAGS=' -O2 -pipe -g -feliminate-unused-debug-types -fpermissive -fvisibility-inlines-hidden' OE_QMAKE_LINK='i586-oe-linux-g++ -m32 -march=i586 --sysroot=/OE/sysroots/qemux86' OE_QMAKE_LDFLAGS='-Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed' OE_QMAKE_AR='i586-oe-linux-ar' OE_QMAKE_STRIP='echo' OE_QMAKE_WAYLAND_SCANNER='/OE/sysroots/x86_64-linux/usr/bin/wayland-scanner' compiling /OE/work/i586-oe-linux/qtwayland/5.1.0+git/git/config.tests/xkbcommon/main.cpp /OE/work/i586-oe-linux/qtwayland/5.1.0+git/git/config.tests/xkbcommon/main.cpp:42:24: fatal error: X11/keysym.h: No such file or directory compilation terminated. make: *** [.obj/release-shared/main.o] Error 1 test xkbcommon FAILED Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* qtwebkit: Disable debug info by defaultMartin Jansa2013-07-031-0/+4
| | | | Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* qtbase: disable fontconfig support by defaultPhilip Craig2013-07-031-1/+7
| | | | | | | | | Currently fontconfig support is autodetected. It is better to be deterministic. Since qtbase-fonts is not installed where fontconfig will find it, it seems that current users are not using fontconfig. Signed-off-by: Philip Craig <phil@blackmoth.com.au> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* qtbase: typo about virtual/egl dependsNicolas Dechesne2013-07-031-1/+1
| | | | | | | | The proper 'virtual' name for EGL is virtual/egl, not virtual/libegl, as per meta/recipes-graphics/mesa/mesa-common.inc. Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* qtdeclarative-git: Add 2 patches from 5.0.2Martin Jansa2013-07-033-0/+82
| | | | | | | | | * 0002-Fix-null-pointer-access-in-QQuickVisualDataModelPriv.patch is applied in newer SRCREV * 0001-Fix-wrong-calculation-of-viewPort-for-transitions.patch is still pending Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* qtdeclarative: move 5.0.2 specific patches to own directoryMartin Jansa2013-07-035-0/+0
| | | | Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* qtdeclarative-5.0.2: Add 4 patches for runtime issuesFlorian Haenel2013-07-035-0/+202
| | | | | | | | | | | | * 3 backports from newer qtdeclarative: System Hang while moving App Ribbon Fix for segfault in some ListView Cases Make use of BGRA texture format to improve image upload time * 1 pending fix: Fix for ViewTransitions not working in horizontal ListViews Signed-off-by: Florian Haenel <florian.haenel@lge.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* qtwayland: Add temporary hack to build for Qt 5.0.2Janne Kiiski2013-07-031-0/+7
| | | | | | | | | | | | * Append MODULE_VERSION to .qmake.conf if missing. * resolved in newer revision: commit 4d124fea48a0d094443ed0e031c8e28ec04611a3 Author: Oswald Buddenhagen <oswald.buddenhagen@digia.com> Date: Tue Feb 26 12:56:57 2013 +0100 Subject: define MODULE_VERSION Signed-off-by: Janne Kiiski <janne.kiiski@lge.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* qtbase: patches for WebKit hardware accelerated rendering supportAlexander Irhin2013-07-037-1/+474
| | | | | | | | | | | 0018 - Offset support for QOpenGLPaintDevice is required for speedup WebKit hardware rendering. 0019 - Fix FBO restoring in QOpenGLTextureGlyphCache Jira task 0020 - Uses right texture format to exclude extra convertion. Signed-off-by: Alexander Irhin <alexander.irhin@lge.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* qtbase-5.0.2: backport fix for build with gcc-4.8Martin Jansa2013-07-032-0/+45
| | | | Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* qtjsbackend: refresh hardfloat patch from stable branchMartin Jansa2013-07-033-35/+192
| | | | Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* qtjsbackend: hardfloat patch is only needed for 5.0.2Eric BENARD2013-07-032-1/+4
| | | | | Signed-off-by: Eric Bénard <eric@eukrea.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* qtbase: install and split package fontsEric BENARD2013-07-031-2/+30
| | | | | | | | | | | | - fonts were not installed (at least in qt 5.0.2) so install them manually. - split the font package in smaller package as done in qt4 to save space on the target. - use OE_QMAKE_PATH_LIBS which corresponds with: mkspecs/features/qpa/genericunixfontdatabase.prf: fonts.path = $$[QT_INSTALL_LIBS]/fonts Signed-off-by: Eric Bénard <eric@eukrea.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* qtbase: Refresh 0016-configure-add-tslib-support.patch from stable branchMartin Jansa2013-07-032-18/+12
| | | | Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* qt3d, qtjsondb, qtlocation, qtsensors, qtsystems: bump SRCREV to latestMartin Jansa2013-07-036-32/+18
| | | | | | | | | | * WARN: because these modules weren't released yet, we need to make sure to use SRCREV compatible with selected PV for other modules, old revisions were compatible with 5.0.[01], I need to test these new SRCREVs to test git versions * tested with 5.0.2 and 5.0.2+git% Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* qtbase: refresh patchesMartin Jansa2013-07-0334-50/+185
| | | | | | | | | | | | | | | | * all patches applied in recipes should be also applied in https://github.com/meta-qt5/qtbase branches to make it easier to upgrade to new version without loosing any patches * apply: 0013-Disable-mkv8snapshot.patch 0014-enables-tslib-device-to-be-read-from-env-variable.patch 0015-qtbase-allow-build-of-examples.patch also for git version, only 0016-configure-add-tslib-support.patch is now 5.0.2 specific (similar patch already applied in stable branch) Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* qt5: drop 5.0.0 and 5.0.1 versionsMartin Jansa2013-07-0344-1410/+0
| | | | | | | | | | | | | | | | * maintaining 4 different versions requires a lot more testing of changes in .inc files and we have only one version of modules without release (only one _git.bb) and it's impossible to find SRCREV which would be compatible with all 4 versions. * 0005-AddSynchoronization-qimagereader.patch was already backported to 5.0.2 in upstream * 0001-Flickable-Fix-bug-when-flicking-twice-using-touches.patch was already applied in 5.0.2 * 5.0.2 is now default version (based on DEFAULT_PREFERENCE and in qt5-versions.inc Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* qtbase: add option to enable tslib supportEric BENARD2013-07-034-1/+122
| | | | | | | | | | | | | | - the tslib support is not enabled by default and configure doesn't have any option to active it, so add the option to the build system, - patch tslib support to get the device from the environment variable (patch taken from https://github.com/prabindh/qt-configs/blob/master/qt5_1.0_Feb13/tslib.patch - provide variable to enable tslib support in a bbappend (disabled by default) - tested on an i.MX5x target with qt 5.0.2 TODO : test with 5.0, 5.0.1 and _git Signed-off-by: Eric Bénard <eric@eukrea.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* qtdeclarative-5.0.2: fix examples compilationEric BENARD2013-07-032-0/+38
| | | | | Signed-off-by: Eric Bénard <eric@eukrea.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* qtbase-5.0.2: fix v8 and allow build of examplesEric BENARD2013-07-032-0/+53
| | | | | | | | | - fix v8 segfault (at least on armv7) - examples are only provided as sources but in our case, binaries are more interesting for user to test the features on the target. Signed-off-by: Eric Bénard <eric@eukrea.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* qtbase: remove non existing partsEric BENARD2013-07-032-3/+0
| | | | | | | make/nomake demos doesn't exist in qt5. Signed-off-by: Eric Bénard <eric@eukrea.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* qtbase: add 0004-Disable-mkv8snapshot.patch to 5.0.1Eric BENARD2013-07-031-0/+2
| | | | | | | else qml application segfault. Signed-off-by: Eric Bénard <eric@eukrea.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* qtjsbackend: fix hardfloat detection in v8Eric BENARD2013-07-032-0/+34
| | | | | Signed-off-by: Eric Bénard <eric@eukrea.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* qt: package examplesEric BENARD2013-07-031-1/+28
| | | | | Signed-off-by: Eric Bénard <eric@eukrea.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* Allow to control (disable) widgets buildOleg Shparber2013-07-031-0/+2
| | | | Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* qtbase: Don't use immediate expansion for OE_QMAKE_QMAKE_ORIGMartin Jansa2013-05-241-1/+1
| | | | | | * full path is part of sstate checksum with immediate expansion Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* qtbase: refresh patches, drop 2 unusedMartin Jansa2013-05-2141-230/+162
| | | | | | | | | | | | | * drop Change-Ids, add Upstream-Status * 0010-qmake-property-rename-QT_INSTALL_CONFIGURATION-to-QT.patch was rejected upstream, 0007 was only in meta-qt5/qtbase repo, but wasn't used in recipes * 0004-Disable-mkv8snapshot.patch and 0005-AddSynchoronization-qimagereader.patch are special, because they are applied only to 5.0.0 Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* qtbase: fix qlibrayinfo patchMartin Jansa2013-05-213-45/+18
| | | | | | | | * returning QSettings even without existing qtconfig was causing, e.g. QLibraryInfo::location(QLibraryInfo::PluginsPath) returning "`pwd`/plugins" instead of correct "/usr/lib/qt5/plugins" Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* qmake5_base: Define OE_QMAKE_PATH_QT_* variablesMartin Jansa2013-05-092-18/+18
| | | | | | | | * and move it to separate .bbclass which is easier to replace in distro layer when you don't care about conflicts with qt4 Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* qmake5: move default do_configure and do_install to qmake5.bbclassMartin Jansa2013-05-091-8/+0
| | | | * it's useful for many recipes outside qt5 and easy to overwrite when needed
* qtbase: drop setting arch and endianMartin Jansa2013-05-093-27/+0
| | | | | | | | | * endian option was removed from configure * arch/host-arch option is now deprecated and configure shows warning when it's used * both are now autodetected Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* qtbase: use EXTRA_OEMAKE also in config.tests executed in do_configureMartin Jansa2013-05-095-0/+107
| | | | Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* qtbase: move virtual/libgl dependency to extra variableSimon Busch2013-05-091-5/+11
| | | | | | | | | | | | | | * makes it easier to change desktop gl to gles2 in .bbappend * we cannot explicitly disable opengl with -no-opengl, because then it fails to build (probably only when mesa headers are found in sysroot) /qtbase-opensource-src-5.0.0/src/platformsupport/eglconvenience/qeglplatformcontext.cpp:62:72: error: 'QPlatformOpenGLContext' has not been declared /qtbase-opensource-src-5.0.0/src/platformsupport/eglconvenience/qeglplatformcontext.cpp: In constructor 'QEGLPlatformContext::QEGLPlatformContext(const QSurfaceFormat&, int*, EGLDisplay, EGLenum)': /qtbase-opensource-src-5.0.0/src/platformsupport/eglconvenience/qeglplatformcontext.cpp:69:70: error: invalid static_cast from type 'int*' to type 'QEGLPlatformContext*' The same with 5.0.2 Signed-off-by: Simon Busch <morphis@gravedo.de> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* qmake5: drop QT_DIR_NAME subdirectory from many OE_QMAKE_PATH_* variables ↵Martin Jansa2013-05-094-4/+27
| | | | | | | | | | | | | | | | | and add it back in qt5.inc * we're using QT_DIR_NAME subdirectory mostly to prevent conflicts with existing files from qt4 but setting it in all OE_QMAKE_PATH_* variables causes all apps which are just using qmake to build to install e.g. in /qt5 which for stuff like qterminal or something doesn't sound right (as long as there isn't qterminal4 and qterminal5 recipe) * some variables are kept with default QT_DIR_NAME, e.g. qml, imports, plugins we can assume that every application which installs some QML files will install them in location shared by all * add qt5-native.inc which also adds this QT_DIR_NAME and common inherits (later will be used also by qtwayland-native.inc) Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* qmake5: Fix cleaning separate build directory and use it by defaultMartin Jansa2013-05-095-34/+1
| | | | | | | | | | | | * "${B}/*" in quotes doesn't match anything, better to remove whole directory (incluing .files) and recreate it * not sure why I've added quotes after testing first version, we don't expect B with spaces.. but I'm a bit scared with rm -rf ${SOME_VAR} after one glibc upgrade cleaned my whole disk and attached NFS array when OLD_LOCALE_PATH wasn't detected correctly... * qmake works well with separate B, use it by default Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* qmake5_base: export OE_QMAKE variables only in qtbase recipesMartin Jansa2013-05-092-0/+22
| | | | Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* qt5: drop 'unset LD', qmake should now handle QMAKE_LINK correctlyMartin Jansa2013-05-094-12/+0
| | | | Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* qtbase: add patch to fix build with LD exported in envMartin Jansa2013-05-095-0/+131
| | | | Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* qmake5: use QT_CONF_PATH variable in do_generate_qt_config_fileMartin Jansa2013-05-091-1/+1
| | | | Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* qtlocation: add qtjsondb instead of qtdeclarative dependencyMartin Jansa2013-05-071-1/+2
| | | | Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* qtwebkit: add qtlocation and qtsensors dependencyMartin Jansa2013-05-071-1/+1
| | | | Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>