Package Details: qt4 4.8.7-36

Git Clone URL: https://aur.archlinux.org/qt4.git (read-only, click to copy)
Package Base: qt4
Description: A cross-platform application and UI framework
Upstream URL: https://www.qt.io
Licenses: GPL-3.0-only, LGPL-3.0-only, GFDL-1.3-only
Conflicts: qt
Replaces: qt
Submitter: arojas
Maintainer: DodoGTA
Last Packager: DodoGTA
Votes: 79
Popularity: 0.31
First Submitted: 2019-05-01 11:51 (UTC)
Last Updated: 2024-06-26 19:25 (UTC)

Required by (225)

Sources (22)

Pinned Comments

eschwartz commented on 2019-05-09 13:24 (UTC)

@semeion,

qt4 was expelled from the official repositories due to https://lists.archlinux.org/pipermail/arch-dev-public/2019-April/029560.html

It will not be restored, because software needs to stop using qt4. It's fine for people to still use it via the AUR if they have old software that is not ported, but the proper solution is to get that software ported to qt5.

"It takes a long time to compile" is not a reason to move it to community.

@xuanruiqi,

Only Developers and Trusted Users have access to pkgbuild.com, and we will not be uploading qt4 there. If we wanted qt4, we would upload it to community, but we don't -- we have managed to move every package still being actively maintained in the official repos, over to qt5, and we want to stay that way.

...

Again, the proper long-term solution is to get software ported over to qt5.

dviktor commented on 2019-05-05 17:49 (UTC) (edited on 2019-05-15 19:02 (UTC) by dviktor)

For those who have problems with ‘std::tr1’ has not been declared error: build in clean chroot with extra-x86_64-build script.

Latest Comments

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

valandil commented on 2022-03-28 17:49 (UTC)

Try with source mentioned in a comment below, i.e.

valandil ~/build/qt4 $ git diff
diff --git a/PKGBUILD b/PKGBUILD
index 2a04053..33783bb 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -24,7 +24,7 @@ optdepends=('postgresql-libs: PostgreSQL driver'
 replaces=('qt<=4.8.4')
 conflicts=(qt)
 _pkgfqn="qt-everywhere-opensource-src-${pkgver}"
-source=("https://ftp.desolve.ru/ftp/viktor/qt4/${_pkgfqn}.tar.gz"
+source=("https://download.qt.io/archive/qt/4.8/4.8.7/${_pkgfqn}.tar.gz"
         "qtconfig-qt4.desktop"
         "assistant-qt4.desktop"
         "designer-qt4.desktop"

giswqs commented on 2022-03-28 14:11 (UTC)

Can't update qt4. Getting the following error:

-> Downloading qt-everywhere-opensource-src-4.8.7.tar.gz... curl: (28) Failed to connect to ftp.desolve.ru port 443 after 128955 ms: Connection timed out Warning: Problem: timeout. Will retry in 3 seconds. 3 retries left.

tesfabpel commented on 2022-02-02 21:21 (UTC)

Maybe it's better to officially revert downloading from the original source if it's available (https://download.qt.io/archive/qt/4.8/4.8.7/)? Thank you.

slav commented on 2022-01-28 22:22 (UTC)

@dviktor thank you!

dviktor commented on 2022-01-28 07:15 (UTC)

@slav it is already uploaded to my repo. If you don't want to add it to your pacman.conf you can download the package directly

slav commented on 2022-01-28 02:47 (UTC)

Can I have request please to share build of qt4-4.8.7-35-x86_64.pkg.tar.zst?

dviktor commented on 2022-01-27 12:34 (UTC)

Interesting enough, it works fine for me in clean chroot. I've updated binary package in my repo

valandil commented on 2022-01-24 11:30 (UTC)

I can confirm this happens, even in a chroot build. Applying the patch in the Gentoo bug tracker, i.e. attribute __attribute__((used))to the offending function, didn't work either.

schnedan commented on 2022-01-21 09:10 (UTC)

seems building qt4 fails... at least for me The reported Error is undefined reference to `cti_vm_throw'

rm -f libQtScript.so.4.8.7 libQtScript.so libQtScript.so.4 libQtScript.so.4.8
linking ../../lib/libQtScript.so.4.8.7
In member function 'allocatePropertyStorageInline',
    inlined from 'allocatePropertyStorage' at ../3rdparty/javascriptcore/JavaScriptCore/runtime/JSObject.cpp:546:34:
../3rdparty/javascriptcore/JavaScriptCore/runtime/JSObject.h:679:68: warning: argument 1 value '18446744073709551615' exceeds maximum object size 9223372036854775807 [-Walloc-size-larger-than=]
  679 |     PropertyStorage newPropertyStorage = new EncodedJSValue[newSize];
      |                                                                    ^
../3rdparty/javascriptcore/JavaScriptCore/runtime/JSObject.h: In member function 'allocatePropertyStorage':
/usr/include/c++/11.1.0/new:128:26: note: in a call to allocation function 'operator new []' declared here
  128 | _GLIBCXX_NODISCARD void* operator new[](std::size_t) _GLIBCXX_THROW (std::bad_alloc)
      |                          ^
/usr/bin/ld: /tmp/ccE68OPD.ltrans0.ltrans.o: in function `ctiVMThrowTrampoline':
<artificial>:(.text+0x4c): undefined reference to `cti_vm_throw'
collect2: error: ld returned 1 exit status
make[1]: *** [Makefile:491: ../../lib/libQtScript.so.4.8.7] Error 1
make[1]: Leaving directory '/tmp/bpkg/qt4/src/qt-everywhere-opensource-src-4.8.7/src/script'
make: *** [Makefile:674: sub-script-make_default-ordered] Error 2
==> ERROR: A failure occurred in build().
    Aborting...

can anybody verify this?

Koushik_Sahu commented on 2021-09-26 18:54 (UTC)

Just for information, this takes 30-40 minutes to build.