May 2, 2012

vassin vassin
Lab Rat
1 posts

Can’t build qml example in eclipse

 

Hi

I am trying to build qml examples under C:\QtSDK\Examples\4.7\declarative , for example “positioners”.

I get error.

(note that i am able to build other examples like C:\QtSDK\Examples\4.7\draganddrop)

I am copying here just part of my build output. Please let me know if you need more details…
.
.
.
-I”..\..\..\..\Desktop\Qt\4.8.1\mingw\include” -I“qmlapplicationviewer” -I”..\..\..\..\Desktop\Qt\4.8.1\mingw\include\ActiveQt” -I“debug” -I”..\..\..\..\Desktop\Qt\4.8.1\mingw\mkspecs\default” -o debug\moc_qmlapplicationviewer.o debug\moc_qmlapplicationviewer.cpp
.
.
Copying application data…
0 File(s) copied
Cannot perform a cyclic copy
make1: *** [copydeploymentfolders] Error 4
make1: Leaving directory `C:/QtSDK/Examples/4.7/declarative/positioners’
make: *** [debug] Error 2

I am not sure what is the problem.
I guess if source and destination folder is same while copying files, this may lead to cyclic copy and hence the error.
Can enabling shadow build help?, but I am not sure how to do that in Eclipse. I don’t get that option while importing Qt project file to Eclipse. (Like we get an option for shadow build in Qt Creator).

Please help.

Thanks.

0 replies

 
  ‹‹ How to programming, like a card shuffle.      ListView rendering problem ››

You must log in to post a reply. Not a member yet? Register here!