[QBS] Generte files on source dir

Porfírio Ribeiro porfirioribeiro at gmail.com
Mon Jul 2 22:11:26 CEST 2012


For what i can see on moc source:
http://qt.gitorious.org/qt/qtbase/blobs/master/src/tools/moc/moc.cpp#line1104

>From what i understand, it's only checking the same dir of source file...

2012/7/2 Joerg Bornemann <joerg.bornemann at nokia.com>

> On 30/06/2012 17:12, ext Porfírio Ribeiro wrote:
>
>  I want to use the Qt5 /Q_PLUGIN_METADATA //for include a JSON file with
>> the plugin/
>>
>> I want to use QBS to generate the JSON, loading a template and
>> introducing some replacements and save.
>> But QBS only saves on the build directory and /Q_PLUGIN_METADATA //only
>> finds the json file if it is on the same dir as the cpp file.../
>>
>
> I thought we fixed moc to also search the include paths for the json file?
> Apparently not...
> You might want to file a bug report that moc should pick up the json file
> in include paths as well.
>
>
>  So how can i make QBS generate files in the source dir?
>>
>
> This isn't possible at the moment.
> See https://bugreports.qt-project.**org/browse/QBS-116<https://bugreports.qt-project.org/browse/QBS-116>
>
> You're being hit by a combination of two problems here. :-(
>
>
> BR,
>
> Jörg
>
> --
> Joerg Bornemann
> Senior Engineer
> Nokia, Qt Development Frameworks
>
> Nokia gate5 GmbH
> Firmensitz: Invalidenstr. 117, 10115 Berlin, Germany
> Registergericht: Amtsgericht Charlottenburg, Berlin: HRB 106443 B
> Umsatzsteueridentifikationsnum**mer: DE 812 845 193
> Geschäftsführer: Dr. Michael Halbherr, Karim Tähtivuori
>
>
>
>


-- 
Porfirio Ribeiro
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/qbs/attachments/20120702/1a5e7335/attachment.html>


More information about the Qbs mailing list