DEPENDPATH += $$PWD/coreINCLUDEPATH += $$PWD/coreHEADERS += $$PWD/core/ibpp.hSOURCES += $$PWD/core/all_in_one.cppunix{ #LIBS += -lfbclient <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< вот тут DEFINES += IBPP_LINUX DEFINES += IBPP_GCC}
C++ (Qt)m_query->prepare("insert into RESULTS (RES_ID) values (?)");QSqlDatabase::database().transaction();for (const SigPac &sig : sigs) { m_packets[sig.id] = sig; m_query->addBindValue(sig.id); if (!m_query->exec()) { qCritical() << m_query->lastError(); }}QSqlDatabase::database().commit();