Skip to content

Allow compiling without the qml or network modules#763

Merged
GriffinRichards merged 4 commits intohuderlem:devfrom
GriffinRichards:modules
Aug 8, 2025
Merged

Allow compiling without the qml or network modules#763
GriffinRichards merged 4 commits intohuderlem:devfrom
GriffinRichards:modules

Conversation

@GriffinRichards
Copy link
Copy Markdown
Collaborator

Adds support for building Porymap without either the qml or network modules (we already do this for the charts module).

Without the qml module, the plug-in / API features are disabled, and without the network module the 'check for updates' feature is disabled (this is already disabled on Linux). Both of these features are not critical (and for the majority of users go unused) so we'd rather have users be able to build and use Porymap without needing to sort out their Qt installation. This has come up a few times already, especially for users that have multiple installations of Qt in their environment.

There's a slight maintenance burden here in that the stubbed Scripting class will need to be updated alongside the actual definition when e.g. a new scripting callback is added.

@GriffinRichards GriffinRichards merged commit 14f72cb into huderlem:dev Aug 8, 2025
5 checks passed
@GriffinRichards GriffinRichards deleted the modules branch August 8, 2025 16:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant