After running qmake, clean and remake all we are still getting the same error when we click the BuildEntityButton in our Scene and drag (for every dragged Pixel, a new Log output with that error occurs):
file::/qml/VPlay/level/BuildEntityButton.qml:328: TypeError: Result of expression 'createdEntity' [undefined] is not an object.
We created a new V-Play project and only copied our QML folder to the new project.
We also made changes in our .pro file, it now looks as follows:
# V-Play project CONFIG += v-play_daily # V-Play Demo Game customFolder.source = qml DEPLOYMENTFOLDERS += customFolder # Add sources SOURCES += main.cpp
These two errors (as described before) are now gone:
:-1: Fehler:14 duplicate symbols for architecture x86_64
:-1: Fehler:collect2: ld returned 1 exit status