1. tpath = QFileDialog::getSaveFileName(0, 'Выберите путь для сохранения пакета', tpath, QString(), QString(), QFileDialog::ShowDirsOnly)); 2. tpath = QFileDialog::getExistingDirectory(0, 'Выберите путь для сохранения пакета', tpath, QFileDialog::ShowDirsOnly))
QFileDialog::getSaveFileName ....
void QFileDialog::setDirectory ( const QString & directory )Sets the file dialog's current directory.See also directory().void QFileDialog::setDirectory ( const QDir & directory )This is an overloaded member function, provided for convenience.