Support debug builds of Qt