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: 80
Popularity: 0.82
First Submitted: 2019-05-01 11:51 (UTC)
Last Updated: 2024-06-26 19:25 (UTC)

Required by (224)

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 .. 4 5 6 7 8 9 10 11 12 13 14 .. 18 Next › Last »

lash commented on 2020-03-15 16:09 (UTC)

build fails on one machine, works on another, both with dbus 1.12.16-5 :

The QtDBus module cannot be enabled because libdbus-1 version 0.93 was not found.
 Turn on verbose messaging (-v) to ./configure to see the final report.
 If you believe this message is in error you may use the continue
 switch (-continue) to ./configure to continue.
==> ERROR: A failure occurred in build().
    Aborting...

adsun commented on 2020-03-07 19:59 (UTC)

@alan1world this builds fine in a clean chroot.

alan1world commented on 2020-03-07 17:24 (UTC)

Build now fails: make: *** [Makefile:747: sub-webkit-make_default-ordered] Error 2 ==> ERROR: A failure occurred in build(). Aborting... :: Unable to build qt4 - makepkg exited with code: 4

dviktor commented on 2020-02-23 19:38 (UTC)

@ensigma96 please see attached comment

ensigma96 commented on 2020-02-23 19:35 (UTC)

@eschwartz,

Is it possible then that someone will upload a binary package to AUR?

applebloom commented on 2019-11-24 10:01 (UTC)

I can't copmpile this package now. I get errors:

/wtf/TypeTraits.h:186:69: error: ‘std::tr1’ has not been declared
  186 |     template<typename T> struct HasTrivialConstructor : public std::tr1::has_trivial_constructor<T> { };
      |                                                                     ^~~
./wtf/TypeTraits.h:186:74: error: expected ‘{’ before ‘has_trivial_constructor’
  186 |     template<typename T> struct HasTrivialConstructor : public std::tr1::has_trivial_constructor<T> { };
      |                                                                          ^~~~~~~~~~~~~~~~~~~~~~~
./wtf/TypeTraits.h:187:68: error: ‘std::tr1’ has not been declared
  187 |     template<typename T> struct HasTrivialDestructor : public std::tr1::has_trivial_destructor<T> { };
      |                                                                    ^~~
./wtf/TypeTraits.h:187:73: error: expected ‘{’ before ‘has_trivial_destructor’
  187 |     template<typename T> struct HasTrivialDestructor : public std::tr1::has_trivial_destructor<T> { };
      |                                                                         ^~~~~~~~~~~~~~~~~~~~~~
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/YarrSyntaxChecker.h:29,
                 from yarr/YarrSyntaxChecker.cpp:27:
./wtf/TypeTraits.h:186:69: error: ‘std::tr1’ has not been declared
  186 |     template<typename T> struct HasTrivialConstructor : public std::tr1::has_trivial_constructor<T> { };
      |                                                                     ^~~
./wtf/TypeTraits.h:186:74: error: expected ‘{’ before ‘has_trivial_constructor’
  186 |     template<typename T> struct HasTrivialConstructor : public std::tr1::has_trivial_constructor<T> { };
      |                                                                          ^~~~~~~~~~~~~~~~~~~~~~~
./wtf/TypeTraits.h:187:68: error: ‘std::tr1’ has not been declared
  187 |     template<typename T> struct HasTrivialDestructor : public std::tr1::has_trivial_destructor<T> { };
      |                                                                    ^~~
./wtf/TypeTraits.h:187:73: error: expected ‘{’ before ‘has_trivial_destructor’
  187 |     template<typename T> struct HasTrivialDestructor : public std::tr1::has_trivial_destructor<T> { };
      |                                                                         ^~~~~~~~~~~~~~~~~~~~~~
make[2]: *** [Makefile.WebKit:1779: .obj/release-static/CryptographicallyRandomNumber.o] Błąd 1
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/YarrPattern.cpp:28:
./wtf/TypeTraits.h:186:69: error: ‘std::tr1’ has not been declared
  186 |     template<typename T> struct HasTrivialConstructor : public std::tr1::has_trivial_constructor<T> { };
      |                                                                     ^~~
./wtf/TypeTraits.h:186:74: error: expected ‘{’ before ‘has_trivial_constructor’
  186 |     template<typename T> struct HasTrivialConstructor : public std::tr1::has_trivial_constructor<T> { };
      |                                                                          ^~~~~~~~~~~~~~~~~~~~~~~
./wtf/TypeTraits.h:187:68: error: ‘std::tr1’ has not been declared
  187 |     template<typename T> struct HasTrivialDestructor : public std::tr1::has_trivial_destructor<T> { };
      |                                                                    ^~~
./wtf/TypeTraits.h:187:73: error: expected ‘{’ before ‘has_trivial_destructor’
  187 |     template<typename T> struct HasTrivialDestructor : public std::tr1::has_trivial_destructor<T> { };
      |                                                                         ^~~~~~~~~~~~~~~~~~~~~~

dviktor commented on 2019-11-04 17:07 (UTC)

@Win8Error can you please post your logs in English? Also you can try pre-built binary from pinned comment

Win8Error commented on 2019-11-04 13:47 (UTC) (edited on 2020-02-23 19:45 (UTC) by eschwartz)

Build failed

In Datei, eingebunden von /home/joel/qt4/src/qt-everywhere-opensource-src-4.8.7/mkspecs/linux-g++/qplatformdefs.h:65,
                 von /home/joel/qt4/src/qt-everywhere-opensource-src-4.8.7/src/corelib/io/qfilesystemiterator_unix.cpp:42:
/usr/include/dirent.h:183:12: Anmerkung: hier deklariert
  183 | extern int readdir_r (DIR *__restrict __dirp,
      |            ^~~~~~~~~
/home/joel/qt4/src/qt-everywhere-opensource-src-4.8.7/src/corelib/io/qfilesystemiterator_unix.cpp:114:60: Warnung: »int readdir_r(DIR*, dirent*, dirent**)« ist veraltet [-Wdeprecated-declarations]
  114 |     lastError = QT_READDIR_R(dir, mt_file.data(), &dirEntry);
      |                                                            ^
In Datei, eingebunden von /home/joel/qt4/src/qt-everywhere-opensource-src-4.8.7/mkspecs/linux-g++/qplatformdefs.h:65,
                 von /home/joel/qt4/src/qt-everywhere-opensource-src-4.8.7/src/corelib/io/qfilesystemiterator_unix.cpp:42:
/usr/include/dirent.h:183:12: Anmerkung: hier deklariert
  183 | extern int readdir_r (DIR *__restrict __dirp,
      |            ^~~~~~~~~
MySQL support cannot be enabled due to functionality tests!
 Turn on verbose messaging (-v) to ./configure to see the final report.
 If you believe this message is in error you may use the continue
 switch (-continue) to ./configure to continue.
==> FEHLER: Ein Fehler geschah in build().
    Breche ab...

George commented on 2019-09-10 07:14 (UTC) (edited on 2019-09-10 07:22 (UTC) by George)

I've do that

Manually download https://download.qt.io/archive/qt/4.8/4.8.7/qt-everywhere-opensource-src-4.8.7.tar.gz into /tmp

then edit PKGBUILD

  • remove url (for download qt-everywhere-opensource-src…) from source list (first element of array)
  • remove checksum for qt-everywhere-opensource-src... (first element of array)
  • add to the beginning of the function prepare() (line 62)

cd /tmp/yaourt-tmp-george/aur-qt4

cp /tmp/qt-everywhere-opensource-src-4.8.7.tar.gz .

tar xzf /tmp/qt-everywhere-opensource-src-4.8.7.tar.gz

  • add to the beginning of the function build() (line 120)

cd /tmp/yaourt-tmp-george/aur-qt4

shaeinst commented on 2019-08-27 01:13 (UTC)

download the latest binary files from here https://openload.co/f/6AQJDrkiAvI/qt4-4.8.7-31-x86_64.pkg.tar.xz