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. [Partially solved] Debugging QML on android device
Forum Update on Monday, May 27th 2025

[Partially solved] Debugging QML on android device

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

    I have a qml project which I want to run and debug on android device. When I click Start Debugging I get the following errors:
    @
    Could not connect to the in-process QML debugger.
    The application is not set up for QML/JS debugging.
    @

    and in the Application Output window I get:
    @
    "QML Debugger: Ignoring "-qmljsdebugger=port:11118,block". Remote debugger plugin has not been found."
    @

    and the device screen stays black. Then I have to kill the application from the device manager of the phone to be able to run it from the device. So I cannot use the QML Profiler also.

    I have Enable QML debugging checked in the Project->Build->Build Steps and also Enable C++ and Enable QML checked in Project->Run->Debugging Settings.

    I'm using Qt Creator 2.8.1 with qt 5.1.1 on Windows 7.

    How can I fix this?

    1 Reply Last reply
    0
    • T Offline
      T Offline
      Tsweti
      wrote on last edited by
      #2

      I found out that if I use "Deploy local Qt libraries to temporary directory " instead of "Bundle Qt libraries in APK" the application is running fine and the error
      @
      Could not connect to the in-process QML debugger.
      The application is not set up for QML/JS debugging.
      @

      is gone.

      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