Double haploid (DH) population is normally used to retain the desired alleles in the genome. In addition, the method is also a quicker way to produce homogenous line, instead of self-pollination over generations to produce inbred lines. Some researchers sequence DH materials to achieve a better assembly quality because of reduced genetic variants.
If you are aiming to map the QTL using F2 population with maximum polymorphism throughout the genome, then crossing between different DH individuals will give you the best result.
use of double haploids population is the shortest way to produce fully homozyguous population for the whole genome of certain plant species which is more useful in genetic mapping compared to the continuous selfing required in case of development of RILs populations that usually used for genetic mapping