Results 1 to 3 of 3

Thread: The program is completed due to the lack of layout management on the form

  1. #1
    Join Date
    Apr 2017
    Posts
    30
    Thanks
    9
    Qt products
    Qt5
    Platforms
    Windows

    Default 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
    Qt Code:
    1. Error - RtlWerpReportException failed with status code :-1073741823. Will try to launch the process directly
    To copy to clipboard, switch view to plain text mode 
    21244445_1940211752905255_1561599495_n.png
    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
    Qt Code:
    1. ((Tester*)this->parent())->getKeyboard()->focusThis(this);
    To copy to clipboard, switch view to plain text mode 
    Because of what it can happen?

  2. #2
    Join Date
    Jan 2008
    Location
    Alameda, CA, USA
    Posts
    4,481
    Thanks
    252
    Thanked 711 Times in 701 Posts
    Qt products
    Qt5
    Platforms
    Windows Android

    Default Re: The program is completed due to the lack of layout management on the form

    If you remove the linker on the form,
    What is a "linker"?

    An error occurs when the focus is changed
    That's nice. Any particular error, or can we choose the error ourselves?

    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
    <=== The Great Pumpkin says ===>
    Please use CODE tags when posting source code so it is more readable. Click "Go Advanced" and then the "#" icon to insert the tags. Paste your code between them.

  3. #3
    Join Date
    Apr 2017
    Posts
    30
    Thanks
    9
    Qt products
    Qt5
    Platforms
    Windows

    Default Re: The program is completed due to the lack of layout management on the form

    What is a "linker"?
    I do not know how this translates into English. I meant the layout: on the grid, vertical, etc.

    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

Similar Threads

  1. Replies: 3
    Last Post: 18th July 2013, 04:12
  2. Guide needed for layout management
    By sikander243 in forum Newbie
    Replies: 1
    Last Post: 14th March 2013, 11:02
  3. Layout management thoughts required
    By ChrisW67 in forum Qt Programming
    Replies: 2
    Last Post: 5th July 2011, 23:58
  4. Multiple form management?
    By kpmsivachand in forum Qt Programming
    Replies: 3
    Last Post: 31st January 2009, 06:40
  5. Layout Management Issues
    By dave in forum Newbie
    Replies: 3
    Last Post: 5th November 2006, 18:16

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.