Adopt genchemlab; update qt3->qt4