Closed EndrII closed 4 years ago
oh! Thanks a lot for sharing, @EndrII ! I have never packaged any Qt project, this was a first for me. 😅 I'll fix that as soon as I can.
thanks )
Hi again @EndrII ! I just tried the command, but it didn't bring along all the deps. Please take a look at the attached screenshot.
I got the exact same issue while releasing (without the flag allQmlDependes
) on Windows as well.
You are using the wrong qmldir option. not qmldir but qmlDir
cqtdeployer -bin myApp -qmlDir /path/to/my/qml/files -recursiveDepth 3 -targetDir ~/release/
And please add -recursiveDepth 3 parameter to recursively find qml files from path/path/to/my/qml/files
ah! so it didn't pick up on the qmlDir flag at all! It still made the release, wow! I'll fix this in the wiki and make a new release ASAP. The build size was halved when I tried this a couple minutes ago. Crazy! P.S: @EndrII I see a contribution opportunity here. Would you mind if I add a check to CQtDeployer for erroring when an unidentified flag (like -qmldir) is passed?
@taskmaster9001 thanks you. i am very happy of any help. when i looked at this post i thought the same thing. We need to add support for displaying invalid options. I will create a task for you, where I will describe what and how best to do,
Great! Looking forward to it ^_^
On Sat, Oct 3, 2020 at 1:08 PM Andrei Yankovich notifications@github.com wrote:
@taskmaster9001 https://github.com/taskmaster9001 thanks you. i am very happy of any help. when i looked at this post i thought the same thing. We need to add support for displaying invalid options. I will create a task for you, where I will describe what and how best to do,
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/taskmaster9001/stegano/issues/2#issuecomment-703062237, or unsubscribe https://github.com/notifications/unsubscribe-auth/AFPOMM4ON3TEFDDHCRBOBA3SI3IGFANCNFSM4SBROAVA .
Hi i see your deployment documentation. You are using allQmDepends parameters. But this option added unnecessary qml libraries. Remove this deployment command parameter and redeploy the project.