Home > Mobile >  QT the same code and operation, the F5 debugger is normal, Ctrl + R to run repeat operation will cau
QT the same code and operation, the F5 debugger is normal, Ctrl + R to run repeat operation will cau

Time:04-16

QT the same code and operation, the F5 debugger is normal, Ctrl + R to run repeated operation will cause the program crashes, no code in hand now,

Operation process is roughly, click on the button to clear the form layout and released within the new Widget, ToolButton and Label in to new control layout and set

Code is roughly such

//button to the groove function to refresh the main panel
Void btn_click ()
{
1. Clear layout
.

2. Traverse has new controls BTN, label, etc.

3. Release the new controls

4. The new control layout and setup again etc.
}

Why F5 debugging will not collapse, but doesn't necessarily when running collapse?

Internet has said that the high frequency signal slot function to cause page refresh interface card, which is unusual,

CodePudding user response:

Up up up

CodePudding user response:

The most stupid way, find and print information is collapsed in which position

CodePudding user response:

refer to the second floor mango black response:
the most stupid way, find and print information is in which position collapsed

Writing qDebug where may collapse?

CodePudding user response:

references a 3 floor can't white white reply:
Quote: refer to the second floor mango black response:
the most stupid way, find and print information is in which position collapsed

Writing qDebug where may collapse?

You add qDebug according to dichotomy, as you said the collapse of the quite easy to implement, narrow scope

CodePudding user response:

mango black reference 4 floor response:
Quote: refer to the third floor of a small white to white reply:
Quote: refer to the second floor mango black response:
the most stupid way, find and print information is in which position collapsed

Writing qDebug where may collapse?

You add qDebug according to dichotomy, as you said the collapse of the quite easy to implement, narrow scope of


Well,
  •  Tags:  
  • Qt
  • Related