[Development] Error compiling qt-creator (from git repository)

Lincoln Ramsay lincoln.ramsay at nokia.com
Wed Jul 18 05:22:58 CEST 2012


On 07/18/2012 02:49 AM, ext Leandro Melo de Sales wrote:
> I'm compiling qt-creator and got this error:
>
> (...) src/plugins/coreplugin/coreplugin.h:48: Error: Plugin Metadata
> file "Core.json" does not exist. Declaration will be ignored

You're shadow building. I noticed this the other day.

The problem is that the .json files are generated. You could force them 
to be created in the source tree (as per 
https://codereview.qt-project.org/#change,30732) but since creating 
files in the source tree is bad form, the real fix will be to have moc 
search in the build tree for these files.

I'm not sure if there's a change for that yet.

-- 
Lincoln Ramsay - Senior Software Engineer
Qt Development Frameworks, Nokia - http://qt.nokia.com/





More information about the Development mailing list