Gentoo Archives: gentoo-user

From: karl@××××××××.se
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] qt4
Date: Sat, 18 Jan 2020 10:56:24
Message-Id: 20200118105616.AF7F181A606B@turkos.aspodata.se
In Reply to: Re: [gentoo-user] qt4 by Andrew Udvare
1 Andrew Udvare:
2 > > On 2020-01-18, at 03:17, karl@××××××××.se wrote:
3 ...
4 > > This code requires qt4:
5 > > https://github.com/thliebig/openEMS-Project
6 >
7 > Not from what I'm seeing. The README has an outdated line for Ubuntu but the QCSXCAD GUI code references Qt5.
8 >
9 > https://github.com/thliebig/QCSXCAD/blob/0dabbaf2bc1190adec300871cf309791af842c8e/CMakeLists.txt#L109
10
11 Ok, so there is hope.
12
13 I get (build_xxx.log):
14
15 CMake Warning at CMakeLists.txt:102 (find_package):
16 Could not find a configuration file for package "VTK" that is compatible
17 with requested version "6.1".
18
19 The following configuration files were considered but not accepted:
20
21 /usr/lib/cmake/vtk-7.1/VTKConfig.cmake, version: 7.1.0
22
23
24
25 -- Found package VTK. Using version 7.1.0
26 CMake Error at /usr/share/cmake/Modules/FindQt4.cmake:1324 (message):
27 Found unsuitable Qt version "5.13.2" from /usr/bin/qmake, this code
28 requires Qt 4.x
29 Call Stack (most recent call first):
30 CMakeLists.txt:124 (FIND_PACKAGE)
31
32
33 (That message is a little confusing, it finds a vtk which it doesn't
34 accept, but it is using it ???)
35
36 Perhaps that triggers the else part in line 117-119.
37
38 Regards,
39 /Karl Hammar