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. Missing deploy to remote linux in qtcreator

Missing deploy to remote linux in qtcreator

Scheduled Pinned Locked Moved Mobile and Embedded
10 Posts 2 Posters 6.1k 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.
  • S Offline
    S Offline
    SavageTwinky
    wrote on last edited by
    #1

    Hi,

    I installed qtcreator using the ubuntu software center, and set up a toolchain based on our embedded device. I'm unable to make a embedded project. I do not have an option for deploying to remote linux devices and I'm not sure how to "add" the option to my projects settings.

    1 Reply Last reply
    0
    • T Offline
      T Offline
      tobias.hunger
      wrote on last edited by
      #2

      Which version of creator are you using? We keep changing that (let's hope things will stay stable for a while after 2.6).

      1 Reply Last reply
      0
      • S Offline
        S Offline
        SavageTwinky
        wrote on last edited by
        #3

        I'm using 2.4.1,

        I'm not sure if this helps, when I select my qt library that was built with the tool chain it says cannot detect ABI version. And when I create a project it only lets me select desktop

        1 Reply Last reply
        0
        • S Offline
          S Offline
          SavageTwinky
          wrote on last edited by
          #4

          Ah, ok slightly further along, apparently I also needed a package that had minigw for embedded devices to even get the option. But I still can't add my qt version as an embedded build, it still is only selectable as a desktop version

          1 Reply Last reply
          0
          • T Offline
            T Offline
            tobias.hunger
            wrote on last edited by
            #5

            I would recommend trying a Qt Creator 2.6 beta build... (or better yet a nightly). We are getting close to a release, so the nightly builds are rather stable, I use them for daily work. A lot has improved especially when it comes to working with devices (the remote linux desktop is counted as a device, too).

            If a unreleased version is not an option for you at least get version 2.5.2.

            1 Reply Last reply
            0
            • S Offline
              S Offline
              SavageTwinky
              wrote on last edited by
              #6

              OOOh thanks, 2.6 has options for sysroots, Now if I can just get it to work...

              I have sdk's for armv5 and armv7 and I'm having a hard time adding the qt versions properly

              1 Reply Last reply
              0
              • T Offline
                T Offline
                tobias.hunger
                wrote on last edited by
                #7

                IIRC we only offered the embedded linux uf the Qt version would not work on the desktop in Qt Creator 2.4... and had the sysroot hidden away in the Qt version (only if it did not possibly work on the desktop).

                1 Reply Last reply
                0
                • S Offline
                  S Offline
                  SavageTwinky
                  wrote on last edited by
                  #8

                  Ok i've got everything building in 2.6, unfortunately now that I've been able to configure a deployment method. I can't seem to configure what to deploy...

                  It just says Don't know what to run under Run, and there doesn't seem to be an option to add files to "local file path, remote directory" table

                  1 Reply Last reply
                  0
                  • T Offline
                    T Offline
                    tobias.hunger
                    wrote on last edited by
                    #9

                    That is extracted from the .pro file. You need to define what to deploy to where there.

                    We want users to be able to build outside creator just as well as inside creator. So the deployment has to be handled by the build system, not creator.

                    1 Reply Last reply
                    0
                    • S Offline
                      S Offline
                      SavageTwinky
                      wrote on last edited by
                      #10

                      Even deploying the created binary file? Thats not included in the deployment right now, i'm not sure how to get it to the device without copying it manually

                      @QT += core gui

                      greaterThan(QT_MAJOR_VERSION, 4): QT += widgets

                      TARGET = remote

                      addFiles.sources = remote
                      addFiles.path = /usr/bin

                      DEPLOYMENT += addFiles
                      TEMPLATE = app

                      SOURCES += main.cpp
                      mainwindow.cpp

                      HEADERS += mainwindow.h

                      FORMS += mainwindow.ui@

                      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