Package Details: mingw-w64-qt5-base 5.7.0-8

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, GPL3, LGPL3, FDL
Groups: mingw-w64-qt, mingw-w64-qt5
Submitter: Martchus
Maintainer: Martchus
Last Packager: Martchus
Votes: 7
Popularity: 1.123459
First Submitted: 2016-08-30 21:28
Last Updated: 2016-09-18 17:30

Sources (24)

  • https://download.qt.io/official_releases/qt/5.7/5.7.0/submodules/qtbase-opensource-src-5.7.0.tar.xz
  • qt5-add-angle-and-dynamic-support.patch
  • qt5-allow-usage-of-static-qt-with-cmake.patch
  • qt5-customize-extensions-for-static-build.patch
  • qt5-disable-default-lib-include-detection.patch
  • 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-linking-against-static-dbus.patch
  • qt5-fix-linking-against-static-pcre.patch
  • qt5-fix-opengl-to-many-sections.patch
  • qt5-fix-static-psql-mysql.patch
  • qt5-fixes-from-mxe.patch
  • qt5-merge-static-and-shared-library-trees.patch
  • qt5-prevent-debug-library-names-in-pkgconfig-files.patch
  • qt5-rename-qtmain-to-qt5main.patch
  • qt5-use-correct-pkg-config-static-flags.patch
  • qt5-use-external-angle-library.patch
  • qt5-use-pkgconfig-for-harfbuzz.patch
  • qt5-use-system-zlib-in-host-libs.patch
  • qt5-use-win32-g++-mkspecs-profile.patch
  • qt5-win32-static-cmake-link-ws2_32-and--static.patch
  • qt5-workaround-pkgconfig-install-issue.patch

Pinned Comments

Martchus commented on 2016-07-10 19:47

All my packages are managed at GitHub where you can also contribute directly: https://github.com/Martchus/PKGBUILDs
Patches for this package are managed at: https://github.com/Martchus/qtbase/tree/5.7.0-mingw-w64

There also exist a binary repository: https://martchus.no-ip.biz/repo/arch/ownstuff

If you would like to contribute, here is a list of known bugs and things needing improvement:
- Currently the build system tries to link against the already installed version of the bootstrap library (if present) and not the new one. This leads to compile errors. Hence the package must be built in a clean chroot or at least the previous version must be uninstalled before rebuilding.
- The linker library search paths for applications which need to be build for the host architecture aren't set correctly. Hence those paths are currently set manually (see comment in mingw-w64-qt5-declarative for example).
- Compiling QtAV using the ANGLE version doesn't work. I don't know whether other applications/libs using OpenGL via Qt are also affected but it is very likely.
- i686 version of the WebKit module doesn't work. See the comment in mingw-w64-qt5-webkit. Could be a mingw-w64 bug.
- The latest version of WebKit module (5.7.0) doesn't build at all.
- The licenses might need to be updated, see https://bugs.archlinux.org/task/49804.

Also note the comments about the different variants inside the PKGBUILD itself.

Latest Comments

Salamandar commented on 2016-09-12 16:55

mingw-w64-postgresql-libs does not exist in the AUR, please change the dependency to mingw-w64-postgresql ;)

Martchus commented on 2016-08-31 20:11

I updated the mingw-w64-qt5-base packages to fix issues with the static version and to make the static version usable with CMake. (See the comments in the PKGBUILD.)

Also, the variant using native OpenGL is now the default variant. I made this decision because building ANGLE with mingw-w64 is problematic. Of course the ANGLE version is still available (mingw-w64-qt5-base-angle), it is just not the default package anymore. The static version now also provides OpenGL support (via native OpenGL) to be able to build static versions of further Qt modules and statically linked applications requiring OpenGL.

I will also update the other Qt packages to provide static libraries. Whether the static libraries are built can be controlled by setting environment variables so it will be possible to avoid the static build if not required.

Martchus commented on 2016-07-10 19:47

All my packages are managed at GitHub where you can also contribute directly: https://github.com/Martchus/PKGBUILDs
Patches for this package are managed at: https://github.com/Martchus/qtbase/tree/5.7.0-mingw-w64

There also exist a binary repository: https://martchus.no-ip.biz/repo/arch/ownstuff

If you would like to contribute, here is a list of known bugs and things needing improvement:
- Currently the build system tries to link against the already installed version of the bootstrap library (if present) and not the new one. This leads to compile errors. Hence the package must be built in a clean chroot or at least the previous version must be uninstalled before rebuilding.
- The linker library search paths for applications which need to be build for the host architecture aren't set correctly. Hence those paths are currently set manually (see comment in mingw-w64-qt5-declarative for example).
- Compiling QtAV using the ANGLE version doesn't work. I don't know whether other applications/libs using OpenGL via Qt are also affected but it is very likely.
- i686 version of the WebKit module doesn't work. See the comment in mingw-w64-qt5-webkit. Could be a mingw-w64 bug.
- The latest version of WebKit module (5.7.0) doesn't build at all.
- The licenses might need to be updated, see https://bugs.archlinux.org/task/49804.

Also note the comments about the different variants inside the PKGBUILD itself.

Edric commented on 2015-11-16 17:18

Patching configure file like so fixes QSemaphore problem

@@ -4456,7 +4456,7 @@
if compileTest unix/ipc_posix "ipc_posix" ; then
QCONFIG_FLAGS="$QCONFIG_FLAGS QT_POSIX_IPC"
else
- if [ "$XPLATFORM_ANDROID" = "no" ] ; then
+ if [ "$XPLATFORM_ANDROID" = "no"] && ["$XPLATFORM_MINGW" = "no" ] ; then
QCONFIG_FLAGS="$QCONFIG_FLAGS QT_NO_SYSTEMSEMAPHORE QT_NO_SHAREDMEMORY"
fi
fi

ant32 commented on 2015-09-17 18:09

http://sourceforge.net/projects/mingw-w64-archlinux/files/x86_64/mingw-w64-qt5-base-opengl-5.5.0-1-x86_64.pkg.tar.xz/download

Edric commented on 2015-09-17 16:09

You're right. Did a full rebuild on a clean docker.

ant32 commented on 2015-09-16 23:20

I'm thinking it somehow tries linking the the native or installed mingw-qt5 build. You probably need to uninstall either or both before building or build in a clean chroot. I currently don't want to take the time to find the bug.

Edric commented on 2015-09-16 15:19

Seems i have undefined symbols :


cd widgets/ && ( test -e Makefile || /home/edric/Downloads/mingw-w64-qt5-base-opengl/src/build-x86_64-w64-mingw32/bin/qmake /home/edric/Downloads/mingw-w64-qt5-base-opengl/src/qtbase-opensource-src-5.5.0/src/widgets/widgets.pro -o Makefile ) && make -f Makefile
WARNING: Failure to find: .obj/release/Qt5Widgets_resource_res.o
WARNING: Failure to find: .obj/debug/Qt5Widgetsd_resource_res.o
/home/edric/Downloads/mingw-w64-qt5-base-opengl/src/build-x86_64-w64-mingw32/bin/uic: symbol lookup error: /home/edric/Downloads/mingw-w64-qt5-base-opengl/src/build-x86_64-w64-mingw32/bin/uic: undefined symbol: _ZN7QString14toLower_helperERS_
/home/edric/Downloads/mingw-w64-qt5-base-opengl/src/build-x86_64-w64-mingw32/bin/uic: symbol lookup error: /home/edric/Downloads/mingw-w64-qt5-base-opengl/src/build-x86_64-w64-mingw32/bin/uic: undefined symbol: _ZN7QString14toLower_helperERS_
make[2]: Entering directory '/home/edric/Downloads/mingw-w64-qt5-base-opengl/src/build-x86_64-w64-mingw32/src/widgets'
make -f Makefile.Release
make[3]: Entering directory '/home/edric/Downloads/mingw-w64-qt5-base-opengl/src/build-x86_64-w64-mingw32/src/widgets'
/home/edric/Downloads/mingw-w64-qt5-base-opengl/src/build-x86_64-w64-mingw32/bin/uic /home/edric/Downloads/mingw-w64-qt5-base-opengl/src/qtbase-opensource-src-5.5.0/src/widgets/dialogs/qfiledialog.ui -o .uic/ui_qfiledialog.h
/home/edric/Downloads/mingw-w64-qt5-base-opengl/src/build-x86_64-w64-mingw32/bin/uic: symbol lookup error: /home/edric/Downloads/mingw-w64-qt5-base-opengl/src/build-x86_64-w64-mingw32/bin/uic: undefined symbol: _ZN7QString14toLower_helperERS_

Thanks for all the work

ant32 commented on 2015-08-10 16:06

Yes. I'm hoping to do it this week. I spent some hours updating patches but see now that Fedora updated so copying there patches shouldn't be much work.

Edric commented on 2015-08-10 14:15

Hi,

any plan to bump this to 5.5 ?

Thanks,

All comments