且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

必须在QWidget&之前构造一个QApplication。无效的参数传递给C运行时函数

更新时间:2023-02-24 16:00:11

我设法通过在调试模式下编译所有库来解决它,事实证明,在发布模式下构建库时,在调试模式下构建应用程序时,会发生未定义的行为。

I managed to solve it by compiling all the libraries in debug mode, turns out having libraries in release mode while building your application in debug mode will make undefined behaviour happen.