connecting hog to qt