添加默认的路径
This commit is contained in:
parent
47255a4d36
commit
ee51c70880
@ -1,5 +1,6 @@
|
|||||||
#include "MainWidget.h"
|
#include "MainWidget.h"
|
||||||
#include "./ui_MainWidget.h"
|
#include "./ui_MainWidget.h"
|
||||||
|
#include "adddesktop.h"
|
||||||
#include <QTextStream>
|
#include <QTextStream>
|
||||||
#include <fstream>
|
#include <fstream>
|
||||||
|
|
||||||
@ -28,9 +29,9 @@ void MainWidget::connect_operator()
|
|||||||
void MainWidget::control_init()
|
void MainWidget::control_init()
|
||||||
{
|
{
|
||||||
ui->plainTextEdit->setEnabled(false);
|
ui->plainTextEdit->setEnabled(false);
|
||||||
#if !defined(NDEBUG)
|
|
||||||
ui->edQtDir->setText(QDir::homePath() + "/Qt5.14.2/5.14.2/gcc_64");
|
ui->edQtDir->setText(QDir::homePath() + "/Qt5.14.2/5.14.2/gcc_64");
|
||||||
ui->edOutDir->setText(QDir::homePath() + "/testpack");
|
ui->edOutDir->setText(QDir::homePath() + "/program");
|
||||||
|
#if !defined(NDEBUG)
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -210,7 +211,7 @@ bool MainWidget::isOk(QWidget* parent, const QString& title, const QString& cont
|
|||||||
|
|
||||||
void MainWidget::message(QWidget* parent, const QString& content) { QMessageBox::information(parent, "提示", content); }
|
void MainWidget::message(QWidget* parent, const QString& content) { QMessageBox::information(parent, "提示", content); }
|
||||||
|
|
||||||
void MainWidget::cmd_exec(const std::string& cmd)
|
void MainWidget::cmd_exec(const std::string& cmd)
|
||||||
{
|
{
|
||||||
int r = system(cmd.c_str());
|
int r = system(cmd.c_str());
|
||||||
(void)r;
|
(void)r;
|
||||||
|
@ -10,7 +10,6 @@
|
|||||||
#include <boost/filesystem.hpp>
|
#include <boost/filesystem.hpp>
|
||||||
#include <string>
|
#include <string>
|
||||||
#include <vector>
|
#include <vector>
|
||||||
#include "adddesktop.h"
|
|
||||||
|
|
||||||
namespace fs = boost::filesystem;
|
namespace fs = boost::filesystem;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user