Package Details: mingw-w64-qt5-base 5.6.0-2

Git Clone URL: https://aur.archlinux.org/mingw-w64-qt5-base.git (read-only)
Package Base: mingw-w64-qt5-base
Description: A cross-platform application and UI framework (mingw-w64)
Upstream URL: https://www.qt.io/
Licenses: custom, FDL, GPL3, LGPL
Groups: mingw-w64-qt, mingw-w64-qt5
Submitter: ant32
Maintainer: Martchus
Last Packager: Martchus
Votes: 13
Popularity: 0.023452
First Submitted: 2013-08-28 23:56
Last Updated: 2016-03-29 16:51

Sources (18)

  • add-angle-support.patch
  • fix-opengl-to-many-sections.patch
  • fix-static-psql-mysql.patch
  • https://download.qt.io/official_releases/qt/5.6/5.6.0/submodules/qtbase-opensource-src-5.6.0.tar.xz
  • qt5-dont-add-resource-files-to-qmake-libs.patch
  • qt5-dont-build-host-libs-static.patch
  • qt5-enable-rpath-for-host-tools.patch
  • qt5-fix-implib-ext.patch
  • qt5-fix-QSemaphore-problem.patch
  • qt5-fix-static-dbus-detection.patch
  • qt5-prevent-debug-library-names-in-pkgconfig-files.patch
  • qt5-qtbase-fix-linking-against-static-pcre.patch
  • qt5-rename-qtmain-to-qt5main.patch
  • qt5-use-system-zlib-in-host-libs.patch
  • qt5-use-win32-g++-mkspecs-profile.patch
  • qt5-workaround-pkgconfig-install-issue.patch
  • qtbase-1-fixes.patch
  • use-external-angle-library.patch

Latest Comments

Martchus commented on 2016-03-28 21:23

Do not update to 5.6.0 if you want to link against Qt in a CMake project. I just found out that this is currently broken. I think I fixed it but I need to test before pushing the changes.
EDIT: The issue should be resolved now.

FoPref commented on 2016-03-28 17:15

Thank you very much for your work on this.
I tried mingw-w64-qt5-base-opengl 5.6 from your repository and it works great!

Martchus commented on 2016-03-27 21:03

xantares: No reason to say sorry - I've already updated all mingw-w64-qt5-* packages on my GitHub repo (https://github.com/Martchus/PKGBUILDs).

However, building the WebKit module didn't work when I tried it last time. I did a few adjustments and it might work now, but I still need to test before committing the changes. I still need to test whether the other modules actually work, too.

These packages where originally based on the Fedora packages. Because Fedora devs haven't updated yet and use a very old version of ANGLE I needed to do some adjustments on my own. I hope I didn't break anything.

There are also some new packages available: mingw-w64-qt5-{canvas3d,connectivity,quickcontrols2}

The package mingw-w64-qt5-quick1 is no longer available in Qt 5.6.0 so it won't be updated.

xantares commented on 2016-03-09 08:35

thanks a bunch!

Martchus commented on 2016-03-08 23:38

Fixed it. At least for me it works now. (I haven't tested whether it actually runs, but it compiles without errors.) For changes see the commit message. Rebuild mingw-w64-angleproject first because it needed to be fixed as well.

Martchus commented on 2016-03-07 18:26

When comparing the mentioned header files I've noticed that the new version only adds the relevant definitions if GL_GLEXT_PROTOTYPES is defined. So defining GL_GLEXT_PROTOTYPES should fix this issue.

I'm currently trying to rebuild. If I am correct I'll updated the PKGBUILD. It might be a good idea to check the other Qt modules (especially Qt Webkit), too.

Martchus commented on 2016-03-07 18:00

nickoe: This build script does not use the dynamic switch. (I already thought about using it, but for now the priority is to make the current version work first.)

I'm trying to figure out what's going on later. I guess it has something to do with the updated ANGLE.

nickoe commented on 2016-03-07 17:51

I see the same error. Maybe related to:
https://bugreports.qt.io/browse/QTBUG-43993
https://bugreports.qt.io/browse/QTBUG-45451

Martchus commented on 2016-03-07 15:05

I can reproduce the error. The build process also stops at the command which creates the dynamic DLL for the network module. The DLL is created seems to be correctly built, so this last command actually succeeded. However, I was able to build mingw-w64-qt5-base-{opengl,static}.

I doubt that I've run out of memory. I didn't build in a tmpfs and the server has 8 GiB RAM and most of it is not used.

When trying to build this manually, I'm getting the following errors:
x86_64-w64-mingw32-g++ -c -include .pch/release/qt_gui_pch.h -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 -std=c++0x -fno-exceptions -frtti -Wall -Wextra -DUNICODE -DQT_NO_MTDEV -DQT_NO_LIBUDEV -DQT_NO_EVDEV -DQT_NO_TSLIB -DQT_NO_LIBINPUT -DQT_NO_USING_NAMESPACE -DQT_BUILD_GUI_LIB -DQT_BUILDING_QT -D_CRT_SECURE_NO_WARNINGS -D_USE_MATH_DEFINES -DQT_NO_CAST_TO_ASCII -DQT_ASCII_CAST_WARNINGS -DQT_MOC_COMPAT -DQT_USE_QSTRINGBUILDER -DQT_DEPRECATED_WARNINGS -DQT_DISABLE_DEPRECATED_BEFORE=0x040800 -DQT_ENABLE_HARFBUZZ_NG -DQT_OPENGL_ES_2 -DQT_OPENGL_ES_2_ANGLE -DQT_NO_EXCEPTIONS -DQT_NO_DEBUG -DQT_CORE_LIB -I/build/mingw-w64-qt5-base/src/qtbase-opensource-src-5.5.1/src/gui -I. -I/usr/x86_64-w64-mingw32/include/dbus-1.0 -I/usr/x86_64-w64-mingw32/lib/dbus-1.0/include -I/build/mingw-w64-qt5-base/src/qtbase-opensource-src-5.5.1/include -I/build/mingw-w64-qt5-base/src/qtbase-opensource-src-5.5.1/include/QtGui -I../../include -I../../include/QtGui -I/build/mingw-w64-qt5-base/src/qtbase-opensource-src-5.5.1/include/QtGui/5.5.1 -I/build/mingw-w64-qt5-base/src/qtbase-opensource-src-5.5.1/include/QtGui/5.5.1/QtGui -Itmp -I/build/mingw-w64-qt5-base/src/qtbase-opensource-src-5.5.1/include/QtCore/5.5.1 -I/build/mingw-w64-qt5-base/src/qtbase-opensource-src-5.5.1/include/QtCore/5.5.1/QtCore -I/build/mingw-w64-qt5-base/src/qtbase-opensource-src-5.5.1/include/QtCore -I../../include/QtCore -I.moc/release -I/build/mingw-w64-qt5-base/src/qtbase-opensource-src-5.5.1/mkspecs/win32-g++ -o .obj/release/qplatformgraphicsbuffer.o /build/mingw-w64-qt5-base/src/qtbase-opensource-src-5.5.1/src/gui/kernel/qplatformgraphicsbuffer.cpp
In file included from /build/mingw-w64-qt5-base/src/qtbase-opensource-src-5.5.1/include/QtGui/qopenglfunctions.h:1:0,
from /build/mingw-w64-qt5-base/src/qtbase-opensource-src-5.5.1/include/QtGui/QOpenGLFunctions:1,
from /build/mingw-w64-qt5-base/src/qtbase-opensource-src-5.5.1/src/gui/kernel/qplatformgraphicsbuffer.cpp:36:
/build/mingw-w64-qt5-base/src/qtbase-opensource-src-5.5.1/include/QtGui/../../src/gui/opengl/qopenglfunctions.h: In Elementfunktion »void QOpenGLFunctions::glBindTexture(GLenum, GLuint)«:
/build/mingw-w64-qt5-base/src/qtbase-opensource-src-5.5.1/include/QtGui/../../src/gui/opengl/qopenglfunctions.h:570:5: Fehler: »::glBindTexture« wurde nicht deklariert
::glBindTexture(target, texture);
^
/build/mingw-w64-qt5-base/src/qtbase-opensource-src-5.5.1/include/QtGui/../../src/gui/opengl/qopenglfunctions.h: In Elementfunktion »void QOpenGLFunctions::glBlendFunc(GLenum, GLenum)«:
/build/mingw-w64-qt5-base/src/qtbase-opensource-src-5.5.1/include/QtGui/../../src/gui/opengl/qopenglfunctions.h:581:5: Fehler: »::glBlendFunc« wurde nicht deklariert
::glBlendFunc(sfactor, dfactor);
^
/build/mingw-w64-qt5-base/src/qtbase-opensource-src-5.5.1/include/QtGui/../../src/gui/opengl/qopenglfunctions.h: In Elementfunktion »void QOpenGLFunctions::glClear(GLbitfield)«:
/build/mingw-w64-qt5-base/src/qtbase-opensource-src-5.5.1/include/QtGui/../../src/gui/opengl/qopenglfunctions.h:592:5: Fehler: »::glClear« wurde nicht deklariert
::glClear(mask);

So my suspicion ANGLE causes the error might be correct. The symbols which are not declared are actually declared in gl2.h which is present in the previous ANGLE version as well as in the new package in the same location with almost the same content. That's what I've figured out till now.

ant32 commented on 2016-03-07 05:12

@xantares
Because it looks like it failed during linking makes me think that you ran out of memory while building. Could you try building using makepkg and not yaourt? If you are using multiple cores to build using the -j flag the error could be further back. I'll update my computer and try rebuilding and see if I come up with any errors

All comments