If I were to compare the statistical similarity between the slopes of OLS regression lines from two independent samples, I would use a t-test to test if the slopes are equal or not. I'd like to compare the slopes of lines in a similar way obtained via quantile regression, however, I'm not sure if a t-test would be valid as the sample mean is used in the calculation.
Are there any specific methods used for this purpose? I've seen a lot of material on comparing OLS and quantile regression lines, or two OLS lines from independent samples but nothing on comparing two quantile regression lines in this way.