You were not putting the various plugins in the correct folder with respect to the program executable anyway.
You were not putting the various plugins in the correct folder with respect to the program executable anyway.
But now I have one problem.
The program alone is working in my computer. For other computer, I have that copy all the .dll of the new computer.
And not is working in computer without Qt.
Last edited by danilodsp; 5th October 2011 at 17:01.
I have taken my toy train locomotive to my friend's place but I didn't bring the track. Why doesn't my train go?But now I have one problem.
The program alone is working in my computer. For other computer, I have that copy all the .dll of the new computer.
And not is working in computer without Qt.
Of course you need the Qt runtime libraries and plugins your application uses on the computer that you want to run your dynamically linked Qt application on. All the information you need is in this thread.
Last edited by ChrisW67; 6th October 2011 at 00:32.
Can I separate everything they need (to work on a computer without Qt) along with my executable?
Deploying an Application on Windows
You are dynamic linking. You need:
- Your application and any DLL components that you have built
- Any Qt DLL your application needs (at least QtCore4.dll, probably QtGui4.dll and others)
- Any Qt plugins your application needs to support image formats, icon formats, database connections etc.
- Any DLL required for your C++ compiler run time
You need to adhere to the terms of the license under which you are using Qt and the LGPL for the components only licensed under those terms.
danilodsp (7th October 2011)
Ok.
Thank you.
About:
"Any Qt plugins your application needs to support image formats, icon formats, database connections etc."
just add .dll of imageformats, icon formats, and other ... ?
Yes, but they need to be in subdirectories, e.g. as in my earlier post
danilodsp (8th October 2011)
yeah,
I finally got it.
It is running on any computer.
Thank you Chris.
I was not copying the subdirectories.
Bookmarks