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. Can't set deployment method in QT Creator on windows maschine
Forum Updated to NodeBB v4.3 + New Features

Can't set deployment method in QT Creator on windows maschine

Scheduled Pinned Locked Moved Mobile and Embedded
5 Posts 2 Posters 4.1k 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.
  • _ Offline
    _ Offline
    __Stefan__
    wrote on last edited by
    #1

    Hallo,

    I want to deploy a QT-Application to a embeded linux device, but I can't select a deployment metod in QT-Creator.

    My Host-PC is a Windows7 PC.
    My Target-PC is a Embeded Linux device (Beaglebone black).

    I can build the application for the beaglebone. And than I can copy and run the application manualy.
    I also can ssh in the beaglebone.

    My .pro file:
    @QT += core gui

    greaterThan(QT_MAJOR_VERSION, 4): QT += widgets

    TARGET = Deploy
    target.path = /tmp
    target.files = Deploy
    INSTALLS += target

    TEMPLATE = app

    SOURCES += main.cpp
    mainwindow.cpp

    HEADERS += mainwindow.h

    FORMS += mainwindow.ui
    @

    Image with the empty deployment settings. (How can I set this settings? Copy files to device automaticaly?)
    !http://s14.directupload.net/images/140420/gkpzx5fz.png(Deployment Settings)!

    Image with the device settings
    !http://s7.directupload.net/images/140420/nqj4dr3h.png(Device Settings)!

    Has someone a idea to make the deployment working?
    If you need any further information to help me, please ask.
    Thanks for the help.

    Best Regards
    Stefan

    1 Reply Last reply
    0
    • V Offline
      V Offline
      Vincent007
      wrote on last edited by
      #2

      "Connecting Embedded Linux Devices":https://qt-project.org/doc/qtcreator-3.1/creator-developing-generic-linux.html
      "Deploying Applications to Embedded Linux Devices":https://qt-project.org/doc/qtcreator-3.1/creator-deployment-maemo.html

      1 Reply Last reply
      0
      • _ Offline
        _ Offline
        __Stefan__
        wrote on last edited by
        #3

        Hi Vincent,

        Thanks for your answer, but I have allready read both of the links, but it doesn' t help me.

        At the first link I can not continue at point 7, because I don't have a deployment methode and I can not set one. Its greyed out. (See picture in first post).
        @7. Select Run to specify run settings.@

        And the same problem is at the 2. link.
        @The files to be installed are listed in the Deployment step, the Files to install for subproject field. The Local File Path field displays the location of the file on the development PC. The Remote Directory field displays the folder where the file is installed on the device. Text in red color indicates that the information is missing. Edit the qmake INSTALLS variable in the project .pro file to add the missing files.@

        I have set the install variables with the path to the file in the .pro file (see first post), but they are not listed because there is no deployment methode.

        I have tested a little bit more with the problem. And its possible for me to run the application from QT-Creator, when I copy the files manualy to the target PC. So I just need a way to copy the application to the targets folder before starting the application. Has someone a idea how to do that.

        Best Regards
        Stefan

        1 Reply Last reply
        0
        • V Offline
          V Offline
          Vincent007
          wrote on last edited by
          #4

          Did you try Qt creator 3.1 with Qt 5.2 or 5.3?

          1 Reply Last reply
          0
          • _ Offline
            _ Offline
            __Stefan__
            wrote on last edited by
            #5

            I have QT-Creator 3.01 with QT4.8.1 for Embedded Linux.

            EDIT: I have installed QT-Creator3.1.0 now, but I still have the same problem.

            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