Uploaded image for project: 'Qt Automotive Suite'
  1. Qt Automotive Suite
  2. AUTOSUITE-960

Cannot start an app on a Linux desktop target

    XMLWordPrintable

Details

    • May 2019

    Description

      When trying to run an app, for example from the wizard, from Qt Creator in Neptune running on the same desktop, Qt Creator fails to start it with the message:

      17:29:58: Starting /home/vladimir/Qt/5.12.1/gcc_64/bin/appman-controller start-application -eio com.pelagicore.parking...
      ERROR: failed to call startApplication via DBus: Cannot start an invalid application
      

      After an investigation it turned out that the app was not installed, even though there is an installation step in the Run configuration. If an app installed manually with command line tools, the apps can be started w/o problems.

      Here is the output from the compilation and deployment steps:

      18:28:20: Running steps for project com.pelagicore.parking...
      18:28:20: Configuration unchanged, skipping qmake step.
      18:28:20: Starting: "/usr/bin/make" -j2
      make: Nothing to be done for 'first'.
      18:28:20: The process "/usr/bin/make" exited normally.
      18:28:20: Preparing package creation ...
      18:28:20: Removing directory /home/vladimir/development/qt-upstream/qt-auto-extra-apps/build-com.pelagicore.parking-Qt_Auto_Desktop-Debug/tmp_package_installation
      /home/vladimir/Qt/5.12.1/gcc_64/bin/qmake -install qinstall /home/vladimir/development/qt-upstream/qt-auto-extra-apps/com.pelagicore.parking/info.yaml /home/vladimir/development/qt-upstream/qt-auto-extra-apps/build-com.pelagicore.parking-Qt_Auto_Desktop-Debug/tmp_package_installation/apps/com.pelagicore.parking/info.yaml
      
      /home/vladimir/Qt/5.12.1/gcc_64/bin/qmake -install qinstall /home/vladimir/development/qt-upstream/qt-auto-extra-apps/com.pelagicore.parking/icon.png /home/vladimir/development/qt-upstream/qt-auto-extra-apps/build-com.pelagicore.parking-Qt_Auto_Desktop-Debug/tmp_package_installation/apps/com.pelagicore.parking/icon.png
      
      /home/vladimir/Qt/5.12.1/gcc_64/bin/qmake -install qinstall /home/vladimir/development/qt-upstream/qt-auto-extra-apps/com.pelagicore.parking/Main.qml /home/vladimir/development/qt-upstream/qt-auto-extra-apps/build-com.pelagicore.parking-Qt_Auto_Desktop-Debug/tmp_package_installation/apps/com.pelagicore.parking/Main.qml
      
      18:28:20: Package content in directory: /home/vladimir/development/qt-upstream/qt-auto-extra-apps/build-com.pelagicore.parking-Qt_Auto_Desktop-Debug/tmp_package_installation
      18:28:20: Deploy step finished.
      18:28:20: Creating package ...
      ERROR: Failed to parse manifest file /home/vladimir/development/qt-upstream/qt-auto-extra-apps/build-com.pelagicore.parking-Qt_Auto_Desktop-Debug/tmp_package_installation/info.yaml: could not open file for reading (/home/vladimir/development/qt-upstream/qt-auto-extra-apps/build-com.pelagicore.parking-Qt_Auto_Desktop-Debug/tmp_package_installation/info.yaml): No such file or directory
      
      18:28:20: An (Unknown error) error occurred, please check log output.
      18:28:20: Deploy step failed.
      Error while building/deploying project com.pelagicore.parking (kit: Qt Auto Desktop)
      When executing step "Create application manager package"
      

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            stanislav_maksimov Stanislav Maksimov
            vminenko Vladimir Minenko
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes