A
A
alexey_abramov2015-11-27 21:43:07
Android
alexey_abramov, 2015-11-27 21:43:07

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
48a5a1534c7f4c02bcf791649db89007.png
. 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

1 answer(s)
A
alexey_abramov, 2015-11-28
@alexey_abramov

I redid it without a ui file - as expected, everything worked.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question