mavlink/qgroundcontrol — pull request #422 by DonLakeFlyer (2013-12-07 17:07:08+00:00)
Title: Mavericks fix to APM_Toolbar

QTBUG 34300 causes relative path references to qml file loading to fail. Mavericks (OSX 10.9) changed the behavior of current directory with respect to application launch path. It is now somewhat non-deterministic if a set current dir hasn't been done. This causes qml file loading to fail because it can't find the relative path into the app package. I changed the code to fully quality the path. I only changed it for OSX, just to be extra safe, but it should be ok for any os. Your call to keep as is, or remove the #ifdef and make it for all builds.