Package Details: mingw-w64-qt5-base 5.15.2+kde+r172-1

Git Clone URL: https://aur.archlinux.org/mingw-w64-qt5-base.git (read-only, click to copy)
Package Base: mingw-w64-qt5-base
Description: A cross-platform application and UI framework, native OpenGL backend (mingw-w64)
Upstream URL: https://www.qt.io/
Licenses: custom, GPL3, LGPL3, FDL
Groups: mingw-w64-qt5
Submitter: Martchus
Maintainer: Martchus
Last Packager: Martchus
Votes: 19
Popularity: 0.000024
First Submitted: 2016-08-30 21:28
Last Updated: 2021-04-14 09:51

Sources (32)

Pinned Comments

Martchus commented on 2021-04-14 10:08

I've been updating this package and some further modules to use patches from KDE's fork. This is in accordance with the native Qt packages. As far as I know KDE's fork is not tagging releases. However, I will not pick up every single new commit on their branch but only update the package when it is worth it. Only flag the package as out-of-date if there are patches on their branch which are generally very important.

Martchus commented on 2020-09-13 11:42

Notes regarding 5.15.1 update

  • With this update I finally splitted all static libraries from further Qt repositories into their own packages as well. So now there's not only mingw-w64-qt5-base-static but also mingw-w64-qt5-svg-static, mingw-w64-qt5-declarative-static and so on. The static version is still sharing files with the shared version and as such depends on the shared packages. However, this change allows to avoid building all the static libraries if only shared libraries are required. If you've so far used static libraries from further Qt modules be sure to install the additional *-static packages.
  • Otherwise there were not much build system changes on the Qt side so I don't think this update broke much.
  • As stated in the sticky comment I'm thinking about Qt 6 packaging but this also means I'm not going to take much effort to address any outstanding bugs/limitations for the Qt 5 packages anymore (broken ANGLE build, build Qt WebEngine, …).
  • This is the last official release of the 5.x. Let's see whether further updates for the 5.x branch will be made available by the community. If the regular qt5-base packages picks up such commits I could update this package here as well.

Martchus commented on 2018-05-29 08:29

Before upgrading, be sure to remove the old version of the package from your system. Preferably, build the package in a clean chroot using makechrootpkg.

Also, please read the other comments and issues on GitHub for known bugs and limitations.

There also exist a binary repository: https://martchus.no-ip.biz/repo/arch/ownstuff, https://wiki.archlinux.org/index.php/Unofficial_user_repositories#ownstuff

Martchus commented on 2018-03-11 20:19

@theone74 It is currently not possible to use the MariaDB plugin with the static version of Qt because mariadb-connector-c comes with its own pthread implementation which has conflicting symbols with the pthread library Qt uses. Since some PostgreSQL update the same is true for the PostgreSQL plugin.

So you have to disable the plugin. When using CMake, plugins are not be automatically added so you should not run into the issue by default. When using qmake you need to disable the plugin manually, eg. you can add the following arguments to enable only the plugins which actually work:

CONFIG+=no_smart_library_merge QTPLUGIN.sqldrivers=qsqlite QTPLUGIN.sqldrivers+=qsqlodbc CONFIG+=static

(https://github.com/Martchus/PKGBUILDs/blob/master/qt5-tools/mingw-w64-static/PKGBUILD#L45)

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.11.0-mingw-w64
if you like to contribute to patches, read this: https://github.com/Martchus/PKGBUILDs/#contributing-to-patches

If you would like to contribute, here is a list of known bugs and things needing improvement:

  • 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 which is quite hacky. Affected packages are mingw-w64-qt5-declarative and mingw-w64-qt5-tools and (also the apple-darwin versions).
  • 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.
  • Updating mingw-w64-qt5-webkit to ng version.
  • See also https://github.com/Martchus/PKGBUILDs/issues

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

Latest Comments

« First ‹ Previous ... 2 3 4 5 6 7 8 Next › Last »

Martchus commented on 2016-12-22 10:30

All patches have been rebased already. Just linker error in location module (and maybe errors further in the build process) are currently blocking update to 5.7.1.

luspi commented on 2016-12-16 03:49

Thanks for your packages, but the md5sums for the patches are wrong here...

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.11.0-mingw-w64
if you like to contribute to patches, read this: https://github.com/Martchus/PKGBUILDs/#contributing-to-patches

If you would like to contribute, here is a list of known bugs and things needing improvement:

  • 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 which is quite hacky. Affected packages are mingw-w64-qt5-declarative and mingw-w64-qt5-tools and (also the apple-darwin versions).
  • 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.
  • Updating mingw-w64-qt5-webkit to ng version.
  • See also https://github.com/Martchus/PKGBUILDs/issues

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