[Qt-creator] QmlProjectPlugin got a dependency to QtDeclarative (master branch)

Kai Koehne kai.koehne at nokia.com
Tue Feb 2 10:14:35 CET 2010


ext Brian McGillion wrote:
> Hi Kai,
> 
> I have been having some trouble getting the QmlPlugin working from the
> master branch.  The steps I followed are:
> 
> [...]
>
> In creator I choose to compile the latest git version of creator against
> this 4.6.2 version of qt.  Here is the error that I am receiving.
  >
> ../../../../src/libs/qmljs/qmljsinterpreter.cpp:39:75: error:
> QtDeclarative/private/qmlgraphicsanchors_p.h: No such file or directory

Hi Brian,

The QmlDesignerPlugin right now depends on some private headers of 
QtDeclarative. Unfortunately these aren't copied by "make install".

There are two ways to work around this: Either set up Qt to be used from 
the source directory, e.g. by passing "-prefix=$PWD" to configure (you 
don't do the extra "make install" then). Or run "./bin/syncqt -outdir 
/usr/local/Trolltech/Qt-4.6.2/" after "make install", which will also 
copy the private headers into the installation directory.

We're right now looking into ways to fix this, or at least properly 
document it ;)

Regards

Kai

PS: CCing this to the mailing list so that others don't run into the 
same problems.

-- 
Kai Koehne
Software Engineer
Nokia, Qt Development Frameworks

Nokia gate5 GmbH
Firmensitz: Invalidenstr. 117, 10115 Berlin, Germany
Registergericht: Amtsgericht Charlottenburg, Berlin: HRB 106443 B
Umsatzsteueridentifikationsnummer: DE 812 845 193
Geschäftsführer: Dr. Michael Halbherr, Karim Tähtivuori



More information about the Qt-creator-old mailing list