From 9c7fbd8f3f3b9ee92ffd8c2dff6f158947ac705f Mon Sep 17 00:00:00 2001 From: Marko Lindqvist Date: Wed, 14 Apr 2021 04:28:38 +0300 Subject: [PATCH 49/49] INSTALL: Improve listing of Qt-client dependencies - List 'moc' in dependencies - List compiler's requirements first, and mention examples of compilers tested only after that - 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 08f1b85e8c..e84b5026d2 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). @@ -51,7 +51,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). - A "make" program. @@ -243,10 +243,19 @@ 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. Compiler needs to support c++11 standard, or, in case of --with-qt6 build, c++17 standard + 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' or 'moc-qt6' depending on Qt version in some systems. + 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.11 is required. If one builds with configure option --with-qt6, -- 2.30.2