Subject: mailing-list for TeXmacs Users
List archive
From : "Andrey G. Grozin" <address@hidden>- To: Karl Hegbloom <address@hidden>
- Cc: Henri Girard <address@hidden>, address@hidden
- Subject: Re: [TeXmacs] Fwd: Re: TeXmacs 1.99.6
- Date: Sun, 24 Dec 2017 20:18:32 +0700 (+07)
On Sat, 23 Dec 2017, Karl Hegbloom wrote:
Rather than Qt4, I would install the Qt5 development packages via theAha, so TeXmacs can be compiled with Qt5! Excellent (Qt4 will be removed from our distro (Gentoo) very soon). Unfortunately, when I configure with
qt5-default package.
--with-qt=/usr/lib64/qt5
compilation fails:
x86_64-pc-linux-gnu-clang++ -ISystem -ISystem/Boot -ISystem/Classes -ISystem/Files -ISystem/Link -ISystem/Misc -ISystem/Language -IKer
nel/Abstractions -IKernel/Containers -IKernel/Types -IData/Convert -IData/Drd -IData/History -IData/Observers -IData/Document -IData/S
tring -IData/Tmfs -IData/Tree -IScheme -IGraphics/Bitmap_fonts -IGraphics/Fonts -IGraphics/Gui -IGraphics/Mathematics -IGraphics/Rende
rer -IGraphics/Handwriting -IGraphics/Types -IGraphics/Pictures -IGraphics/Spacial -IGraphics/Colors -IPlugins -ITexmacs -ITexmacs/Dat
a -IEdit -ITypeset -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtWidgets -isystem /usr/include/qt5/QtGui -isystem /usr/include
/qt5/QtCore -isystem /usr/include/libdrm -pipe -O2 -Wall -W -pthread -I/usr/include -I/usr/include/guile -include config.h -DQT_DEPREC
ATED_WARNINGS -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I. -I/usr/lib64/qt5/mkspecs/linux-g++ -D_REENTRANT -DQTTEXMAC
S -Wall -Wno-return-type -O2 -march=native -pipe -std=c++11 -fPIC -fno-rtti -O2 -march=native -pipe -std=c++11 -fPIC -stdlib=libstdc++
-fno-rtti -c ./Plugins/Qt/QTMScrollView.cpp -o Objects/QTMScrollView.o
<many warnings skipped>
In file included from ./Plugins/Qt/QTMPrinterSettings.cpp:12:
./Plugins/Qt/QTMPrinterSettings.hpp:17:10: fatal error: 'QPrinter' file not found
#include <QPrinter> // Provides QPrinter::PaperSize
The reason is: ./configure produces (see config.log)
QT_CXXFLAGS=' -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtWidgets -isystem /usr/include/qt5/QtGui -isystem /usr/include/qt5/QtCore -isystem /usr/include/libdrm -pipe -O2 -Wall -W'
I.e., only QtWidgets, QtGui, and QtCore are here; but QtPrintSupport is absent. How should I patch configure.in so that configure also include QtPrintSupport to QT_CXXFLAGS (and to QT_LIBS? Does TeXmacs need it for linking? Now there is no QtPrintSupport in QT_LIBS).
Andrey
(the maintainer of the TeXmacs package in Gentoo)
- [TeXmacs] Fwd: Re: TeXmacs 1.99.6, Henri Girard, 12/23/2017
- Re: [TeXmacs] Fwd: Re: TeXmacs 1.99.6, Karl Hegbloom, 12/23/2017
- Re: [TeXmacs] Fwd: Re: TeXmacs 1.99.6, Henri Girard, 12/24/2017
- Re: [TeXmacs] Fwd: Re: TeXmacs 1.99.6, Andrey G. Grozin, 12/24/2017
- Re: [TeXmacs] Fwd: Re: TeXmacs 1.99.6, Andrey G. Grozin, 12/31/2017
- Re: [TeXmacs] Fwd: Re: TeXmacs 1.99.6, Henri Girard, 12/24/2017
- Re: [TeXmacs] Fwd: Re: TeXmacs 1.99.6, Karl Hegbloom, 12/23/2017
Archive powered by MHonArc 2.6.19.