Wow, thank you so much JKSH. That makes perfect sense. I fixed the problem by not instantiating a new QQuickView and instead passing the address of the original one as needed. If it weren’t for your post, there is no telling how much longer it would’ve taken me to come to that conclusion. Our team has made a lot of progress and we have a better grasp of Qt.
For posterity:
My problem was that I was mistakenly instantiating a new view, which existed without being shown and only existed for a short time within a function. I was trying to connect a signal from the window that was already instantiated and shown. The QQuickView::setSource(…) method is not how you interact with a QML app that is already up and running.
↧