I have just compiled new application, which works perfectly well.
But when i tried change library path inside my application, I'll saw next problem during starting my program:
This application failed to start because it could not find or load the Qt platform plugin "windows".
Application works normal, when I don't change library path.
I want, that my application works in any computer, without installing Qt library.
I added library in this way:
@ a.addLibraryPath(a.applicationDirPath() + "/plugins/");@
"plugins" directory exists in this path.
When I started application with old library path I'll saw next:
("D:/build-A_1-Desktop_Qt_5_1_1_MinGW_32bit-Release/release/plugins", "C:/Qt/Qt5.1.1/5.1.1/mingw48_32/plugins", "D:/build-A_1-Desktop_Qt_5_1_1_MinGW_32bit-Release/release")
But when I renamed this directory "C:/Qt/Qt5.1.1/5.1.1/mingw48_32/plugins", my application stopped working with the same error.
Please help me:)