Also take note of the sticky comments on the mingw-w64-qt5-base package.
Search Criteria
Package Details: mingw-w64-qt5-base-static 5.15.15+kde+r127-1
Package Actions
Git Clone URL: | https://aur.archlinux.org/mingw-w64-qt5-base-static.git (read-only, click to copy) |
---|---|
Package Base: | mingw-w64-qt5-base-static |
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: | ant32 |
Maintainer: | Martchus |
Last Packager: | Martchus |
Votes: | 11 |
Popularity: | 0.000189 |
First Submitted: | 2013-08-28 23:57 (UTC) |
Last Updated: | 2024-09-10 21:19 (UTC) |
Dependencies (21)
- mingw-w64-crt (llvm-mingw-w64-toolchain-ucrt-binAUR, llvm-mingw-w64-toolchain-msvcrt-binAUR)
- mingw-w64-dbusAUR
- mingw-w64-harfbuzzAUR
- mingw-w64-libjpeg-turboAUR (mingw-w64-libjpegAUR)
- mingw-w64-libpngAUR
- mingw-w64-opensslAUR
- mingw-w64-pcre2AUR
- mingw-w64-qt5-baseAUR
- mingw-w64-sqliteAUR
- mingw-w64-zlibAUR
- mingw-w64-zstdAUR
- git (git-gitAUR, git-glAUR) (make)
- mingw-w64-environmentAUR (llvm-mingw-w64-environmentAUR) (make)
- mingw-w64-gcc (mingw-w64-gcc132AUR, llvm-mingw-w64-toolchain-ucrt-binAUR, llvm-mingw-w64-toolchain-msvcrt-binAUR) (make)
- mingw-w64-mariadb-connector-cAUR (make)
- mingw-w64-pkg-configAUR (llvm-mingw-w64-pkg-configAUR) (make)
- mingw-w64-postgresqlAUR (make)
- mingw-w64-vulkan-headersAUR (make)
- mingw-w64-mariadb-connector-cAUR (optional) – MySQL support
- mingw-w64-mesaAUR (mingw-w64-mesa-gitAUR) (optional) – use LLVMpipe software rasterizer for Qt Quick
- Show 1 more dependencies...
Required by (28)
- mingw-w64-awesomebump-git (make)
- mingw-w64-passwordmanager (make)
- mingw-w64-qt5-activeqt (make)
- mingw-w64-qt5-activeqt (optional)
- mingw-w64-qt5-canvas3d (make)
- mingw-w64-qt5-canvas3d (optional)
- mingw-w64-qt5-charts-static
- mingw-w64-qt5-connectivity-static
- mingw-w64-qt5-datavis3d-static
- mingw-w64-qt5-declarative-static
- mingw-w64-qt5-gamepad-static
- mingw-w64-qt5-imageformats-static
- mingw-w64-qt5-location-static
- mingw-w64-qt5-multimedia-static
- mingw-w64-qt5-networkauth-static
- mingw-w64-qt5-remoteobjects-static
- mingw-w64-qt5-script-static
- mingw-w64-qt5-sensors-static
- mingw-w64-qt5-serialport-static
- mingw-w64-qt5-svg-static
- mingw-w64-qt5-websockets-static
- mingw-w64-qt5-winextras-static
- mingw-w64-qt5-xmlpatterns-static
- mingw-w64-qtforkawesome (make)
- mingw-w64-qtutilities (make)
- mingw-w64-syncthingtray (make)
- mingw-w64-tageditor (make)
- mingw-w64-videodownloader (make)
Sources (33)
- 0001-Adjust-win32-g-profile-for-cross-compilation-with-mi.patch
- 0002-Ensure-GLdouble-is-defined-when-using-dynamic-OpenGL.patch
- 0003-Fix-too-many-sections-assemler-error-in-OpenGL-facto.patch
- 0004-Make-sure-.pc-files-are-installed-correctly.patch
- 0005-Don-t-add-resource-files-to-LIBS-parameter.patch
- 0006-Prevent-debug-library-names-in-pkg-config-files.patch
- 0007-Fix-linking-against-shared-static-libpng.patch
- 0008-Fix-linking-against-static-D-Bus.patch
- 0009-Don-t-try-to-use-debug-version-of-D-Bus-library.patch
- 0010-Fix-linking-against-static-freetype2.patch
- 0011-Fix-linking-against-static-harfbuzz.patch
- 0012-Fix-linking-against-static-pcre.patch
- 0013-Fix-linking-against-shared-static-MariaDB.patch
- 0014-Fix-linking-against-shared-static-PostgreSQL.patch
- 0015-Rename-qtmain-to-qt5main.patch
- 0016-Enable-rpath-for-build-tools.patch
- 0017-Use-system-zlib-for-build-tools.patch
- 0018-Merge-shared-and-static-library-trees.patch
- 0019-Use-.dll.a-as-import-lib-extension.patch
- 0020-Pull-dependencies-of-static-libraries-in-CMake-modul.patch
- 0021-Allow-usage-of-static-version-with-CMake.patch
- 0022-Adjust-linker-flags-for-static-build-with-cmake-ming.patch
- 0023-Use-correct-pkg-config-static-flag.patch
- 0024-Fix-macro-invoking-moc-rcc-and-uic.patch
- 0025-Ignore-errors-about-missing-feature-static.patch
- 0026-Enable-and-fix-use-of-iconv.patch
- 0027-Ignore-failing-pkg-config-test.patch
- 0028-Prevent-qmake-from-messing-static-lib-dependencies.patch
- 0029-Hardcode-linker-flags-for-platform-plugins.patch
- 0030-Fix-linking-against-static-plugins-with-qmake.patch
- 0031-Prevent-Cannot-find-feature-windows_vulkan_sdk.patch
- 0032-Fix-crashes-in-rasterization-code-using-setjmp.patch
- git+https://invent.kde.org/qt/qt/qtbase#commit=ab13e81917207959785ad0185a3a9974e552a7f5
Martchus commented on 2020-09-13 11:43 (UTC)
Martchus commented on 2019-12-10 13:00 (UTC)
@vinci See my comment on GitHub. I haven't had the time to update the AUR package yet and I was hoping to get positive feedback first.
vinci commented on 2019-12-10 12:40 (UTC)
Currently won't build with FORTIFY. I get a lot of undefined references (e.g. to __memcpy_chk).
FoPref commented on 2019-03-05 15:58 (UTC)
Note https://github.com/libjpeg-turbo/libjpeg-turbo/issues/341 when building this package fails on your system.
woggioni commented on 2017-09-27 10:41 (UTC) (edited on 2017-09-27 14:58 (UTC) by woggioni)
@Martchus No, I get:
main.cpp:7: undefined reference to `qt_static_plugin_QWindowsIntegrationPlugin()'
the code is here (I just added an hello.pro file) https://github.com/oggio88/Qt-CMake-HelloWorld
EDIT:
I have to apply the patch you linked (thought it was already included)
EDIT/2:
I applied the patch at https://github.com/Martchus/qtbase/commit/acc61ef7833f685b1f66c9b99086ccfc1e6aa20f, rebuilt the package mingw-w64-qt5-base-static and still get the same error
EDIT/3:
I just remembered that qmake is in the mingw-w64-qt5-base package, I rebuilt it with your patch and it works perfectly, thanks!
Martchus commented on 2017-09-26 15:35 (UTC)
@woggioni I updated the pinned comment. So the proposed workaround does not work for you? I only tested a simple application from the Qt examples (see the already linked comment). Which project are you trying to compile?
woggioni commented on 2017-09-26 15:17 (UTC)
@Martchus No, I didn't... sorry. It would be nice if AUR could provide a section with that kind of information for each package instead of having to read through all the queue of previous comments backwards. Anyway, to me, building with qmake would be a nice plus, but It's not really necessary since I use cmake for all the serious stuff. I tried to fix the problem myself, but I had no success.. I'll just stick to cmake.
Martchus commented on 2017-09-20 13:29 (UTC)
@woggioni Did you read [my comment](https://aur.archlinux.org/packages/mingw-w64-qt5-base#comment-609455) in the comment section of mingw-w64-qt5-base?
woggioni commented on 2017-09-20 07:07 (UTC)
Is it possible to build with qmake? I get a lot of linker errors when using x86_64-w64-mingw32-qmake-qt5 and CONFIG += static
Pinned Comments
Martchus commented on 2020-09-13 11:43 (UTC)
Also take note of the sticky comments on the mingw-w64-qt5-base package.
Martchus commented on 2017-01-10 21:24 (UTC) (edited on 2019-12-10 13:02 (UTC) by Martchus)
Notes about using static Qt with CMake:
Note about using static Qt with qmake:
CONFIG+=no_smart_library_merge
to qmake arguments to prevent qmake from messing linker flags for freetype2/harfbuzz (which have dependency cycle).Martchus commented on 2016-07-10 19:47 (UTC) (edited on 2016-09-19 18:26 (UTC) by Martchus)