The thin walled tube with a longitudinal slit can be considered equivalent to a full tube and a strip carrying the same current density in the opposite direction. Inside the tube, the former does not contribute so the total magnetic field is simply that due to the strip. It is
B=μ02π(I2πR)hr=μ0Ih4π2Rr
where r is the distance of the field point from the strip.