我編譯-MT QT動態(修改配置文件)使用QT與DLL與-MT崩潰編譯
我的代碼是這樣的(我的計劃是與MT釋放模式太):
int main(int argc, char *argv[])
{
int ret = 0;
if(0 == ret)
{
QApplication a(argc, argv);
{
test01 w;
w.show();
ret = a.exec();
}
}
return ret;
}
test01 is very simple like this:
class test01 : public QMainWindow
{
Q_OBJECT
public:
test01(QWidget *parent = 0);
~test01();
private:
Ui::test01Class ui;
};
一切正常,但是當離開的主要功能,它墜毀:
[enter image description here][1]
任何人會幫我嗎?
圖像未添加 – pableiros