fixed qmake plugin reference to potentially undefined var