How to incorporate qml modules into the executable?

Asked

Viewed 37 times

2

When I run a program done in qml on another machine, it does not find the modules of the qtquick. I imagine an alternative to this and the incorporation of the modules into the executable itself. How should I proceed?

  • 1

    I believe you have to send the dlls to the application so it can run.

  • 1

    That’s exactly what Guilherme said. If you’re on Windows, the Dependency Walker program will help. Just run the program from Dependency Walker on the machine without Qt, and browse the Dlls to find the modules that are sent together. Remember, it only detects the modules that are not dynamically loaded through the functions LoadLibrary or dlopen (Linux) or QLibrary.

  • If you’re already on your Mac, let me know and I’ll give you an answer. I went through it and I tried to make it work.

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.