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

freeciv-commits <[email protected]> Sun, 26 Jul 2026 01:27:54 +0000 (UTC)
Newsgroups gmane.games.freeciv.devel
Message-ID <freeciv/freeciv/push/refs/heads/main/[email protected]>
  Branch: refs/heads/main
  Home:   https://github.com/freeciv/freeciv
  Commit: e7b761496c8dfb55318b4c8a8ee7e7a6b34239e9
      https://github.com/freeciv/freeciv/commit/e7b761496c8dfb55318b4c8a8ee7e7a6b34239e9
  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