How about using qDeleteAll (hs_markup);
hs_markup.clear();