diff --git a/src/app/core/vcmdexport.cpp b/src/app/core/vcmdexport.cpp index 2dcfe8255..e1e376f1d 100644 --- a/src/app/core/vcmdexport.cpp +++ b/src/app/core/vcmdexport.cpp @@ -3,11 +3,7 @@ #include "dialogs/dialogsavelayout.h" #include "xml/vdomdocument.h" -#if QT_VERSION < QT_VERSION_CHECK(5, 2, 0) -# include "../libs/vmisc/backport/qcommandlineparser.h" -#else -# include -#endif + VCommandLinePtr VCommandLine::instance = nullptr; diff --git a/src/app/core/vcmdexport.h b/src/app/core/vcmdexport.h index 4d53aaf2c..60d1f2e78 100644 --- a/src/app/core/vcmdexport.h +++ b/src/app/core/vcmdexport.h @@ -2,10 +2,15 @@ #define VCMDEXPORT_H #include #include -#include +#include #include "dialogs/dialoglayoutsettings.h" +#if QT_VERSION < QT_VERSION_CHECK(5, 2, 0) +# include "../libs/vmisc/backport/qcommandlineparser.h" +#else +# include +#endif constexpr auto GENERAL_ERROR_STATUS = 255; constexpr auto INVALID_PARAMS_STATUS = 254; diff --git a/src/app/dialogs/dialogsavelayout.cpp b/src/app/dialogs/dialogsavelayout.cpp index bd0bec0d9..9375f7aed 100644 --- a/src/app/dialogs/dialogsavelayout.cpp +++ b/src/app/dialogs/dialogsavelayout.cpp @@ -35,6 +35,8 @@ #include #include #include +#include +#include using namespace nm_DialogSaveLayout; diff --git a/src/app/mainwindow.h b/src/app/mainwindow.h index 64c4b344d..7e39c52c9 100644 --- a/src/app/mainwindow.h +++ b/src/app/mainwindow.h @@ -37,6 +37,7 @@ #include "tools/vtooluniondetails.h" #include "tools/drawTools/drawtools.h" #include "core/vcmdexport.h" +#include namespace Ui {