Unsolved How to release software which includes QtGraphicalEffects module and QtCharts module
-
For dynamical releasing version, I use command line,windeployqt, to deploy my program.
For static version, the .exe file is what I wan.
In other machines which don't install Qt, interface cannot be displayed while the process of the software can be seen in Explorer.
-
Are you shipping the QML modules you are using with your application like explained here ?
-
@SGaist I‘m not sure. So I pasted the source code of my program’
-
If you are only giving your executable then no, you are not shipping them. Are you using windeployqt on your application before distributing it ?
-
@SGaist For dynamical version, I use command line "windeployqt --qmldir C:\Qt\Qt5.8.0\5.8\mingw53_32\qml" while Qt installed in the path -"C:\Qt". And the dynamical version failed to run on other macthines.
For static version, I just release it.
-
The
--qmldir
option should point to your application QML sources folder.Even if static, you need to deploy the QML files.
-
@SGaist I have deployed my program by dynamical version. More information about my problem has been updated in the topic. I'm looking forward your reply again.
For static version, how to deploy the QML files. There is only one file for static version
-
Did you also run
windployqt
for your static application ? -
@SGaist No, I just use the source code of Qt to make a new Qt version which can release a software staticaly. And the static configure command has been mentioned before in the topic.
-
Your application might be static but it still needs the QML files from the corresponding Qt modules hence you should still call
windeployqt
. -
@SGaist But, how?
-
The same as you would on a build using the dynamic version of Qt.