#include <QApplication>
#include <cassert>
#include <memory>
#include <interfaces/node.h>
Go to the source code of this file.
|
int | GuiMain (int argc, char *argv[]) |
|
◆ GuiMain()
int GuiMain |
( |
int |
argc, |
|
|
char * |
argv[] |
|
) |
| |
- Basic Qt initialization (not dependent on parameters or configuration)
- Parse command-line options. We do this after qt in order to show an error if there are problems parsing these
- Application identification
- Initialization of translations, so that intro dialog is in user's language. Now that QSettings are accessible, initialize translations.
- Now that settings and translations are available, ask user for data directory. User language is set up: pick a data directory.
- Determine availability of data directory and parse bitcoin.conf
- Do not call gArgs.GetDataDirNet() before this step finishes.
- Determine network (and switch to network specific options)
- Main GUI initialization
Definition at line 594 of file bitcoin.cpp.