POV-Ray : Newsgroups : povray.tools.general : building povmodeler? : Re: building povmodeler? Server Time
25 Apr 2024 04:29:44 EDT (-0400)
  Re: building povmodeler?  
From: Dick Balaska
Date: 27 Nov 2019 03:54:29
Message: <5dde39c5$1@news.povray.org>
On 11/27/19 1:40 AM, Ton wrote:
> I'm a bit surprised that your qt-include directories are in /opt, but that
> should not be a problem.
> Could you run the next command:
> 
> pkg-config --cflags Qt5Core
> 
> My output here is:
> -DQT_CORE_LIB -I/usr/include/qt5/QtCore -I/usr/include/qt5
> and my include file is located at:
> /usr/include/qt5/QtX11Extras/QX11Info
> 
> So now the compiler knows how to find that file.
> 
> The problem with cmake is that you never know the command line of the compiler,
> so you don't have a clue about the include directories it's using.

Ah ha.

$ pkg-config --cflags Qt5Core
-I/usr/include/x86_64-linux-gnu/qt5/QtCore 
-I/usr/include/x86_64-linux-gnu/qt5

qmake knows I want to build with /opt/Qt/5.13.1
cmake does not.  It uses the debian installed version, which I think is 
5.9.5.

The debian version does not seem to have qt5X11Extras
$ ls /usr/lib/x86_64-linux-gnu/cmake
Qt5  Qt5Concurrent  Qt5Core  Qt5DBus  Qt5Gui  Qt5Network 
Qt5OpenGLExtensions  Qt5PrintSupport  Qt5Sql  Qt5Test  Qt5Widgets  Qt5Xml


I don't see a package to install to fix that.  There *is* a -doc package

$ apt-cache search qtx11
python-pyqt5.qtx11extras - Python 2 bindings for QtX11Extras module
python-pyqt5.qtx11extras-dbg - Python 2 bindings for QtX11Extras module 
(debug extension)
python3-pyqt5.qtx11extras - Python 3 bindings for QtX11Extras module
python3-pyqt5.qtx11extras-dbg - Python 3 bindings for QtX11Extras module 
(debug extension)
qtx11extras5-doc - Qt 5 X11 extras documentation
qtx11extras5-doc-html - Qt 5 X11 extras HTML documentation

-- 
dik
Rendered 29,374,617,600 of 49,882,521,600 pixels (58%)


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.