From 77a2f1c1bd2ce4c4540f0598bb8e1d5535ef976c Mon Sep 17 00:00:00 2001 From: Marko Lindqvist Date: Wed, 14 Apr 2021 04:39:32 +0300 Subject: [PATCH 29/29] INSTALL: Improve listing of Qt-client dependencies - List 'moc' in dependencies - Mention that also clang++ has been used in development Requested by chippo See osdn #41998 Signed-off-by: Marko Lindqvist --- INSTALL | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/INSTALL b/INSTALL index 9279d9b997..b2ea063400 100644 --- a/INSTALL +++ b/INSTALL @@ -4,7 +4,7 @@ Installing Freeciv: This file describes how to compile and install Freeciv. Last time we made sure this file is up to date was 16-Jul-06. -Last minor update was 30-Mar-21. +Last minor update was 14-Apr-21. There may be a localized version of this file in the ./doc directory, named INSTALL. (e.g., INSTALL.de). @@ -53,7 +53,7 @@ out whether your system is suitable. If in doubt, just try it. Development of Freeciv is primarily done with "gcc", the GNU project's excellent C compiler. Releases can be compiled with gcc - or most other compilers (such as the unbundled Solaris C compiler). + or most other compilers (such as clang or the unbundled Solaris C compiler). Note that there have been reports that gcc with -O3 miscompiled freeciv. @@ -377,7 +377,16 @@ following order: pkg-config, Glib, Atk, Pango, Gdk-Pixbuf, Gtk+. - C++ compiler. Qt-client is written in C++, so you need appropriate compiler. - In Freeciv development, g++ has been used. + + In Freeciv development, g++ has been the primary C++ compiler. + Also clang++ has been used. + + - Qt Meta Object Compiler (moc) + + Qt's Meta Object Compiler is a command usually called 'moc', or + 'moc-qt5' in some systems. Freeciv needs Qt5 version. + You may want install 'qtchooser' to find correct moc version for you + when you have both multiple Qt versions installed in parallel. - Qt5Core, Qt5Gui, and Qt5Widgets libraries and headers. At least version 5.2 is required. -- 2.30.2