QtCreator crashed on QQuickView memory allocation
-
Hi
I began thread here
http://qt-project.org/forums/viewthread/41564/#i run my program to point
QQuickView a;
and at this point i get crash of QtCreator@int main (int argc, char *argv[]) {
QGuiApplication app(argc, argv);QQuickView a;
///some other.........
}@
message Segmentation Fault
what can to say Qt profi?
-
Have you just tried to create the QQuickView object on the heap instead of the stack.
@
//Header File
QQuickView *a;
//Source File
a = new QQuickView(......);
@