1 Attachment(s)
The program is completed due to the lack of layout management on the form
I'm trying to use a virtual keyboard (https://www.linux-apps.com/p/1132203).
I noticed a very strange thing. If you remove the linker on the form, the program terminates with an error
Code:
Error - RtlWerpReportException failed with status code :-1073741823. Will try to launch the process directly
Attachment 12573
With the vertical line-up everything works.
An error occurs when the focus is changed (if you click on another qLineEdit) in file examplemyfocus.cpp in line
Code:
((Tester*)this->parent())->getKeyboard()->focusThis(this);
Because of what it can happen?
Re: The program is completed due to the lack of layout management on the form
Quote:
If you remove the linker on the form,
What is a "linker"?
Quote:
An error occurs when the focus is changed
That's nice. Any particular error, or can we choose the error ourselves?
Quote:
Because of what it can happen?
- "this" is null or uninitialized
- parent() returns a null pointer
- getKeyboard() returns a null or invalid pointer
- focusThis() fails
Re: The program is completed due to the lack of layout management on the form
Quote:
What is a "linker"?
I do not know how this translates into English. I meant the layout: on the grid, vertical, etc.
Quote:
That's nice. Any particular error, or can we choose the error ourselves?
For example, I have 2 qlineedit. You need to focus on the required field so that the keyboard prints where it's needed. When trying to change the focus, the program breaks with an error, which I wrote