C++ (Qt)#if Q_OS_WINvoid SetAppPluginPath( void ){ QStringList lst; TCHAR name[1024]; GetModuleFileName(0, name, sizeof(name) - 1); QFileInfo fi(name); lst.push_back(fi.absolutePath()); QApplication::setLibraryPaths(lst);}#endif