[Qt-creator] shadow building

Boy Lenssen Boy.Lenssen at esaote.nl
Fri Mar 20 09:19:07 CET 2009


Hi,

 

I'm having a problem with the shadow build option.

 

At first I just built everything in the directory where the sources are
located. But I found the shadow build option and it seems great to have
the build output in a separate directory, so I am able to build the
projects from the same source tree with different compilers / release /
debug versions.

 

I've checked the checkbox, gave up a subdirectory where to put the build
files. Everything builds and runs, but I get errors from the resource
compiler:

 

c:\Qt\2009.01\qt\bin\rcc.exe: File does not exist
'..\..\libmylibrary\images\mylibresource.qrc'

 

Then I did a make clean and build, but I got build errors that it
doesn't find generated (for instance) moc-files. Then I clicked 'import
existing build' and I guess it copies the generated files to the created
sub directory.

 

I just don't understand why rcc doesn't find the resource file, as the
relative path above is indeed the location to the resource file when you
are in the sub directory (created for the output).

 

I hope my story is a bit clear above. Maybe somebody had the same
problem and can point me in the right direction, I would greatly
appreciate it.

 

Regards,

Boy

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-creator-old/attachments/20090320/180d8519/attachment.html 


More information about the Qt-creator-old mailing list