Package Details: qt5-wayland-git a-3

Git Clone URL: https://aur.archlinux.org/qt5-wayland-git.git (read-only)
Package Base: qt5-wayland-git
Description: A cross-platform application and UI framework (QtWayland)
Upstream URL: http://code.qt.io/cgit/qt/qtwayland.git/
Licenses: GPL3, LGPL
Conflicts: qt5-wayland
Provides: qt5-wayland
Submitter: plfiorini
Maintainer: swiftgeek (TheAifam5)
Last Packager: TheAifam5
Votes: 11
Popularity: 0.000000
First Submitted: 2013-12-16 19:10
Last Updated: 2015-10-06 22:20

Required by (24)

Sources (1)

Latest Comments

« First ‹ Previous 1 2 3 4 Next › Last »

TheAifam5 commented on 2014-11-23 23:16

https://qt.gitorious.org/qt/qtwayland/source/5.4:

QtWayland 5.4

stozi commented on 2014-10-23 15:14

Previously I had succeded in making the package but not in using it. Now that beta came out I tried again, but with the default or custom PKBUILD or with the hawaii version I get errors like this:

make[2]: Entering directory '/home/media/downloads/builds/qt5-wayland-git/src/qt5-wayland/build/src/client'
make[2]: *** No rule to make target '/usr/lib/libQt5PlatformSupport.a', needed by '../../lib/libQt5WaylandClient.so.5.4.0'. Stop.
make[2]: Leaving directory '/home/media/downloads/builds/qt5-wayland-git/src/qt5-wayland/build/src/client'
Makefile:69: recipe for target 'sub-client-make_first' failed
make[1]: *** [sub-client-make_first] Error 2
make[1]: Leaving directory '/home/media/downloads/builds/qt5-wayland-git/src/qt5-wayland/build/src'
Makefile:44: recipe for target 'sub-src-make_first' failed
make: *** [sub-src-make_first] Error 2
==> ERROR: A failure occurred in build().
Aborting...

fluxboxer commented on 2014-07-31 13:30

stozi's version below works and works without trying to build the git versions of already installed packages.

fluxboxer commented on 2014-07-29 20:08

WARNING: /tmp/yaourt-tmp-burak/aur-qt5-xmlpatterns-git/src/qt5-xmlpatterns/qtxmlpatterns.pro:1: Unable to find file for inclusion qt_parts
g++ -Wl,-O1,--sort-common,--as-needed,-z,relro -Wl,-O1 -o qtxmlpatterns -L/usr/lib -lQtGui -lQtCore -lpthread
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.9.0/../../../../lib/crt1.o: In function `_start':
(.text+0x20): undefined reference to `main'
collect2: error: ld returned 1 exit status
Makefile:104: recipe for target 'qtxmlpatterns' failed
make: *** [qtxmlpatterns] Error 1
==> ERROR: A failure occurred in prepare().
Aborting...
==> ERROR: Makepkg was unable to build qt5-xmlpatterns-git.
==> Restart building qt5-xmlpatterns-git ? [y/N]

swiftgeek commented on 2014-06-06 11:15

I meant that i have no idea if it segfaults because of QMAKE_LIBS_PRIVATE or nvidia (pkgbuild like the one below)

plfiorini commented on 2014-06-06 10:36

@swiftgeek: that's kind of expected, nvidia binary blob doesn't play nice with wayland

stozi commented on 2014-06-06 10:19

Neither wayland nor wayland-egl works for me with ati. Why not change the PKGBUILD to the following, functional one? Note, branch 5.3 appeared yesterday:

# Maintainer: Pier Luigi Fiorini <pierluigi.fiorini@gmail.com>

pkgname=qt5-wayland-git
pkgver=v5.3
pkgrel=1
pkgdesc="A cross-platform application and UI framework (QtWayland)"
arch=('i686' 'x86_64')
url="http://qt-project.org/"
license=('GPL3' 'LGPL')
depends=('qt5-base' 'qt5-declarative' 'libxcomposite' 'wayland')
makedepends=('git' 'qtchooser')
conflicts=('qt5-wayland')
options=('!libtool' 'debug')
source=(git://gitorious.org/qt/qtwayland.git#branch=5.3)
md5sums=('SKIP')

pkgver() {
cd qtwayland
git describe --always | sed 's|-|.|g'
}

build() {
export QT_SELECT=5

cd qtwayland
qmake CONFIG+=wayland-compositor QMAKE_LIBS_PRIVATE+="-lfontconfig -lfreetype -lXrender"
make
}

package() {
cd qtwayland
make INSTALL_ROOT="${pkgdir}" install
}

swiftgeek commented on 2014-04-30 16:42

"wayland-egl" seems to be broken while "wayland" works… at least on nvidia's binary blob

haagch commented on 2014-04-30 15:16

Nice, for the first time ever I could build this. stable branch is always broken, it fails immediately with some function signatures not matching etc. But dev *almost* works out of the box.

Changing the qmake line to
qmake CONFIG+=wayland-compositor QMAKE_LIBS_PRIVATE+="-lfontconfig -lfreetype -lXrender"
does get rid of the linking problem. I think you should just change it in the PKGBUILD until it is fixed in archlinux because it is very non-invasive anyway.

The dev currently only has this problem:

../../../hardwareintegration/client/wayland-egl/qwaylandeglwindow.h:73:10: error: 'void QWaylandEglWindow::invalidateSurface()' marked override, but does not override

Workaround:
sed -i "s,void invalidateSurface() Q_DECL_OVERRIDE;,void invalidateSurface();,g" src/hardwareintegration/client/wayland-egl/qwaylandeglwindow.h

Then it compiles and actually works.

Anyway, it took me literally less than a minute to crash weston:
Open weston in X, open a weston terminal, run qtcreator -platform wayland, go to help - about plugins, close the window, then close the qt creator main window with X, weston crashes.

I'm not sure what to think of this. Only that qtwayland really needs to be included in upstream qt, because in literally every active branch something else is broken.

jleclanche commented on 2014-04-30 08:01

I don't see what you mean by "forking". qt5-wayland-git is the dev branch, as it is with the other qt5-*-git packages. Feel free to create qt5-wayland-stable-git.