Answer the question
In order to leave comments, you need to log in
Qt for android - are there any bugs when using the form editor (designer)?
Hello.
I have been programming for android recently, earlier some small applications (such as todo-list, tetris, etc.) were assembled without problems. The form editor has never been used before, because it is unnecessarily.
I made a small game, using the form editor I made a GUI, the main element of which is QGraphicsView
. Everything is fine on Windows and Ubuntu, but there is a problem with Android. Fatal error on startup, here is the log - pastebin.com/C2ACRPYJ
It seemed to me that the matter was in the ill-fated form editor, and glitches with the use of QGraphicsView from the form editor. After all, earlier I created Tetris with the same qgraphicsview and . I tried it - I created a form with one button and a graph viewer, when the button is pressed, we add text. And then an error occurs and the program crashes when you click on the button on which we add text. Outputs:
F/libc (22570): Fatal signal 11 (SIGSEGV), code 1, fault addr 0x4 in tid 22704 (QtThread) Android
programmers using qt, tell me what to do in this situation, are there any troubles using form editor? What to dig in, how best to debug.
Tomorrow I will re-create the application without using the form editor and write back, it should work IMHO, I try to write adequate code in terms of protection against memory leaks, etc. , and the drawing was essentially done according to the same logic as in Tetris.
Answer the question
In order to leave comments, you need to log in
I redid it without a ui file - as expected, everything worked.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question