Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. [Solved] Problem with remote compiler and extra folder / deploymentfolder
Forum Updated to NodeBB v4.3 + New Features

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

Scheduled Pinned Locked Moved Mobile and Embedded
3 Posts 1 Posters 2.8k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • A Offline
    A Offline
    andzero
    wrote on last edited by
    #1

    Hello!

    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:
    @cp: D:/project/filetest/files' and D:/project/filetest/files' are the same file
    make: *** [copydeploymentfolders] Error 1@

    UPDATE:
    the copydeploymentfolders Error 1 is gone now, thanks to "this thread":http://developer.qt.nokia.com/forums/viewthread/9037.
    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: @unix {
    dir1.files = files/*
    dir1.path = /opt/$${TARGET}
    INSTALLS += dir1
    } else {
    dir1.source += files/*
    DEPLOYMENTFOLDERS = dir1
    }
    @

    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!

    1 Reply Last reply
    0
    • A Offline
      A Offline
      andzero
      wrote on last edited by
      #2

      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":http://developer.qt.nokia.com/forums/viewthread/9037

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

      1 Reply Last reply
      0
      • A Offline
        A Offline
        andzero
        wrote on last edited by
        #3

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

        Thanks!

        1 Reply Last reply
        0

        • Login

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • Users
        • Groups
        • Search
        • Get Qt Extensions
        • Unsolved