You do not need a constant of integration for the integrating factor
You do need one for the final step if you knew what q(x) was because that is how you get the family of functions that satisfy the differential equation
If you had an initial value, then you could solve for the constant explicity after you've integrated, but yes, you need a +C (or some constant) on the final integration to get the family of answers and not just one specific function