문제

After renaming my signal from "testSignal" to "DevFound" in C++ I get QML error:

Cannot assign to non-existent property "onDevFound" onDevFound: console.log(device)

I have tried to clean, rebuild, delete build files and restart Qt Creator.

도움이 되었습니까?

해결책

I renamed my C++ signal name from "testSignal" to "DevFound". The problem was the the signal name needs to start with a lower case letter so new name is "devFound".

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top