Add the use of qhashtbl to merge varinfo