It is generally done by comparing the integrated fluorescence emission spectrum of the compound of interest to that of another compound with a known quantum yield, as described in the documents below. Try to choose a standard with similar fluorescence properties to your substance, and use the same solvent for both. The quantum yields of commercial dyes can often be found in the vendor's catalog (see for example the Molecular Probes Handbook). They are solvent-dependent.