This paper presents the design of Iterative Learning Control based on Quadratic performance criterion (Q-ILC) for linear systems subject to additive uncertainty. Robust Q-ILC design can be cast as a min-max problem. We propose a novel approach which employs an upper bound of the worst-case error, then formulates a nonconvex quadratic minimization problem to get the update of iterative control inputs. Applying Langrange duality, the Lagrange dual function of the nonconvex quadratic problem is equivalent to a convex optimization over linear matrix inequalities (LMIs). An LMI algorithm with convergence properties is then given for the robust Q-ILC. Finally, we provide a numerical example to illustrate the effectiveness of the proposed method.