1

I'm using macdeployqt to deploy one QML application to Mac OS and when I finish, with all paths fine and try to execute it from .dmg generated package I can start application. Trying to execute it from term I get a QML error that says QtQuick.Window and other modules are not installed. Any clue about?

This is the command that I have tried:

$ macdeployqt MyApp.app -qmldir=/Users/jgd/dev/myapp -no-strip

I'm getting this error:

Log: Deploying QML imports
Log: Application QML file search path(s) is ("/Users/jngd/devel/MyApp/")
ERROR: qmlimportscanner output error. Expected json array, got:
ERROR: ""
QProcess: Destroyed while process ("/Users/jngd/devel/Qt/5.10.0/clang_64/bin/qmlimportscanner") is still running.
Juan Garcia
  • 843
  • 2
  • 11
  • 34
  • Please edit your question to show the complete command you used. – Mitch Feb 14 '18 at 08:16
  • @Mitch Edition done. – Juan Garcia Feb 14 '18 at 08:23
  • 1
    Thanks. Maybe include the output as well? https://github.com/qt/qttools/blob/5.10/src/macdeployqt/macdeployqt/main.cpp#L41 says there is a -verbose option, so that might give you some clues as well. – Mitch Feb 14 '18 at 08:49
  • I don't know how Mac OS works but at other OS this might mean version conflict ie. maybe there are more then one Qt packages installed on the same machine. – folibis Feb 14 '18 at 10:13

0 Answers0