Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    Unsolved Installation Issues on RHEL

    Installation and Deployment
    2
    2
    791
    Loading More Posts
    • 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
      teddybouch last edited by

      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 Reply Quote 1
      • sierdzio
        sierdzio Moderators last edited by

        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 Reply Quote 2
        • First post
          Last post