Вопрос

from here http://nuwen.net/mingw.html I've downloaded gcc 4.7 and I've set this up in qt. Everything compiles fine in qt, unfortunately when I run my app (from qt) it crashes.
Any thougts?
Edit (this is this application, OS Win7, Qt 4.8):

#include <QApplication>
#include <QDialog>
int main(int c, char** v)
{
    QApplication app(c,v);
    QDialog* d = new QDialog();
    d->show();
    return app.exec();
}
Это было полезно?

Решение

If you update the compiler, you should probably recompile Qt.

Different version of gcc can work together, but they might be themselves compiled with incompatible options.

Лицензировано под: CC-BY-SA с атрибуция
Не связан с StackOverflow
scroll top