[freeciv/freeciv] 25291a: Do not include anything Qt-specific to ruledit.cpp

freeciv-commits <[email protected]> Sat, 25 Jul 2026 18:28:17 -0700
Newsgroups gmane.games.freeciv.devel
Message-ID <freeciv/freeciv/push/refs/heads/S3_3/[email protected]>
  Branch: refs/heads/S3_3
  Home:   https://github.com/freeciv/freeciv
  Commit: 25291a678a9ca5099da57690e4ea80bacbc0ffbf
      https://github.com/freeciv/freeciv/commit/25291a678a9ca5099da57690e4ea80bacbc0ffbf
  Author: Marko Lindqvist <[email protected]>
  Date:   2026-07-26 (Sun, 26 Jul 2026)

  Changed paths:
    M tools/ruledit/ruledit.cpp
    M tools/ruledit/ruledit.h
    M tools/ruledit/ruledit_qt.h

  Log Message:
  -----------
  Do not include anything Qt-specific to ruledit.cpp

Declare ruledit_qt_run() in ruledit.h, so ruledit.cpp
compilation sees it without including Qt-specific headers.

This fixes compilation failure with nls disabled and g++-16.

See RM #2075

Signed-off-by: Marko Lindqvist <[email protected]>



To unsubscribe from these emails, change your notification settings at https://github.com/freeciv/freeciv/settings/notifications