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 Updated to NodeBB v4.3 + New Features

Compiling QML plugin with application

Scheduled Pinned Locked Moved Unsolved QML and Qt Quick
1 Posts 1 Posters 136 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.
  • G Offline
    G Offline
    Gibbz
    wrote on 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

    • Login

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