Any way to use HMC5883L library with QMC5883L

Use the QMC5883L library. The chip is not a clone, and not all HMC5883L sensor functions are available.

Don't forget to calibrate the sensor properly.