Package Details: mingw-w64-qt5-base 5.13.0-1

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-qt5
Submitter: Martchus
Maintainer: Martchus
Last Packager: Martchus
Votes: 19
Popularity: 0.691784
First Submitted: 2016-08-30 21:28
Last Updated: 2019-06-26 12:44

Dependencies (17)

  • mingw-w64-crt
  • mingw-w64-dbus
  • mingw-w64-harfbuzz
  • mingw-w64-libjpeg-turbo
  • mingw-w64-libpng
  • mingw-w64-openssl
  • mingw-w64-pcre2
  • mingw-w64-sqlite
  • mingw-w64-zlib
  • mingw-w64-gcc (make)
  • mingw-w64-mariadb-connector-c (make)
  • mingw-w64-pkg-config (make)
  • mingw-w64-postgresql (make)
  • mingw-w64-vulkan-headers (make)
  • mingw-w64-mariadb-connector-c (optional) – MySQL support
  • mingw-w64-mesa (optional) – use LLVMpipe software rasterizer for Qt Quick
  • mingw-w64-postgresql (optional) – PostgreSQL support

Required by (0)

Sources (34)

Pinned Comments

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

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

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


BTW: Patches to fix this are welcome of course. Since I don't use the plugin myself, I'm currently not motivated to take the effort myself. Updating the mariadb-connector-c packages is also not done yet.

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<br> 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 1 2 3 4 5 6 7 Next › Last »

Martchus commented on 2016-12-31 14:01

@dviktor Seems like something is completely messed in your build. Have you tried to discard it completely and rebuild from the scratch (preferably in clean chroot, at you have to uninstall previous version of the package)?

It would be also helpful to have English error messages. I assume the header file can not be found? Actually it is quite strange that those header files are included when building the Windows version.

dviktor commented on 2016-12-31 10:08

Some errors:

../../../../qtbase-opensource-src-5.7.1/config.tests/unix/getifaddrs/getifaddrs.cpp:48:24: фатальная ошибка: sys/socket.h: Нет такого файла или каталога
#include <sys/socket.h>

../../../../qtbase-opensource-src-5.7.1/config.tests/unix/ppoll/ppoll.cpp:41:18: фатальная ошибка: poll.h: Нет такого файла или каталога
#include <poll.h>

../../../../qtbase-opensource-src-5.7.1/config.tests/unix/openvg/openvg.cpp:46:23: фатальная ошибка: VG/openvg.h: Нет такого файла или каталога
#include <VG/openvg.h>

../../../../qtbase-opensource-src-5.7.1/config.tests/unix/alsa/alsatest.cpp:40:28: фатальная ошибка: alsa/asoundlib.h: Нет такого файла или каталога
#include <alsa/asoundlib.h>

i686-w64-mingw32-g++ -g -shared -Wl,-subsystem,windows -Wl,--out-implib,/home/viktor/.cache/pacaur/mingw-w64-qt5-base/src/build-i686-w64-mingw32/lib/libQt5Gui.dll.a -o ../../lib/Qt5Gui.dll object_script.Qt5Gui.Release -lcomdlg32 -loleaut32 -limm32 -luuid -ladvapi32 -ljpeg -lpng -L/usr/i686-w64-mingw32/lib -lharfbuzz -lglib-2.0 -lws2_32 -lole32 -lwinmm -lshlwapi -lpcre -lintl -liconv -lgraphite2 -lfreetype -lbz2 -lglu32 -lopengl32 -lgdi32 -luser32 -L/home/viktor/.cache/pacaur/mingw-w64-qt5-base/src/build-i686-w64-mingw32/lib /usr/i686-w64-mingw32/lib/libQt5Core.dll.a -lharfbuzz -lz -lpng16
./.obj/release/qtextdocument_p.o: In function `ZN16QFragmentMapDataI17QTextFragmentDataE14createFragmentEv':
/home/viktor/.cache/pacaur/mingw-w64-qt5-base/src/qtbase-opensource-src-5.7.1/include/QtGui/5.7.1/QtGui/private/../../../../../src/gui/text/qfragmentmap_p.h:258: undefined reference to `_imp___Z26qCalculateGrowingBlockSizejjj'
./.obj/release/qtextdocument_p.o: In function `ZN16QFragmentMapDataI14QTextBlockDataE14createFragmentEv':
/home/viktor/.cache/pacaur/mingw-w64-qt5-base/src/qtbase-opensource-src-5.7.1/include/QtGui/5.7.1/QtGui/private/../../../../../src/gui/text/qfragmentmap_p.h:258: undefined reference to `_imp___Z26qCalculateGrowingBlockSizejjj'
collect2: ошибка: выполнение ld завершилось с кодом возврата 1

dviktor commented on 2016-12-31 08:55

Still can not update to the 5.7.1... A lot of compile errors (including missing headers pulseaudio.h and linker issues), I'll try to post some of them later...

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<br> 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