Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QML and Qt Quick
  4. Compiling QML plugin with application
Forum Update on Monday, May 27th 2025

Compiling QML plugin with application

Scheduled Pinned Locked Moved Unsolved QML and Qt Quick
1 Posts 1 Posters 136 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.
  • G Offline
    G Offline
    Gibbz
    wrote on 29 Sept 2019, 10:45 last edited by
    #1

    Im having trouble setting up my app to use QT .pro files.

    My repo can be found here for my test project: https://github.com/bit-shift-io/qalarm

    My main application pro file here:
    https://github.com/bit-shift-io/qalarm/blob/master/alarm.pro

    and in the subfolder plugin/Util/util.pro is my library.
    https://github.com/bit-shift-io/qalarm/tree/master/plugin/Util

    How do I compile this and copy the qmldir file into the build/plugin/Util/ folder?

    Currently it seems to dump the so file into the root of the build dir. The structure I want is:
    binary
    /plugin/Util/Util.so
    /plugin/Util/qmldir

    OR preferably... Is there some way to include these files in the main binary automatically?

    1 Reply Last reply
    0

    1/1

    29 Sept 2019, 10:45

    • Login

    • Login or register to search.
    1 out of 1
    • First post
      1/1
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Get Qt Extensions
    • Unsolved