fix the annoying errors when you develop
This commit is contained in:
2026-02-14 16:43:13 +01:00
parent 6a0c9732cc
commit deadf795f7
2 changed files with 4 additions and 4 deletions
+2 -2
View File
@@ -51,11 +51,11 @@ Simulators::Simulators(uint16_t port, QStringList can_devs, QStringList uart_dev
}
}
QLibrary lib;
QDirIterator it(QCoreApplication::applicationDirPath(), QStringList() << "*.so", QDir::Files,
QDirIterator it(QCoreApplication::applicationDirPath(), QStringList() << "*libsim_*.so", QDir::Files,
QDirIterator::Subdirectories);
while (it.hasNext())
{
QLibrary lib;
lib.setFileName(it.next());
lib.load();
auto loaded_sim = Get_Sim(lib.resolve("get_sim"));