[SOLVED] invalid use of incomplete type
-
This is the error I get:
@error: invalid use of incomplete type 'class QDeclarativeEngine'
engine()->addImportPath(QmlApplicationViewerPrivate::adjustPath(path));
^@Is this a porting problem because I'm trying to use Qt 5.2?
-
Hi,
The engine is re-named in Qt5
Qt4: QDeclarativeEngine
Qt5: QQmlEngine -
Thanks, I was afraid of that... I have 76 errors like this :-/
Looks like I will try and fix them all... Anyone up for helping me fix these? -
Does that mean they hold the same functionality with just a different name? I ask because I'm wondering if I have to understand the details of whats going on or can I just blindly change the names to make it work.
-
Api is the same, but internals are different.
This guide would be usefull :)
-
Thanks for the link. The sad thing is that I already have that guide docmarked. I'm just having a hard time understanding it and implementing it :(