Details
-
Bug
-
Resolution: Out of scope
-
Not Evaluated
-
None
-
6.9.1
-
None
-
Microsoft Windows 11 24H2 26100.4349. Microsoft Visual Studio 2022 Build Tools. Qt 6.9.1 for MSVC. Visual Studio Code. Qt C++ extension for VS Code.
Description
There are two issues related to slots created in QT Designer.
1. Creating a new slot in QMainWindow from QT Designer does not update the source code and header file. Manual specification of the slots is required
2. The slot created in the Designer and then implemented in the source code is executed twice.
Steps to reproduce:
1. Create a new QtWidgets project in QtCreator
2. Edit .ui file in the Qt Designer (standalone)
3. Create a new slot in QMainWindow
4. Create a new signal and connect it to the slot
5. Save the .ui file
6. Create the slot in the header file
7. Implement the slot in the source file
8. Execute a program and fire the signal (in my case, click a button)
9. Slot is executed twice
Source code archive is attached to the issue.