QT deployment - binary and QT dlls to different folders
-
@Mefil said in QT deployment - binary and QT dlls to different folders:
Hi. I want to position my binary file in folder like out/forms/ and qt dll in folder like out/QT.
I try this code:int main(int argc, char *argv[]) { QStringList s; s.append("E:\\develop\\repositories\\rep_sw_new\\trunk\\sw\\QT\\out\\QT\\platforms"); s.append("E:\\develop\\repositories\\rep_sw_new\\trunk\\sw\\QT\\out\\QT"); QCoreApplication::setLibraryPaths(s); QApplication a(argc, argv); Widget w(argc, argv); w.show(); return a.exec(); }
It helps with qwindows.dll issue but did not help with QT dlls.
I didn't want upgrade PATH or move dlls to system32, because it will crush other programs on PC.
PS/ I want to have a lot of binaries in different folders wich used one dir with QT dlls/
PSS/ Sry for my eng/