mirror of
https://github.com/ciphervance/supercell-wx.git
synced 2025-10-30 07:50:04 +00:00
Merge branch 'develop' into feature/conan-2
This commit is contained in:
commit
e3fa3fdd61
8 changed files with 205 additions and 13 deletions
|
|
@ -21,9 +21,7 @@ find_package(Python COMPONENTS Interpreter)
|
|||
find_package(SQLite3)
|
||||
|
||||
find_package(QT NAMES Qt6
|
||||
COMPONENTS BuildInternals
|
||||
Core
|
||||
Gui
|
||||
COMPONENTS Gui
|
||||
LinguistTools
|
||||
Multimedia
|
||||
Network
|
||||
|
|
@ -37,9 +35,7 @@ find_package(QT NAMES Qt6
|
|||
REQUIRED)
|
||||
|
||||
find_package(Qt${QT_VERSION_MAJOR}
|
||||
COMPONENTS BuildInternals
|
||||
Core
|
||||
Gui
|
||||
COMPONENTS Gui
|
||||
LinguistTools
|
||||
Multimedia
|
||||
Network
|
||||
|
|
@ -510,6 +506,7 @@ source_group("I18N Files" FILES ${TS_FILES})
|
|||
|
||||
add_library(scwx-qt OBJECT ${PROJECT_SOURCES})
|
||||
set_property(TARGET scwx-qt PROPERTY AUTOMOC ON)
|
||||
set_property(TARGET scwx-qt PROPERTY AUTOGEN_ORIGIN_DEPENDS OFF)
|
||||
|
||||
add_custom_command(OUTPUT ${COUNTIES_SQLITE_DB}
|
||||
COMMAND ${Python_EXECUTABLE}
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@
|
|||
#include <ranges>
|
||||
#include <unordered_map>
|
||||
|
||||
#include <boost/process/environment.hpp>
|
||||
#include <boost/process/v1/environment.hpp>
|
||||
#include <fmt/format.h>
|
||||
#include <spdlog/spdlog.h>
|
||||
#include <QStandardPaths>
|
||||
|
|
|
|||
|
|
@ -22,6 +22,9 @@ class SetupWizard::Impl
|
|||
public:
|
||||
explicit Impl() = default;
|
||||
~Impl() = default;
|
||||
|
||||
bool mapProviderPageIsRequired_ {MapProviderPage::IsRequired()};
|
||||
bool audioCodecPageIsRequired_ {AudioCodecPage::IsRequired()};
|
||||
};
|
||||
|
||||
SetupWizard::SetupWizard(QWidget* parent) :
|
||||
|
|
@ -66,14 +69,14 @@ int SetupWizard::nextId() const
|
|||
{
|
||||
case static_cast<int>(Page::MapProvider):
|
||||
case static_cast<int>(Page::MapLayout):
|
||||
if (MapProviderPage::IsRequired())
|
||||
if (p->mapProviderPageIsRequired_)
|
||||
{
|
||||
return nextId;
|
||||
}
|
||||
break;
|
||||
|
||||
case static_cast<int>(Page::AudioCodec):
|
||||
if (AudioCodecPage::IsRequired())
|
||||
if (p->audioCodecPageIsRequired_)
|
||||
{
|
||||
return nextId;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue