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();}
int main(int argc, char *argv[]){// #ifndef QT_DEBUG// QStringList s;// s.append(".\\QT\\");// QCoreApplication::setLibraryPaths(s);// #endif QApplication a(argc, argv); MainWindow w; w.show(); return a.exec();}
set MINGW_DIR=%CD%\3rdparty\mingw-7.3.0set QT_DIR=%CD%\3rdparty\qt-5.12.6set PATH=%MINGW_DIR%\bin;%QT_DIR%\bin;%QT_DIR%\plugins;%PATH%cd "рабочая директория"start "" "запускаемый бинарник" "параметры запуска"exit 0