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



  • 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





  • 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



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



  • 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.


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.