(1)QT5.14中调用CH9140Init()(BleUartLib V1.2),运行程序时报如下错误:
12:14:13: E:\QTProjects\build-FILTER-Desktop_Qt_5_14_1_MinGW_64_bit-Release\FILTER.exe exited with code -529697949
(2)在main.cpp中按如下方式调用可正常执行,但进行文件操作时程序卡死( QString csvFileName = QFileDialog::getSaveFileName(this, tr("保存设置"), tr("."), tr("csv files(*.csv)")); )
#include "mainwindow.h"
#include
int main(int argc, char *argv[])
{
CH9140Init();
QApplication a(argc, argv);
MainWindow w;
w.show();
return a.exec();
}