Using LP Duality Primal:
\[\mathbf 0^Tx\quad \text{s.t.} \quad A^TAx=A^Tb\]Dual:
\[b^TA\alpha\quad \text{s.t.} \quad (A^TA)^T\alpha=0\]Clearly, $\alpha=0$ is the solution of Dual problem which equal to minimum of primal problem. Hence, dual has solution implies primal has solution which $A^TAx=A^Tb$ alwasy has a solution.
Primal QP
\[\min\limits_{x\in \mathbb R^n} \frac{1}{2}x^TQx+p^Tx \quad \text{s.t.} \quad Ax \leq b\]with strictly convex assumption, we have
Dual QP