Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. Installation Issues on RHEL

Installation Issues on RHEL

Scheduled Pinned Locked Moved Unsolved Installation and Deployment
2 Posts 2 Posters 1.1k Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • T Offline
    T Offline
    teddybouch
    wrote on last edited by
    #1

    I downloaded qtbase-5.11.zip directly from github and I'm trying to install on Red Hat Enterprise Linux using the instructions on building from source: http://doc.qt.io/qt-5/linux-building.html I was able to get past some initial troubles with the configure script by running the syncqt.pl script in the bin folder with "--version 5", but now I'm getting the following error:

    bash-4.2$ ./configure 
    Creating qmake...
    .In file included from /home/abouchard/workspace/ros_deps/qtbase-5.11/src/corelib/codecs/qtextcodec.cpp:42:0:
    /home/abouchard/workspace/ros_deps/qtbase-5.11/src/corelib/codecs/qtextcodec_p.h:54:38: fatal error: QtCore/private/qglobal_p.h: No such file or directory
     #include <QtCore/private/qglobal_p.h>
                                          ^
    compilation terminated.
    gmake: *** [qtextcodec.o] Error 1
    

    I googled the error, but the only thing that I'm finding are people having issues compiling projects, not doing installations, so the fixes seem to assume a successful installation. Has anyone seen this before? The file that it's looking for seems to have already been installed in /usr/include/qt5/QtCore/5.9.2/QtCore/private/, but I checked and /usr/include is already in my $PATH.

    1 Reply Last reply
    1
    • sierdzioS Offline
      sierdzioS Offline
      sierdzio
      Moderators
      wrote on last edited by
      #2

      Use the official git repos or archives: https://download.qt.io/official_releases/qt/5.11/5.11.1/single/ There is no need to run syncqt.pl on them, just configure and then make / make install.

      However, there is no need to go through all the trouble of compiling yourself. Just use the Qt installer https://www.qt.io/download-qt-installer

      (Z(:^

      1 Reply Last reply
      2

      • Login

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved