[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Texmacs-dev] problem with compiling QGuiApplication not found
From: |
Dmitry |
Subject: |
[Texmacs-dev] problem with compiling QGuiApplication not found |
Date: |
Sun, 13 Oct 2024 23:19:29 +0300 |
Hello, JFYI
I had a problem compiling texmacs ( tried last master
c6287b64afe6aeb57613f57b5c2cf0e85d6ae8c4 and v2.1.2 ) :
make[1]: Entering directory 'texmacs/src'
g++ -ISystem -ISystem/Boot -ISystem/Classes -ISystem/Files
-ISystem/Link -ISystem/Misc -ISystem/Language -IKernel/Abstractions
-IKernel/Containers
-IKernel/Types -IData/Convert -IData/Drd -IData/History
-IData/Observers -IData/Document -IData/String -IData/Tmfs -IData/Tree
-IData/Parser -IScheme
-IGraphics/Bitmap_fonts -IGraphics/Fonts -IGraphics/Gui
-IGraphics/Mathematics -IGraphics/Renderer -IGraphics/Handwriting
-IGraphics/Types
-IGraphics/Pictures -IGraphics/Spacial -IGraphics/Colors -IPlugins
-IPlugins/Unix
-pthread -I/usr/local/guile-1.8.7/include
-I/usr/local/guile-1.8.7/include/guile -include config.h
-DQT_DEPRECATED_WARNINGS -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB
-DQT_SVG_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I.
-I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -D_REENTRANT
-DQTTEXMACS -Wall -Wno-return-type -O3 -fexpensive-optimizations -c
./Plugins/Unix/unix_system.cpp -o Objects/unix_system.o
./Plugins/Unix/unix_system.cpp:15:10: fatal error: QGuiApplication: No
such file or directory
After some research I found that adding $(CXXQT) flags to $(os_obj) helps:
$ diff src/makefile.orig src/makefile
343c343
< $(call cxx_incl,$(os_incl) $(CXXGUILE))
---
> $(call cxx_incl,$(os_incl) $(CXXGUILE) $(CXXQT))
Maybe my ubuntu too old?
$ cat /etc/os-release
NAME="Ubuntu"
VERSION="18.04.6 LTS (Bionic Beaver)"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu 18.04.6 LTS"
$ g++ --version
g++ (Ubuntu 7.5.0-3ubuntu1~18.04) 7.5.0
Cordialement.
--
Dmitry
- [Texmacs-dev] problem with compiling QGuiApplication not found,
Dmitry <=