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. What's the equivalent of "Install Debian package to sysroot" for the Qt Simulator?
Qt 6.11 is out! See what's new in the release blog

What's the equivalent of "Install Debian package to sysroot" for the Qt Simulator?

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

    I'm using QtCreator to develop a Qt Quick app that uses a plugin. When I run it under the Qt Simulator, the QML runtime can't find the plugin because it's not installed in $QT_DIR/imports/com/$WHATEVER. What's the best way to put my library and its qmldir file there?

    I've tried adding a Custom Process Step to the Deployment part of the Run Settings for Qt Simulator. Putting Linux shell commands in the command field didn't work ("Could not start process"). Putting "/bin/sh" in the command field and the name of a shell script in the command arguments field didn't work, either. It thinks at QT_DIR is undefined or the empty string.

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

      I made progress! The variable I want is QTDIR, not QT_DIR.

      Now I know one way to install to $QTDIR/imports/: use a shell script.

      That works for Linux. Is there a more portable way?

      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