Solved I did my app deployable and now doesn't appear the background and drivers.
-
Hello friends, i have done my app deployable to use in other laptops with the windows tool to include the DLLs. That's work properly now but i have a new problem. When i run the executable doesn't appear the background picture and also, i was using MySQL drivers and i receive a message that it says that the drivers not loaded.
However, if I run my app in QT creator this issues don't appear, what is the problem?
-
@AdrianCruz said in I did my app deployable and now doesn't appear the background and drivers.:
what is the problem?
That your deployment is missing some files...
-
@Pablo-J.-Rogina but for example, in my code i have the path to the background picture which it is in other folder. How can i solve it?
-
@AdrianCruz what if you move the image to the path pointed in your code?
-
@Pablo-J.-Rogina the picture is in the same path of my code. How i said, in my code the path is correct, because when i use QT creator to run it, is fix, but with the executable is not working.
-
@AdrianCruz could you please show us some code and folder structure of your application? if not, it's going blind this way. Hard to actually see/understand what is going on...
-
I am also facing this same problem. Have you got your answer? I have asked about this matter to Apple Customer Support but they also can't help me. If anyone can then please help us.
-
Hi,
How exactly did you deploy your application ?
What path are you using to load that picture ? -
I take the picture with the next code :
QPixmap bkgnd("../InterfazKinect/img/foto_index_sinTXT.png");
With this code, the background appears properly. Now, i am using Desktop Qt 5.10.0 with MinGW, building with debug. I added the missing DLLs with windows tool.
Now, i am using my .exe of the folder debug to run the app and the background is empty and also, i am using MySQL in the application and when i try to connect to the database, the app says that the driver not loaded (of MySQL) and I solved this problem previosly.
Then in conclusion, my app is running properly in QT creator but, not using the executable.
-
Seems that the app didn't finf the folder, the problem with the picture is fixed, but the problem with MySQL isn't still working. I have the DLLs in the same folder than my app but I receive the message "driver not loaded"
-
@AdrianCruz said in I did my app deployable and now doesn't appear the background and drivers.:
I have the DLLs in the same folder than my app
please take a look at documentation regarding deploying plugins
-
@Pablo-J.-Rogina searching in internet I can see that the people uses libmysql-dll but this file isn't in my folder. Maybe that is the problem?? How can i include this file in my project ?
-
Finally, I've found libmysql.dll in the MySQL folder and I've copied in my folder. Now is working. thanks so much!