1 2 3 4 5 6 7 8 9
#ifndef MAIN_H #define MAIN_H #include <QSettings> #include <QMainWindow> extern QSettings *settings; #endif // MAIN_H