From 53705694a69688a35df5f9e633ea350100c5d9ff Mon Sep 17 00:00:00 2001 From: jw098 Date: Sat, 29 Aug 2026 10:11:31 -0700 Subject: [PATCH] if-def Qt headers within GlobalSettingsPanel --- SerialPrograms/Source/CommonFramework/GlobalSettingsPanel.cpp | 4 ++++ 1 file changed, 4 insertions(+) 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){