wpa_supplicant supports both QT3 and QT4. I haven't installed QT4 libraries on my system yet. Now I'm getting this request of upgrade:
# emerge -puDvt world
[nomerge ] net-wireless/wpa_supplicant-0.5.2 USE="madwifi qt readline ssl -gsm"
[ebuild NS ] x11-libs/qt-4.1.2 USE="cups examples gif jpeg mng mysql odbc opengl png postgres zlib -accessibility -debug -doc -firebird -nas -nis -sql
Is it possible to use the flag qt4 in the wpa_supplicant ebuild? In this way there is no need to compile the QT4 libs only for one application.
So package.mask QT4, not related to wpa_supplicant at all...
From the Gentoo Development Guide:
Any of Many Versus USE
Say fnord can be built against either foo or bar. Then a USE flag is not necessary if and only if all of the following hold:
* fnord is merged on a system which has foo and not bar installed. foo is then unmerged, and bar is installed. fnord must continue to work correctly.
* A binary package of fnord made on a system with foo and not bar can be taken and installed on a system with bar and not foo.
In our case if we build wpa_supplicant against qt3, make a binary package and put it on a system with only qt4, the package will not work. Maybe a separated use flag is necessary for qt4 support
I see that wpa_supplicant 0.5.4 has changed qt support, so there was a problem with that form of dependecy :-)
I change the resolution to closed and not worksforme