You are not logged in.

#1 2013-03-30 16:03:24

bpont
Banned
Registered: 2010-03-24
Posts: 161

How do I find and upgrade my AUR packages that depend on qt?

Pursuant to this announcement: https://www.archlinux.org/news/qt4-replaces-qt/

I'm a bit overdue for a system upgrade and will need to figure out which of my AUR packages depend on qt and have them rebuilt to depend on qt4.

How do I discover which of my AUR packages depend on qt?

How do I rebuild them to depend on qt4?

If it makes any difference, I use yaourt for managing my AUR packages.


qt4 replaces qt

2013-03-01 - Andrea Scarpino

A new qt4 package is in [extra]. This replaces the current qt package.

All packages depending on qt need to be rebuilt to depend on qt4. We have done this for all official packages, but you will need to rebuild packages installed from the AUR that depend on qt.

Qt 5.x is now also available in [extra]. When you install both qt5-base and qt4 any Qt tool will refer to the 5.x version. We provide *-qt4 symlinks so you can explicitly force the 4.x version when you need it.

Offline

#2 2013-03-30 16:07:06

progandy
Member
Registered: 2012-05-17
Posts: 5,307

Re: How do I find and upgrade my AUR packages that depend on qt?

You can use package-query to perfrom this search. (It is an AUR package and a dependency of yaourt)

package-query -Qm --qdepends qt

The upgrade steps are as follows:
- remove AUR dependencies
- upgrade system (also qt4)
- reinstall AUR packages (some are already fixed, sometimes you'll have to add -DQT_QMAKE_EXECUTABLE=qmake-qt4, sometimes replace qmake with qmake-qt4, sometimes there is more you have to do)

Last edited by progandy (2013-03-30 16:13:17)


| alias CUTF='LANG=en_XX.UTF-8@POSIX ' | alias ENGLISH='LANG=C.UTF-8 ' |

Offline

Board footer

Powered by FluxBB