diff --git a/SerialPrograms/Source/CommonFramework/GlobalSettingsPanel.cpp b/SerialPrograms/Source/CommonFramework/GlobalSettingsPanel.cpp index cf50b09e22..a2debabc17 100644 --- a/SerialPrograms/Source/CommonFramework/GlobalSettingsPanel.cpp +++ b/SerialPrograms/Source/CommonFramework/GlobalSettingsPanel.cpp @@ -6,8 +6,10 @@ #include #include +#ifdef QT_CORE_LIB #include #include +#endif #include "Common/Cpp/ColoredText.h" #include "Common/Cpp/Containers/Pimpl.tpp" #include "Common/Cpp/LifetimeSanitizer.h" @@ -382,8 +384,10 @@ void GlobalSettings::on_config_value_changed(void* object){ } void GlobalSettings::on_press(ButtonCell& button){ +#ifdef QT_CORE_LIB // Open the runtime base folder in the system file manager QDesktopServices::openUrl(QUrl::fromLocalFile(QString::fromStdString(RUNTIME_BASE_PATH()))); +#endif } void GlobalSettings::connect_row_with_download(const std::string& resource_slug, std::shared_ptr& download_ptr){