summaryrefslogtreecommitdiffstats
path: root/addon
diff options
context:
space:
mode:
authoralbert-github <albert.tests@gmail.com>2020-10-07 09:46:35 (GMT)
committeralbert-github <albert.tests@gmail.com>2020-10-07 09:46:35 (GMT)
commit70e5213d3646460ce3a31a9afbcb498cdaa2b5b9 (patch)
tree342b89d28a6947eabb1a9b43dd33d74d0020b5ba /addon
parent419338985d709af04589450d0754757de7d0a9d6 (diff)
downloadDoxygen-70e5213d3646460ce3a31a9afbcb498cdaa2b5b9.zip
Doxygen-70e5213d3646460ce3a31a9afbcb498cdaa2b5b9.tar.gz
Doxygen-70e5213d3646460ce3a31a9afbcb498cdaa2b5b9.tar.bz2
Adding possibility to add command line options when running doxygen from doxygen wizard
For debugging support questions it is necessary / very useful to be able to give (extra) command line options to the invoked doxygen version.
Diffstat (limited to 'addon')
-rwxr-xr-xaddon/doxywizard/doxywizard.cpp9
-rwxr-xr-xaddon/doxywizard/doxywizard.h1
2 files changed, 10 insertions, 0 deletions
diff --git a/addon/doxywizard/doxywizard.cpp b/addon/doxywizard/doxywizard.cpp
index c93c898..fa2ee3c 100755
--- a/addon/doxywizard/doxywizard.cpp
+++ b/addon/doxywizard/doxywizard.cpp
@@ -108,6 +108,12 @@ MainWindow::MainWindow()
m_saveLog->setEnabled(false);
QPushButton *showSettings = new QPushButton(tr("Show configuration"));
QPushButton *showCondensedSettings = new QPushButton(tr("Show condensed configuration"));
+ // select extra run options
+ m_runOptions = new QLineEdit;
+
+ runTabLayout->addWidget(new QLabel(tr("Step 3: Specify (optional) options for running doxygen")));
+ runTabLayout->addWidget(m_runOptions);
+
runLayout->addWidget(m_run);
runLayout->addWidget(m_runStatus);
runLayout->addStretch(1);
@@ -501,6 +507,9 @@ void MainWindow::runDoxygen()
m_runProcess->setEnvironment(env);
QStringList args;
+ QStringList runOptions = m_runOptions->text().split(QLatin1Char(' '),Qt::SkipEmptyParts);
+
+ args << runOptions;
args << QString::fromLatin1("-b"); // make stdout unbuffered
args << QString::fromLatin1("-"); // read config from stdin
diff --git a/addon/doxywizard/doxywizard.h b/addon/doxywizard/doxywizard.h
index b009cc5..f976a98 100755
--- a/addon/doxywizard/doxywizard.h
+++ b/addon/doxywizard/doxywizard.h
@@ -79,6 +79,7 @@ class MainWindow : public QMainWindow
bool discardUnsavedChanges(bool saveOption=true);
QLineEdit *m_workingDir;
+ QLineEdit *m_runOptions;
QPushButton *m_selWorkingDir;
QPushButton *m_run;
QPushButton *m_saveLog;