This invention is in the field of medicinal chemistry. In particular, the invention relates to a new class of small-molecules having a quinazoline structure or a quinoline structure which function as dual inhibitors of EGFR proteins and PI3K proteins, and their use as therapeutics for the treatment of cancer and other diseases.