Package Details: lib32-qt4 4.8.7-15

Git Clone URL: (read-only, click to copy)
Package Base: lib32-qt4
Description: A cross-platform application and UI framework (32-bit)
Upstream URL:
Licenses: custom, GPL3, LGPL, FDL
Conflicts: lib32-qt
Replaces: lib32-qt<=4.8.4
Submitter: arojas
Maintainer: WoefulDerelict
Last Packager: WoefulDerelict
Votes: 50
Popularity: 0.000006
First Submitted: 2017-02-09 20:36
Last Updated: 2019-11-19 22:10

Sources (15)

Pinned Comments

WoefulDerelict commented on 2017-03-07 19:07

This package often requires special care to build. If building this with makepkg fails it will be necessary to construct the package in a clean chroot. Using an AUR helper is not recommended; however, aurutils does provide the option to build in the clean chroot.

The process of building this package in a clean chroot is rendered exceptionally simple with the help of scripts in the devtools package and can be completed via the following steps. These summarize the information provided by the Arch Linux DeveloperWiki and assume familiarity with git or the process of downloading a snapshot from the AUR and extracting the archive. Please refer to this article for more information about the devtools scripts and building in the clean chroot: []

Prerequisites: This process uses scripts in devtools to simplify the procedure: please install this package before beginning. The lib32-libmng package is required and must be built or downloaded from the Arch Linux Archive []. QT 4 depends on this package and it is no longer found in the binary repositories.

  1. Clone the lib32-qt4 repository or extract the snapshot archive into a clean working directory.

  2. Enter the directory containing the package source. (PKGBUILD and patches.)

  3. Execute the following command, supplying the location of lib32-libmng: multilib-build -- -I /<somewhere>/lib32-libmng-2.0.3-1-x86_64.pkg.tar.xz

  4. Execute pacman with the -U flag to install the resulting package: just as one would with any other local package. Note: lib32-libmng would need to be installed in a similar fashion if it isn't already present on your system.

WoefulDerelict commented on 2017-02-25 15:52

The QT 4 build system is prone to some odd behaviour: especially if the qtwebkit package is installed. [] []

If your build fails with the following [error: expected class-name before ‘{’ token] when compiling please build in a clean chroot.

If your build fails with error messages about skipping incompatible files and being unable to find a specific file in a compatible format, especially while linking, you will need to build in a clean container to avoid issues.

Building this package in a clean chroot or other form of container will prevent unexpected issues.

All build errors will be ignored unless the build was performed inside a clean, properly configured container. For more information about building in a clean chroot see this article: []

Big thanks to int [at] arcor [dot] de for doing the legwork to track down the relevant issue reports and sending them my way.

The archlinuxgr repository contains a binary copy of this package courtesy of ranger.

[archlinuxgr] Server =$arch

Latest Comments

1 2 3 4 5 6 ... Next › Last »

MCOfficer commented on 2021-01-20 12:32

Because seems to be down and most mirrors only host 5.x and 6.x, here are two alternative URLs for the current version (4.8.7). The usual disclaimers apply.



Anonymous comment on 2020-04-06 16:26

0ffline packages:

slav commented on 2019-11-21 07:11

@Kalinda Thank you a lot.

Kalinda commented on 2019-11-20 23:04

Hey guys,

For anyone who has trouble building this huge package, I am providing it in my repo. You can find the info at

slav commented on 2019-11-20 22:17

Guys can you provide build lib32-qt4 4.8.7-15-x86_64.pkg.tar.xz file? Regards, Slav

WoefulDerelict commented on 2019-11-19 22:13

bitspyer: This should now be corrected.

PedroHLC: It does seem that way. Including the patches used by qt4 results in a successful build on my test box in a clean chroot.

bitspyer commented on 2019-11-14 11:00

lib32-qt4 wont build, also in clean chroot, as discribed in the pinned commentary.

Building always stops with this Message (in clean chroot and normal system):

dialogs/qpagesetupdialog_unix.cpp:553:12: error: ‘class Ui::QPageSetupWidget’ has no member named ‘paperHeight’ 553 | widget.paperHeight->setValue(m_paperSize.height() / m_currentMultiplier); | ^~~~~~~~~~~ compiling dialogs/qabstractpagesetupdialog.cpp dialogs/qpagesetupdialog_unix.cpp: At global scope: dialogs/qpagesetupdialog_unix.cpp:70:13: warning: ‘void populatePaperSizes(QComboBox)’ defined but not used [-Wunused-function] 70 | static void populatePaperSizes(QComboBox cb) | ^~~~~~~~~~~~~~~~~~ make[1]: [Makefile:129212: .obj/release-shared/qpagesetupdialog_unix.o] Error 1 make[1]: Waiting for unfinished jobs.... make[1]: Leaving directory '/build/lib32-qt4/src/qt-everywhere-opensource-src-4.8.7/src/gui' make: *** [Makefile:421: sub-gui-make_default-ordered] Error 2 ==> ERROR: A failure occurred in build(). Aborting...

PedroHLC commented on 2019-09-27 15:09

Looks like that patches are required to build with GCC9

medicineman25 commented on 2018-07-09 04:52

Hey there, thanks for doing this package. Please update the qt source to:

Or if this package is using a newer version of Qt, then we can just change the version number :)


sam-cavalcanti commented on 2018-07-03 03:42

Please change${pkgver}/${_pkgfqn}.tar.gz for${pkgver}/${_pkgfqn}.tar.gz