Graeme McDowell has not given up hope of qualifying for the The Open despite suffering a difficult period in his career.