View Single Post
Posts: 222 | Thanked: 205 times | Joined on Jul 2009 @ Finland
#23
Originally Posted by Jaffa View Post
But now it doesn't compile: invalid use of incomplete type 'struct QDeclarativeEngine'.

Any ideas?
#include <QDeclarativeEngine>

In Qt Creator, the fact that you don't get autocompletions is a good hint you need to include the header for that class.
__________________
'QtDone'. Getting things done (GTD) was never this cheap!

'QmlReddit' reads Reddit!
 

The Following 2 Users Say Thank You to vivainio For This Useful Post: