Solved Problems when i launch Qt executable from folder
-
I will try and also i will try on a new machine to see if the result is the same.
I will came back with results.
Thanks :) -
I have try on a new workstation and i have rebuild the project but the result is the same. I have made deploy using windeployqt following this video link. I have study the executable with dependency walker show me some missing dll. I was thinking the dll problem is solved by windeployqt . Here is a print
That dll name doesn't tell to much.
PS: I have also try to make an empty QML Quick 2 Application and make deploy. Also doesn't work...UPDATE : I have close the application and rebuild again and now say :
qrc:/test.qml:4:1: module "QtQuick.Controls" is not installed
qrc:/test.qml:5:1: module "QtQuick.Controls.Styles" is not installed
qrc:/test.qml:3:1: module "QtQuick.Window" is not installed
qrc:/test.qml:1:1: module "QtQuick" is not installed
qrc:/test.qml:4:1: module "QtQuick.Controls" is not installed
qrc:/test.qml:5:1: module "QtQuick.Controls.Styles" is not installed
qrc:/test.qml:3:1: module "QtQuick.Window" is not installed
qrc:/test.qml:1:1: module "QtQuick" is not installed
qrc:/test.qml:4:1: module "QtQuick.Controls" is not installed
qrc:/test.qml:5:1: module "QtQuick.Controls.Styles" is not installed
qrc:/test.qml:3:1: module "QtQuick.Window" is not installed
qrc:/test.qml:1:1: module "QtQuick" is not installed
qrc:/test.qml:4:1: module "QtQuick.Controls" is not installed
qrc:/test.qml:5:1: module "QtQuick.Controls.Styles" is not installed
qrc:/test.qml:3:1: module "QtQuick.Window" is not installedI have Qt 5.8.0
-
Hi,
You should use the
-qml
parameter of windeployqt so that it can go parse your application qml files and deploy what's needed to support them. -
Yes @SGaist , that was the problem.
The above error appears in qt creator when i have created the new project and i don't understand why.
I just made a new project and i have copy all the file from the old one to the new one and show this error when i try to launch.
The old project works fine without any error.
Do i need to setup something from project configuration ? -
Do you mean from Qt Creator ?
-
Yes. I don't remember if i have setup something to my previews project, but the think is the second doesn't work.
-
Which version of Qt are you using ?
Did you setup the .pro file the same way ?
-
Yes, i have
Sorry for my delay. :D
There was the problem. Now works fine.
Thank you very much all. :D
PS: I don't know how to mark as solved this topic. -
-
Thanks @Ni-Sumi :)