linux qt build failed fix ( Issue 3599 )

simple fix based on NativeApp.cpp