C++ (Qt)int main (int argc, char * argv[]){ QCoreApplication::setLibraryPaths(QFileInfo(argv[0]).absolutePath());