From a666d2d0ae31f7506f98ba32a351ffb59aa36601 Mon Sep 17 00:00:00 2001 From: Shane Ringrose Date: Tue, 16 Jun 2026 22:11:22 +1200 Subject: [PATCH] qet_tb_generator: drop dead ~/Application Data/qet fallback (Windows) The Windows search list for the qet_tb_generator plugin included `~/Application Data/qet/qet_tb_generator.exe` as a fallback. That legacy junction path is the same inaccessible location the standard-directories change moved QET away from, and it never matched a pip install anyway: `pip install qet_tb_generator` puts the executable in the Python Scripts directory (`...\PythonXX\Scripts` on PATH, or `%APPDATA%\Python\PythonXX\Scripts` for --user installs), not in `QETApp::dataDir()`. Pip installs are already found via QStandardPaths::findExecutable (PATH), and manual binary drops via dataDir()/binary and the working directory. The legacy entry only matched old manual drops into the inaccessible folder, so remove it. Refs qelectrotech-source-mirror#199 Co-Authored-By: Claude Opus 4.8 --- sources/qetdiagrameditor.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/sources/qetdiagrameditor.cpp b/sources/qetdiagrameditor.cpp index 335f6cb3c..2b1d9607c 100644 --- a/sources/qetdiagrameditor.cpp +++ b/sources/qetdiagrameditor.cpp @@ -2474,7 +2474,6 @@ void QETDiagramEditor::generateTerminalBlock() exeList << (QETApp::dataDir() + "/binary/qet_tb_generator.exe") << (QDir::currentPath() + "/qet_tb_generator.exe") << QStandardPaths::findExecutable("qet_tb_generator.exe") - << (QDir::homePath() + "/Application Data/qet/qet_tb_generator.exe") << "qet_tb_generator.exe" << "qet_tb_generator"; // from original code: missing ".exe" ??? #elif defined(Q_OS_MACOS)