December 1, 2011

andzero andzero
Lab Rat
7 posts

[Solved] Problem with remote compiler and extra folder / deploymentfolder



I’ve searched here and there but this problem kept me stuck for a whole day.
So i need some pointings and helps from you all :( sorry for the trouble.
I’m a newbie, I’ll try to describe it as detail as possible.

I am using Qt Creator 2.2.0 for Windows, based on Qt 4.7.4.
Currently I’m creating a test project that uses an external / extra file or folder (deploymentfolders).
I’m trying to build this project via Remote Compiler, for MeeGo 1.2 Harmattan target.

The program simply reads from files/test.txt, and copies it to a label.
I could’ve used a QResource for this type of program, but the real program I’m working on needs
a file where I can change its value at runtime, and AFAIK I can’t do that with QRC. ( CMIIW :D )

The problem before was a confusing error message in compile output:

  1. cp: `D:/project/filetest/files' and `D:/project/filetest/files' are the same file
  2. make: *** [copydeploymentfolders] Error 1

the copydeploymentfolders Error 1 is gone now, thanks to this thread [].
However, the deploymentfolders are not deployed into the phone (N9 via Nokia Remote Device Access) after I installed my app.
In my .pro file, I simply changed the external file source into my own:

  1. unix {
  2.     dir1.files = files/*
  3.     dir1.path  = /opt/$${TARGET}
  4.     INSTALLS += dir1
  5. } else {
  6.     dir1.source += files/*
  8. }

Also another thing I noticed, inside the .rar file that QtCreator created before sending it to Remote Compiler,
I cannot find the external file i want. :S

Any help is appreciated,
thank you very much!

2 replies

December 1, 2011

andzero andzero
Lab Rat
7 posts

It appears that I didn’t search enough.. x.x
I have found a thread that’s potential for a solution.

will update. Sorry for the trouble!
here’s the thread: Link []

Remote Compiler doesn’t seem to package my deploymentfolders; i can’t find it inside the device’s directory..

December 9, 2011

andzero andzero
Lab Rat
7 posts

Solved! I downloaded the newest version of QtCreator and it works well.


  ‹‹ scripts containing QDialogBoxes is not being supported in my GUI      Receive input events from an external touchpad ››

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