A welding device for applying weld material between two work pieces (P1, P2) so as to connect the work pieces (P1, P2) mechanically with one another, the welding device comprising: a welding head configured to perform a welding action in respect of the work pieces (P1, P2) during transport of the welding device along an operating direction in a welding plane, and a probe head arranged upstream of the welding head relative to the operating direction, the probe head being configured to measure a set of geometric properties of a gap between the work pieces (P1, P2) so as to enable positioning of the welding head to attain a desired application of the weld material in the gap, wherein the welding device comprises first adjustment means configured to allow a position of the probe head to be varied angularly relative to a position of the welding head by rotating at least one of the probe head and the welding head around a first axis oriented essentially perpendicular to the welding plane, characterized in that the first adjustment means comprises a joint and control means, wherein the first axis passes through the joint, the control means includes a rod and interconnecting respective flexible attachment points (330, 335) on the welding head and the probe head, wherein the control means further comprises locking bolts (340, 345) arranged on the rod and being manually controllable via a suitable tool to enable the distance between the probe head and the welding head to be fixed, and thereby-to lock the probe head relative to the welding head at a particular angle (α1) with respect to the first axis, or the control means further comprises an electric motor arranged on the rod and configured to rotate the rod, in response to a master signal (S m), the master signal (S m) being based on the measured set of geometric properties of the gap, wherein rotation of the rod varies the first angle (α1) of the first adjustment means. a welding head configured to perform a welding action in respect of the work pieces (P1, P2) during transport of the welding device along an operating direction in a welding plane, and a probe head arranged upstream of the welding head relative to the operating direction, the probe head being configured to measure a set of geometric properties of a gap between the work pieces (P1, P2) so as to enable positioning of the welding head to attain a desired application of the weld material in the gap, wherein the welding device comprises first adjustment means configured to allow a position of the probe head to be varied angularly relative to a position of the welding head by rotating at least one of the probe head and the welding head around a first axis oriented essentially perpendicular to the welding plane, characterized in that the first adjustment means comprises a joint and control means, wherein the first axis passes through the joint, the control means includes a rod and interconnecting respective flexible attachment points (330, 335) on the welding head and the probe head, wherein the control means further comprises locking bolts (340, 345) arranged on the rod and being manually controllable via a suitable tool to enable the distance between the probe head and the welding head to be fixed, and thereby-to lock the probe head relative to the welding head at a particular angle (α1) with respect to the first axis, or the control means further comprises an electric motor arranged on the rod and configured to rotate the rod, in response to a master signal (S m), the master signal (S m) being based on the measured set of geometric properties of the gap, wherein rotation of the rod varies the first angle (α1) of the first adjustment means.