Problem phenomenon:
Cause:
this warning appears because when processing the signal slot relationship, we use “go-to slot” in the UI designer to make the program generate automatically
the weakness of this automatic generation is that one day, you may change the name of the control in the UI designer, but the compilation will not report an error. The program still runs normally, and the compilation does not prompt errors
in this way, the control is equivalent to not being connected to the slot function and becomes invalid.
Recommended solution:
recommendation 1: do not automatically generate signal slot connection through “go to slot” of UI designer. The relationship can be established manually. For example:
connect (toolbutton, & QPushButton:: clicked,
this, & yourclassname:: nameofyourslot)
recommendation 1: ignore this warning and just ignore it. Because this is just a kind reminder.
Read More:
- [Solved] Win10 Warning: ModuleNotFoundError: No module named ‘win32con‘ and No module named ‘antlr4‘
- [Solved] Android Studio Generate APK Error: error_prone_annotations.jar (com.google.errorprone:error)
- [Solved] Qt Error: qt.network.ssl: QSslSocket::connectToHostEncrypted: TLS initialization failed
- [Solved] QT error: the packaged exe of Enigma virtual box reports an error cannot load library qt5core.dll
- [Solved] No module named ‘pywt‘ or ModuleNotFoundError: No module named ‘skimage.metrics‘
- [Solved] QT Programme Error: error: no matching function for call to…
- [Solved] Opencv Compile Error: (CMake Error: The following variables are used in this project, but they are set to not)
- How to Solve “Status bar could not find cached time string image. Rendering in-process.” in Xcode
- VS Open the UI file of QT Crash and Report Error [How to Solve]
- QT Error: Failed to create vertex shader [Three Methods to Fix]
- Weboffice Warning: OLE error 800A01A8 [How to Solve]
- [Solved] QT error: error: undefined reference to ` VTable`
- Vagrant up Error: Warning: Authentication failure. Retrying…[How to Solve]
- JMeter JDBC Error: No pool found named: ‘test‘ [How to Solve]
- [Android] method of removing title bar and using request window feature (Window.FEATURE_ NO_ Title); why does it fail
- [Solved] Qt Vtk wglMakeCurrent failed in MakeCurrent(), error: The handle is invalid.
- [Solved] Error(22) WARNING: IPv4 forwarding is disabled. Networking will not work.
- [Solved] CMake Error: Could not create named generator Visual Studio 16 2019 -A Win64
- How to Solve QT error: LNK1158: Cannot Run “rc.exe”
- The solution of no module named ‘jinja2. Asyncsupport’