Package Details: qt4 4.8.7-31

Git Clone URL: https://aur.archlinux.org/qt4.git (read-only)
Package Base: qt4
Description: A cross-platform application and UI framework
Upstream URL: https://www.qt.io
Licenses: custom, GPL3, LGPL, FDL
Conflicts: qt
Replaces: qt<=4.8.4
Submitter: arojas
Maintainer: dviktor
Last Packager: dviktor
Votes: 28
Popularity: 3.44
First Submitted: 2019-05-01 11:51
Last Updated: 2019-07-29 18:11

Dependencies (29)

Required by (676)

Sources (20)

Pinned Comments

dviktor commented on 2019-06-18 12:50

Binary version for latest version (4.8.7-31) with PGP signature is available here

eschwartz commented on 2019-05-09 13:24

@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

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

mozo commented on 2019-05-29 16:58

@slav

Here you are:

https://my.pcloud.com/publink/show?code=XZeCQA7ZJ6tjjQhuFj5Pyrbic0wgw75WYl77

slav commented on 2019-05-29 16:27

Someone can drop last qt4 4.8.7-30.pkg.tar.xz please?

dviktor commented on 2019-05-28 17:23

@totsilence thank you for your contribution! Added fix for possible GCC9 issue

totsilence commented on 2019-05-27 19:30

To fix breakage with GCC 9 and the foreach macro we should backport this commit from Qt 5 (it doesn't apply cleanly and needs a bit of trivial adapting): https://github.com/qt/qtbase/commit/c35a3f519007af44c3b364b9af86f6a336f6411b

GCC developers closed https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90617

as a duplicate of https://gcc.gnu.org/bugzilla/show_bug.cgi?id=44715

which shows that the change was intentional.

totsilence commented on 2019-05-25 06:48

Just wanted to let everyone know that there is a bug in GCC 9 (now in testing), which makes it miscompile the foreach macro in Qt4:

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90617

Since that macro is used extensively throughout the Qt source code I can only imagine that compiling qt4 with the current testing gcc will cause severe breakage.

We can fix this in two ways:

1) Wait for gcc fix 2) Apply a patch to qt4 to change the way Q_FOREACH is coded.

andreymal commented on 2019-05-16 20:00

Missing dependency gstreamer0.10-base?

cd WebCore/ && $/aur-qt4/src/qt-everywhere-opensource-src-4.8.7/bin/qmake $/aur-qt4/src/qt-everywhere-opensource-src-4.8.7/src/3rdparty/webkit/Source/WebCore/WebCore.pro -spec $/aur-qt4/src/qt-everywhere-opensource-src-4.8.7/mkspecs/linux-g++ -o Makefile.WebKit

Project ERROR: Package gstreamer-app-0.10 not found

make[1]: *** [Makefile.WebKit:72: WebCore/Makefile.WebKit] Error 2

Tharbad commented on 2019-05-11 22:41

@dviktor: Can you add that the right script for the devtools is extra-x86_64-build?

dviktor commented on 2019-05-11 12:30

@Tharbad no, it's not proper way to perform clean chroot build. Please follow instructions in wiki

Tharbad commented on 2019-05-11 02:28

Used yay clean build option. Got:

In file included from ./wtf/FastAllocBase.h:93,
             from ./wtf/RefCounted.h:25,
             from ./wtf/CrossThreadRefCounted.h:36,
             from ./wtf/text/StringImpl.h:28,
             from ./runtime/UString.h:26,
             from yarr/YarrPattern.h:30,
             from yarr/YarrInterpreter.h:29,
             from yarr/YarrInterpreter.cpp:28:
./wtf/TypeTraits.h:186:69: error: ‘std::tr1’ has not been declared
template<typename T> struct HasTrivialConstructor : public 
std::tr1::has_trivial_constructor<T> { };                                          
                ^~~
./wtf/TypeTraits.h:186:74: error: expected ‘{’ before ‘has_trivial_constructor’
template<typename T> struct HasTrivialConstructor : public 
std::tr1::has_trivial_constructor<T> { };

^~~~~~~~~~~~~~~~~~~~~~~ ./wtf/TypeTraits.h:187:68: error: ‘std::tr1’ has not been declared template<typename T> struct HasTrivialDestructor : public std::tr1::has_trivial_destructor<T> { }; ^~~ ./wtf/TypeTraits.h:187:73: error: expected ‘{’ before ‘has_trivial_destructor’ template<typename T> struct HasTrivialDestructor : public std::tr1::has_trivial_destructor<T> { };

^~~~~~~~~~~~~~~~~~~~~~

yarr/YarrInterpreter.cpp: In member function ‘bool 
JSC::Yarr::Interpreter::backtrackParenthesesOnceEnd(JSC::Yarr::ByteTerm&, 
JSC::Yarr::Interpreter::DisjunctionContext*)’:
yarr/YarrInterpreter.cpp:707:13: warning: this statement may fall through [-
Wimplicit-fallthrough=]
         if (backTrack->begin == notFound) {
         ^~
yarr/YarrInterpreter.cpp:711:9: note: here
     case QuantifierNonGreedy:

     ^~~~
make[2]: *** [Makefile.WebKit:1062: .obj/release-static/YarrInterpreter.o] Error 1
make[2]: Leaving directory '/tmp/yay/qt4/src/qt-everywhere-opensource-src-4.8.7/src/3rdparty/webkit/Source/JavaScriptCore'
make[1]: *** [Makefile.WebKit:43: sub-JavaScriptCore-JavaScriptCore-pro-make_default-ordered] Error 2
make[1]: Leaving directory '/tmp/yay/qt4/src/qt-everywhere-opensource-src-4.8.7/src/3rdparty/webkit/Source'
make: *** [Makefile:747: sub-webkit-make_default-ordered] Error 2
==> ERROR: A failure occurred in build().
Aborting...

Also, when trying to remove qt4 I noticed it's dependency of kde.

mozo commented on 2019-05-10 15:02

Just for example there will be never alternative for KBGOffice Dictionary for it is abandoned years ago but is the only one Eng<->Bg dictionary for Linux. Some packages just doesn't have alternatives.

https://i.imgur.com/UszXcnW.png