[Scons-users] Trouble building a qt based project.

Matias Iturburu matias.iturburu at tallertechnologies.com
Fri Oct 18 13:30:37 EDT 2013


2013/10/18 Dirk Bächle <tshortik at gmx.de>


> On 16.10.2013 00:30, Matias Iturburu wrote:

>

>

>

>

> 2013/10/7 Dirk Bächle <tshortik at gmx.de>

>

>> On 07.10.2013 22:43, Matias Iturburu wrote:

>>

>>

>> These are the remaining issues:

>>

>> - RCC still can't solve the image paths

>> /usr/bin/rcc -root

>> /home/matias/Proyectos/fudepan-build/build/PrecisionFarm/farming-guidance-system-src/uiDirector

>> -name images

>> build/PrecisionFarm/farming-guidance-system-src/uiDirector/images.qrc -o

>> build/PrecisionFarm/farming-guidance-system-src/uiDirector/qrc_images.cc

>> RCC: Error in

>> 'build/PrecisionFarm/farming-guidance-system-src/uiDirector/images.qrc':

>> *Cannot find file 'res/images/red_arrow.png'*

>> scons: ***

>> [build/PrecisionFarm/farming-guidance-system-src/uiDirector/qrc_images.cc]

>> Error 1

>> scons: building terminated because of errors.

>>

>>

>> Looks like your argument to "root" is the wrong path. It points into

>> your build directory, but shouldn't it refer to your source folder, where

>> "res/images/red_arrow.png" can actually be found?

>>

>

> Why isn't SCons copying those files as it does with every other build

> artifact?

> Shouldn't the tool handle this?

> How could I tell SCons how to treat those resources?

>

>

> Hi Matias,

>

> please use the explicit call of the Qrc4 Builder like this:

>

> qrc = env.Qrc4('qrc_images.cc','images.qrc')

> env.Program(..., your_sources + [qrc])

>

> Then the proper QRC scanner gets called and will resolve the dependencies

> and copy the required files.

>

> Best regards,

>


Good to know. I'll se what happens.
Thank you very much.



>

> Dirk

>

>

> _______________________________________________

> Scons-users mailing list

> Scons-users at scons.org

> http://four.pairlist.net/mailman/listinfo/scons-users

>

>



--
<http://www.tallertechnologies.com>
Matías Iturburu
Software Engineer

*San Lorenzo 47, 3rd Floor, Office 5
Córdoba, Argentina

*
*Phone: +54 351 4217888 / +54 351 4218211
Skype: matias.iturburu*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://four.pairlist.net/pipermail/scons-users/attachments/20131018/fb595600/attachment-0001.html


More information about the Scons-users mailing list