@SimpleY i ve got same problem as your, try to go to preferences->Qt Quick->QML/JS editing-> QML Language server and remove tick on Tun on (leave all unchecked)
@Yaseen
Well there are many samples and I stumbled on this one a day where I typed
Widget in the search field to see all samples for Desktop / not Qt Quick . :)