Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.graphics.apps.gnuplot > #3773

Re: Install issue: fatal error: QtCore: No such file or directory #include <QtCore>

From Ethan A Merritt <EAMerritt@gmail.com>
Newsgroups comp.graphics.apps.gnuplot
Subject Re: Install issue: fatal error: QtCore: No such file or directory #include <QtCore>
Date 2017-10-14 12:57 -0700
Organization A noiseless patient Spider
Message-ID <ortq85$4ef$1@dont-email.me> (permalink)
References <db8a1aee-cc3f-4f7f-bad9-8aa90f4632f3@googlegroups.com>

Show all headers | View raw


borgauf@gmail.com wrote:

> I'm trying to install from source 5.2 on Ubuntu 17.04. At first I had
> this:
> 
> gnuplot wxterminal/wxt_gui.o: undefined reference to symbol
> 'XInitThreads'
> 
> Then I followed this:
> 
> http://knanagnostopoulos.blogspot.com/2016/02/ubuntu-1510-compiling-gnuplot-50-tweaks.html
> 
> But now I have
> 
> qtterminal/qt_term.cpp:51:18: fatal error: QtCore: No such file or
> directory
>  #include <QtCore>
>                   ^
> compilation terminated.
> Makefile:916: recipe for target 'qtterminal/qt_term.o' failed
> make[4]: *** [qtterminal/qt_term.o] Error 1
> ...
> 
> Any ideas what I need to do?

It looks that the search path for Qt libraries was not correctly 
configured by the autoconfigure script.   You would have to look
at the screen output from ./configure and perhaps the more detailed
output in config.log.

Failure at build time is a bit strange because normally if the 
configure script cannot find the appropriate libraries it disables
building the qt terminal and you just get a line
  qt terminal: no
in the output.

Anyhow, probably it just comes down to not having all of the 
needed qt development packages installed.  I don't know how
Ubuntu breaks those out but on my linux box that would include
lib64qt5widgets-devel
lib64qt5network-devel
lib64qt5core-devel
lib64qt5gui-devel
lib64qt5svg-devel
lib64qt5printsupport-devel
qttools5

Back to comp.graphics.apps.gnuplot | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

Install issue: fatal error: QtCore: No such file or directory  #include <QtCore> borgauf@gmail.com - 2017-10-14 09:01 -0700
  Re: Install issue: fatal error: QtCore: No such file or directory #include <QtCore> Ethan A Merritt <EAMerritt@gmail.com> - 2017-10-14 12:57 -0700
    Re: Install issue: fatal error: QtCore: No such file or directory #include <QtCore> Lawrence Bottorff <borgauf@gmail.com> - 2017-10-14 16:48 -0700
      Re: Install issue: fatal error: QtCore: No such file or directory #include <QtCore> Ethan A Merritt <EAMerritt@gmail.com> - 2017-10-14 21:17 -0700
        Re: Install issue: fatal error: QtCore: No such file or directory #include <QtCore> Karl Ratzsch <mail.kfr@gmx.net> - 2017-10-16 09:57 +0200
          Re: Install issue: fatal error: QtCore: No such file or directory #include <QtCore> Lawrence Bottorff <borgauf@gmail.com> - 2017-10-16 06:11 -0700
            Re: Install issue: fatal error: QtCore: No such file or directory #include <QtCore> Lawrence Bottorff <borgauf@gmail.com> - 2017-10-16 06:35 -0700
              Re: Install issue: fatal error: QtCore: No such file or directory #include <QtCore> Karl Ratzsch <mail.kfr@gmx.net> - 2017-10-16 19:11 +0200

csiph-web