packages are correctly selected based on gtk/qt attribute