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
Submitter: arojas
Maintainer: WoefulDerelict
Last Packager: WoefulDerelict
Votes: 51
Popularity: 0.000000
First Submitted: 2017-02-09 20:36 (UTC)
Last Updated: 2019-11-19 22:10 (UTC)

Pinned Comments

WoefulDerelict commented on 2017-03-07 19:07 (UTC) (edited on 2018-08-26 01:22 (UTC) by WoefulDerelict)

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 (UTC) (edited on 2018-08-26 00:47 (UTC) by WoefulDerelict)

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 .. 25 Next › Last »

FabioLolix commented on 2023-08-16 22:07 (UTC)


  • need options=(!lto) to build with devtools
  • then fails to build for not determined reason

RoestVrijStaal commented on 2022-08-05 20:35 (UTC) (edited on 2022-08-05 20:35 (UTC) by RoestVrijStaal)

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

[archlinuxgr] Server =$arch

Unfortunately not anymore:

tioguda commented on 2022-06-17 20:48 (UTC)

It is necessary to add the patch for gcc11.

Mipster commented on 2021-09-06 08:42 (UTC) (edited on 2021-09-06 08:42 (UTC) by Mipster)

My default compiler is clang, and it won't compile the source as is because clang defines a statement like this as an error

if(pointer > 0)

and it appears in the source
here is a link to an issue in mac ports for the same issue with a fix
they give the solution made in the original project

this is a patch with the same solution, worked for me locally:

I'll mention it to be sure, but I don't think that it matters that much
I am running manjaro and not pure arch

Alkaris commented on 2021-02-23 22:51 (UTC)

This package fails with 404, because 4.8.7 does not exist in the directory →

take a look and you will see it doesn't exist, you will need to either replace it with a different version or change the host where it can be downloaded.

bkb commented on 2021-02-04 08:32 (UTC)

It's even worse now, it's 404'ed

curl: (22) The requested URL returned error: 404 Not Found
==> ERROR: Failure while downloading
error: failed to download sources for 'lib32-qt4-4.8.7-15': 

bkb commented on 2021-01-30 11:19 (UTC)


<deleted-account> commented on 2021-01-30 11:16 (UTC)

How do you install this using terminal?



bkb commented on 2021-01-25 09:03 (UTC) (edited on 2021-01-25 09:07 (UTC) by bkb)

curl: (22) The requested URL returned error: 403 Forbidden
==> ERROR: Failure while downloading

Maintainer hasn't done anything since 2 years, I have no hope for him to correct that

Alkaris commented on 2021-01-25 00:43 (UTC)

Seems to be an issue while downloading package with Error 403 Forbidden. URL must be outdated, or download server permissions have been changed.