diff --git a/src/ui/MainWindow.cc b/src/ui/MainWindow.cc index d0701d18ba5b4b4bea7117999c49da21d5fa6046..5c692c989e85fd103aefbfc3ff2e4a63297a3cc0 100644 --- a/src/ui/MainWindow.cc +++ b/src/ui/MainWindow.cc @@ -569,7 +569,7 @@ void MainWindow::buildCommonWidgets() } #endif -#if (defined _MSC_VER) | (defined Q_OS_MAC) +#if QGC_GOOGLE_EARTH_ENABLED if (!googleEarthView) { googleEarthView = new SubMainWindow(this);