Click Compile Output, scroll up and click the red line.
In my case, the red line said: you cannot define an integer value in closed slots.
In the qt creator’s window, under the “Progress Information” section, there is a button with the name “Compile Output” (button number 4). Errors are explained there in red. Click it and scroll up.
source share