-
Notifications
You must be signed in to change notification settings - Fork 415
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
QtQuick Controls not getting deployed, Controls.2 does #300
Comments
linuxdeployqt internally uses Also, please run with |
I've tried adding a second Also this is shooting in the dark, but could it be this line that causes the trouble? https://github.com/probonopd/linuxdeployqt/blob/master/tools/linuxdeployqt/shared.cpp#L1505 (Controls directory already exists because of the different Styles, but does not contain the qml/shared object files) |
It's |
It looks like CircularGauge gets deployed (at least partly):
In your logfile, there is a couple of instances of
Are these the files that are missing in the end, and are preventing the application from running correctly? Where do the original files live, in |
Looking at the skips, I think it's the Also may I ask where that |
Since |
Indeed it seems from your log that |
As your log says,
|
If I remove
If I remove the
Could I have problems later if I just manually copy the folder over as a workaround? |
In which exact path does " qmldir file from the Controls directory" live and what is its contents? |
I removed the qmldir file from my working app installation as a test, it lived in |
Please give the full paths of the original and copy qmldir file. |
The original is in the Qt installation dir: |
I don't think manually copying over is a good thing to do. Instead, try passing in
to your |
With that With this workaround things seem to work great: 05e7f70 (originally I just removed the whole if/return part but with that the program ran for about 15 mins, with the current one it takes around 5 min to complete which is close to the original one, also it fixes the issue that |
Cool. Thanks @kviktor! |
In probonopd/linuxdeployqt#300 (comment) @kviktor writes: > With this workaround things seem to work great (originally I just removed the whole if/return part but with that the program ran for about 15 mins, with the current one it takes around 5 min to complete which is close to the original one, also it fixes the issue that `xcbglintegrations` is not getting copied over)
I'm trying to deploy a program that uses
CircularGauge
which usesQtQuick.Controls 1.4
. In my own QML files I only useQtQuick.Controls 2.1/2.2
. In the deployed filed I have both Controls and Controls.2 directories, the Controls directory has no files, however it has subfolders that have files in them. The Controls.2 directory has qml files and a .so file too. If I just manually copy the Controls folder from my build machine to the testing VM everything is great.I've also tried adding a "dummy"
import QtQuick.Controls 1.4
to my file and copying the CircularGauge.qml to my qmldir but neither worked.The text was updated successfully, but these errors were encountered: