The invention provides a compound of Formula I, Pharmaceutical compositions comprising such compounds and the use of such compounds in the treatment of phosphoinositide 3-kinase related diseases and disorders such as cancer. The instant application further relates to the the treatment of histone deacetylase related disorders and diseases related to both histone deacetylase and phosphoinositide 3-kinase.本發明提供式I化合物包含此化合物之醫藥組合物,以及使用此化合物治療磷脂醯肌醇3-激酶相關疾病及病症例如癌症之用途。本申請案更關於組蛋白去乙醯基酶相關病症之治療,以及組蛋白去乙醯基酶與磷脂醯肌醇3-激酶兩者相關疾病的治療。