Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. Cannot change target folder of Examples

Cannot change target folder of Examples

Scheduled Pinned Locked Moved Unsolved Installation and Deployment
1 Posts 1 Posters 164 Views
  • 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.
  • M Offline
    M Offline
    Mark81
    wrote on last edited by Mark81
    #1

    Usually when deploying to a remote device, I set the target.path to the desired remote directory, example:

    target.path = /home/user/opcua/opcuaviewer
    INSTALLS += target
    

    But if I do so with the, say, opcuaviewer examples, qmake fails with:

    :-1: error: Project ERROR: /home/mark/Qt/qtopcua/examples/opcua/opcuaviewer/opcuaviewer.pro installs target to unexpected location.

    The only way is to left the variable unchanged:

    target.path = $$[QT_INSTALL_EXAMPLES]/opcua/opcuaviewer
    

    But this makes no sense, because the expected folder structure on the remote device is different than the local one!
    What am I missing here?

    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