Hi everyone!
I have a problem with create deploy version of my application using ‘macdeployqt’ tool. If I compile my application without this tool my application is run correct. But If I call command:
/Volumes/Documents/Applications/Qt/Qt5.3.0/5.3/clang_64/bin/macdeployqt QtForumReader.app -dmg
I’ve got this:
QQmlImportDatabase::addImportPath: "/Volumes/Documents/MyWork/PROJECTS/QtProjects/GIT/QtForumReader/Desktop/1.x/build-QtForumProject-Desktop_Qt_5_3_0_clang_64bit-Release/QtForumReader/QtForumReader.app/Contents/Resources/qml"
QQmlImportDatabase::addImportPath: "/Volumes/Documents/MyWork/PROJECTS/QtProjects/GIT/QtForumReader/Desktop/1.x/build-QtForumProject-Desktop_Qt_5_3_0_clang_64bit-Release/QtForumReader/QtForumReader.app/Contents/MacOS"
QQmlImportDatabase::addImportPath: "/Volumes/Documents/MyWork/PROJECTS/QtProjects/GIT/QtForumReader/Desktop/1.x/build-QtForumProject-Desktop_Qt_5_3_0_clang_64bit-Release/QtForumReader/QtForumReader.app/Contents/Plugins"
QQmlImports(qrc:///qml/main.qml)::addLibraryImport: "com.shav.qtforum" 1.0 as ""
QQmlImports(qrc:///qml/main.qml)::importExtension: loaded "/Volumes/Documents/MyWork/PROJECTS/QtProjects/GIT/QtForumReader/Desktop/1.x/build-QtForumProject-Desktop_Qt_5_3_0_clang_64bit-Release/QtForumReader/QtForumReader.app/Contents/Plugins/com/shav/qtforum/qmldir"
QQmlImportDatabase::registerPluginTypes: "com.shav.qtforum" from "/Volumes/Documents/MyWork/PROJECTS/QtProjects/GIT/QtForumReader/Desktop/1.x/build-QtForumProject-Desktop_Qt_5_3_0_clang_64bit-Release/QtForumReader/QtForumReader.app/Contents/Plugins/com/shav/qtforum"
QQmlApplicationEngine failed to load component
qrc:///qml/main.qml:3 module "com.shav.qtforum" is not installed
As you can see my plugin is loaded but QML file can’t use it. Could you tell me what I do wrong?
Thanks for the any help!
↧