initial commit of Qt5 support
add a workaround for min/max layout issue on Qt5