There is provided herein a compound of formula (I) wherein R1, R2, n, X, Q, L, m, R3 and p are as defined herein, which compounds are useful in the treatment of treatment of diseases characterised by impaired signalling of neurotrophins and/or other trophic factors, such as Alzheimer's disease and the like.