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. Qt on Raspberry Pi (new problem - solved somehow)
QtWS25 Last Chance

Qt on Raspberry Pi (new problem - solved somehow)

Scheduled Pinned Locked Moved Installation and Deployment
5 Posts 2 Posters 1.7k 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.
  • O Offline
    O Offline
    onlydp
    wrote on last edited by onlydp
    #1

    Hi guys,

    I have got a problem again. I try to follow this manual (http://doc.qt.io/qt-5/linux-building.html) to install Qt on Raspbian (based on Debian) on my Raspberry Pi 2.

    I got till step 3 in the configure part. This is what I get:

    pi@raspberrypi ~/Downloads/qt-everywhere-opensource-src-5.5.0 $ ./configure -qreal float
    + cd qtbase
    + /home/pi/Downloads/qt-everywhere-opensource-src-5.5.0/qtbase/configure -top-level -qreal float
    Which edition of Qt do you want to use ?
    
    Type 'c' if you want to use the Commercial Edition.
    Type 'o' if you want to use the Open Source Edition.
    
    o
    
    
    This is the Qt Open Source Edition.
    
    You are licensed to use this software under the terms of
    the Lesser GNU General Public License (LGPL) versions 2.1.
    You are also licensed to use this software under the terms of
    the GNU Lesser General Public License (LGPL) versions 3.
    
    Type '3' to view the GNU Lesser General Public License version 3.
    Type 'L' to view the Lesser GNU General Public License version 2.1.
    Type 'yes' to accept this license offer.
    Type 'no' to decline this license offer.
    
    Do you accept the terms of either license? yes
    
    Creating qmake...
    .Done.
    Running configuration tests...
    
       Configure summary
    
    Build type:    linux-g++ (arm, CPU features: none detected)
    Platform notes:
    
                - Also available for Linux: linux-kcc linux-icc linux-cxx
            
    Build options:
      Configuration .......... accessibility accessibility-atspi-bridge audio-backend c++11 clock-gettime clock-monotonic compile_examples concurrent dbus enable_new_dtags evdev eventfd full-config getaddrinfo getifaddrs harfbuzz iconv inotify ipv6ifname large-config largefile linuxfb medium-config minimal-config mremap nis opengl pcre png posix_fallocate precompile_header qpa qpa reduce_exports release rpath shared small-config system-freetype system-png system-zlib xcb xcb-glx xcb-plugin xcb-render xcb-xlib xkbcommon-qt xlib xrender 
      Build parts ............ libs tools examples
      Mode ................... release
      Using sanitizer(s)...... none
      Using C++11 ............ yes
      Using gold linker....... no
      Using new DTAGS ........ yes
      Using PCH .............. yes
      Target compiler supports:
        Neon ................. no
    
    Qt modules and options:
      Qt D-Bus ............... yes (loading dbus-1 at runtime)
      Qt Concurrent .......... yes
      Qt GUI ................. yes
      Qt Widgets ............. yes
      Large File ............. yes
      QML debugging .......... yes
      Use system proxies ..... no
    
    Support enabled for:
      Accessibility .......... yes
      ALSA ................... no
      CUPS ................... no
      Evdev .................. yes
      FontConfig ............. no
      FreeType ............... yes (system library)
      Glib ................... no
      GStreamer .............. no
      GTK theme .............. no
      HarfBuzz ............... yes (bundled copy)
      Iconv .................. yes
      ICU .................... no
      Image formats: 
        GIF .................. yes (plugin, using bundled copy)
        JPEG ................. yes (plugin, using bundled copy)
        PNG .................. yes (in QtGui, using system library)
      journald ............... no
      libinput................ no
      mtdev .................. no
      Networking: 
        getaddrinfo .......... yes
        getifaddrs ........... yes
        IPv6 ifname .......... yes
        libproxy.............. no
        OpenSSL .............. no
      NIS .................... yes
      OpenGL / OpenVG: 
        EGL .................. no
        OpenGL ............... desktop
        OpenVG ............... no
      PCRE ................... yes (bundled copy)
      pkg-config ............. yes 
      PulseAudio ............. no
      QPA backends: 
        DirectFB ............. no
        EGLFS ................ no
          EGLFS i.MX6....... . no
          EGLFS KMS .......... no
          EGLFS Mali ......... no
          EGLFS Raspberry Pi . no
          EGLFS X11 .......... no
        LinuxFB .............. yes
        XCB .................. yes (system library)
          EGL on X ........... no
          GLX ................ yes
          MIT-SHM ............ yes
          Xcb-Xlib ........... yes
          Xcursor ............ yes (loaded at runtime)
          Xfixes ............. yes (loaded at runtime)
          Xi ................. yes (loaded at runtime)
          Xi2 ................ no
          Xinerama ........... yes (loaded at runtime)
          Xrandr ............. yes (loaded at runtime)
          Xrender ............ yes
          XKB ................ no
          XShape ............. yes
          XSync .............. yes
          XVideo ............. yes
      Session management ..... yes
      SQL drivers: 
        DB2 .................. no
        InterBase ............ no
        MySQL ................ no
        OCI .................. no
        ODBC ................. no
        PostgreSQL ........... no
        SQLite 2 ............. no
        SQLite ............... yes (plugin, using bundled copy)
        TDS .................. no
      tslib .................. no
      udev ................... no
      xkbcommon-x11........... yes (bundled copy, XKB config root: /usr/share/X11/xkb)
      xkbcommon-evdev......... no
      zlib ................... yes (system library)
    
    Project ERROR: Unknown module(s) in QT: core gui
    

    I don't know how to solve this Error down where and if I ignore it and try to go straight forward with executing make nothing happens (no makefile found). Even there is no Qt-folder in the usr/local folder (but I think this should be created with the make, so it's not the problem).

    Any ideas,

    Happy about any help. Thx,

    onlydp

    1 Reply Last reply
    1
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi,

      You should rerun configure with the -v option, you might get some clues about that from the verbose output.

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      0
      • O Offline
        O Offline
        onlydp
        wrote on last edited by
        #3

        Hi,

        thx for your answer.

        The last few hours I spend my time investigating in the reason for that problem. And just in the second I see your answer it seems like I found the solution. There was a problem with unziping the .tar . Some files haven't been added to the unzipped folder. Now I run an unzip on my laptop and used an USB stick to move them to the Pi and everything works without an problem. At least everything till the make. That's what is running at the moment. But it looks pretty good.

        For a second time a big thank yyou to the members of this great forum (seems to be solved)

        1 Reply Last reply
        0
        • SGaistS Offline
          SGaistS Offline
          SGaist
          Lifetime Qt Champion
          wrote on last edited by
          #4

          Strange… But anyway, since it's working now…

          Thanks for sharing your findings

          Happy coding !

          Interested in AI ? www.idiap.ch
          Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

          1 Reply Last reply
          0
          • O Offline
            O Offline
            onlydp
            wrote on last edited by onlydp
            #5

            Hi again,

            one night later (I gave the make some time to work) I saw that now the make puts out some errors. I don't think that's linked to my probleme above, but still it has something to do with installing Qt on Raspberry Pi, so I don't think it would be useful to open a new topic.

            As I said I gave the make a night to run and the first half hour while I had an eye on it everything went fine. No errors, new outputs. Everything fine. But the moment I looked into it today there have been a couple of errors. I did a rerun of the make to see what is fine and what fails. This is the output:

            make
            cd qtbase/ && ( test -e Makefile || /home/pi/Downloads/qt-everywhere-opensource-src-5.5.0/qtbase/bin/qmake /home/pi/Downloads/qt-everywhere-opensource-src-5.5.0/qtbase/qtbase.pro -o Makefile ) && make -f Makefile 
            make[1]: Entering directory '/home/pi/Downloads/qt-everywhere-opensource-src-5.5.0/qtbase'
            cd src/ && ( test -e Makefile || /home/pi/Downloads/qt-everywhere-opensource-src-5.5.0/qtbase/bin/qmake /home/pi/Downloads/qt-everywhere-opensource-src-5.5.0/qtbase/src/src.pro -o Makefile ) && make -f Makefile 
            make[2]: Entering directory '/home/pi/Downloads/qt-everywhere-opensource-src-5.5.0/qtbase/src'
            cd tools/bootstrap/ && ( test -e Makefile || /home/pi/Downloads/qt-everywhere-opensource-src-5.5.0/qtbase/bin/qmake /home/pi/Downloads/qt-everywhere-opensource-src-5.5.0/qtbase/src/tools/bootstrap/bootstrap.pro -o Makefile ) && make -f Makefile 
            make[3]: Entering directory '/home/pi/Downloads/qt-everywhere-opensource-src-5.5.0/qtbase/src/tools/bootstrap'
            make[3]: Nothing to be done for 'first'.
            make[3]: Leaving directory '/home/pi/Downloads/qt-everywhere-opensource-src-5.5.0/qtbase/src/tools/bootstrap'
            cd tools/moc/ && ( test -e Makefile || /home/pi/Downloads/qt-everywhere-opensource-src-5.5.0/qtbase/bin/qmake /home/pi/Downloads/qt-everywhere-opensource-src-5.5.0/qtbase/src/tools/moc/moc.pro -o Makefile ) && make -f Makefile 
            make[3]: Entering directory '/home/pi/Downloads/qt-everywhere-opensource-src-5.5.0/qtbase/src/tools/moc'
            make[3]: Nothing to be done for 'first'.
            make[3]: Leaving directory '/home/pi/Downloads/qt-everywhere-opensource-src-5.5.0/qtbase/src/tools/moc'
            cd tools/rcc/ && ( test -e Makefile || /home/pi/Downloads/qt-everywhere-opensource-src-5.5.0/qtbase/bin/qmake /home/pi/Downloads/qt-everywhere-opensource-src-5.5.0/qtbase/src/tools/rcc/rcc.pro -o Makefile ) && make -f Makefile 
            make[3]: Entering directory '/home/pi/Downloads/qt-everywhere-opensource-src-5.5.0/qtbase/src/tools/rcc'
            make[3]: Nothing to be done for 'first'.
            make[3]: Leaving directory '/home/pi/Downloads/qt-everywhere-opensource-src-5.5.0/qtbase/src/tools/rcc'
            cd 3rdparty/pcre/ && ( test -e Makefile || /home/pi/Downloads/qt-everywhere-opensource-src-5.5.0/qtbase/bin/qmake /home/pi/Downloads/qt-everywhere-opensource-src-5.5.0/qtbase/src/3rdparty/pcre/pcre.pro -o Makefile ) && make -f Makefile 
            make[3]: Entering directory '/home/pi/Downloads/qt-everywhere-opensource-src-5.5.0/qtbase/src/3rdparty/pcre'
            make[3]: Nothing to be done for 'first'.
            make[3]: Leaving directory '/home/pi/Downloads/qt-everywhere-opensource-src-5.5.0/qtbase/src/3rdparty/pcre'
            cd corelib/ && ( test -e Makefile || /home/pi/Downloads/qt-everywhere-opensource-src-5.5.0/qtbase/bin/qmake /home/pi/Downloads/qt-everywhere-opensource-src-5.5.0/qtbase/src/corelib/corelib.pro -o Makefile ) && make -f Makefile 
            make[3]: Entering directory '/home/pi/Downloads/qt-everywhere-opensource-src-5.5.0/qtbase/src/corelib'
            make[3]: Nothing to be done for 'first'.
            make[3]: Leaving directory '/home/pi/Downloads/qt-everywhere-opensource-src-5.5.0/qtbase/src/corelib'
            cd tools/qlalr/ && ( test -e Makefile || /home/pi/Downloads/qt-everywhere-opensource-src-5.5.0/qtbase/bin/qmake /home/pi/Downloads/qt-everywhere-opensource-src-5.5.0/qtbase/src/tools/qlalr/qlalr.pro -o Makefile ) && make -f Makefile 
            make[3]: Entering directory '/home/pi/Downloads/qt-everywhere-opensource-src-5.5.0/qtbase/src/tools/qlalr'
            make[3]: Nothing to be done for 'first'.
            make[3]: Leaving directory '/home/pi/Downloads/qt-everywhere-opensource-src-5.5.0/qtbase/src/tools/qlalr'
            cd network/ && ( test -e Makefile || /home/pi/Downloads/qt-everywhere-opensource-src-5.5.0/qtbase/bin/qmake /home/pi/Downloads/qt-everywhere-opensource-src-5.5.0/qtbase/src/network/network.pro -o Makefile ) && make -f Makefile 
            make[3]: Entering directory '/home/pi/Downloads/qt-everywhere-opensource-src-5.5.0/qtbase/src/network'
            make[3]: Nothing to be done for 'first'.
            make[3]: Leaving directory '/home/pi/Downloads/qt-everywhere-opensource-src-5.5.0/qtbase/src/network'
            cd sql/ && ( test -e Makefile || /home/pi/Downloads/qt-everywhere-opensource-src-5.5.0/qtbase/bin/qmake /home/pi/Downloads/qt-everywhere-opensource-src-5.5.0/qtbase/src/sql/sql.pro -o Makefile ) && make -f Makefile 
            make[3]: Entering directory '/home/pi/Downloads/qt-everywhere-opensource-src-5.5.0/qtbase/src/sql'
            make[3]: Nothing to be done for 'first'.
            make[3]: Leaving directory '/home/pi/Downloads/qt-everywhere-opensource-src-5.5.0/qtbase/src/sql'
            cd xml/ && ( test -e Makefile || /home/pi/Downloads/qt-everywhere-opensource-src-5.5.0/qtbase/bin/qmake /home/pi/Downloads/qt-everywhere-opensource-src-5.5.0/qtbase/src/xml/xml.pro -o Makefile ) && make -f Makefile 
            make[3]: Entering directory '/home/pi/Downloads/qt-everywhere-opensource-src-5.5.0/qtbase/src/xml'
            make[3]: Nothing to be done for 'first'.
            make[3]: Leaving directory '/home/pi/Downloads/qt-everywhere-opensource-src-5.5.0/qtbase/src/xml'
            cd 3rdparty/harfbuzz-ng/ && ( test -e Makefile || /home/pi/Downloads/qt-everywhere-opensource-src-5.5.0/qtbase/bin/qmake /home/pi/Downloads/qt-everywhere-opensource-src-5.5.0/qtbase/src/3rdparty/harfbuzz-ng/harfbuzz-ng.pro -o Makefile ) && make -f Makefile 
            make[3]: Entering directory '/home/pi/Downloads/qt-everywhere-opensource-src-5.5.0/qtbase/src/3rdparty/harfbuzz-ng'
            make[3]: Nothing to be done for 'first'.
            make[3]: Leaving directory '/home/pi/Downloads/qt-everywhere-opensource-src-5.5.0/qtbase/src/3rdparty/harfbuzz-ng'
            cd gui/ && ( test -e Makefile || /home/pi/Downloads/qt-everywhere-opensource-src-5.5.0/qtbase/bin/qmake /home/pi/Downloads/qt-everywhere-opensource-src-5.5.0/qtbase/src/gui/gui.pro -o Makefile ) && make -f Makefile 
            make[3]: Entering directory '/home/pi/Downloads/qt-everywhere-opensource-src-5.5.0/qtbase/src/gui'
            g++ -c -include .pch/Qt5Gui -pipe -O3 -fvisibility=hidden -fvisibility-inlines-hidden -std=c++0x -fno-exceptions -Wall -W -D_REENTRANT -fPIC -DQT_NO_MTDEV -DQT_NO_LIBUDEV -DQT_NO_TSLIB -DQT_NO_LIBINPUT -DQT_NO_XKB -DQT_NO_USING_NAMESPACE -DQT_BUILD_GUI_LIB -DQT_BUILDING_QT -DQT_NO_CAST_TO_ASCII -DQT_ASCII_CAST_WARNINGS -DQT_MOC_COMPAT -DQT_USE_QSTRINGBUILDER -DQT_DEPRECATED_WARNINGS -DQT_DISABLE_DEPRECATED_BEFORE=0x050000 -DQT_ENABLE_HARFBUZZ_NG -DQT_NO_EXCEPTIONS -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -DQT_NO_DEBUG -DQT_CORE_LIB -I. -I../../include -I../../include/QtGui -I../../include/QtGui/5.5.0 -I../../include/QtGui/5.5.0/QtGui -Iimage -I../3rdparty/harfbuzz-ng/include -I../../include/QtCore/5.5.0 -I../../include/QtCore/5.5.0/QtCore -I../../include/QtCore -I.moc -I../../mkspecs/linux-g++ -o .obj/qpdf.o painting/qpdf.cpp
            painting/qpdf.cpp: In member function ‘int QPdfEnginePrivate::createShadingFunction(const QGradient*, int, int, bool, bool)’:
            painting/qpdf.cpp:1982:70: error: no matching function for call to ‘qBound(double, const float&, double)’
            painting/qpdf.cpp:1982:70: note: candidate is:
            ../../include/QtCore/../../src/corelib/global/qglobal.h:543:34: note: template<class T> constexpr const T& qBound(const T&, const T&, const T&)
            painting/qpdf.cpp:1983:73: error: no matching function for call to ‘qBound(double, const float&, double)’
            painting/qpdf.cpp:1983:73: note: candidate is:
            ../../include/QtCore/../../src/corelib/global/qglobal.h:543:34: note: template<class T> constexpr const T& qBound(const T&, const T&, const T&)
            painting/qpdf.cpp:1991:66: error: no matching function for call to ‘qBound(double, const float&, double)’
            painting/qpdf.cpp:1991:66: note: candidate is:
            ../../include/QtCore/../../src/corelib/global/qglobal.h:543:34: note: template<class T> constexpr const T& qBound(const T&, const T&, const T&)
            painting/qpdf.cpp:1992:69: error: no matching function for call to ‘qBound(double, const float&, double)’
            painting/qpdf.cpp:1992:69: note: candidate is:
            ../../include/QtCore/../../src/corelib/global/qglobal.h:543:34: note: template<class T> constexpr const T& qBound(const T&, const T&, const T&)
            painting/qpdf.cpp: In member function ‘int QPdfEnginePrivate::generateRadialGradientShader(const QRadialGradient*, const QTransform&, bool)’:
            painting/qpdf.cpp:2157:44: error: ambiguous overload for ‘operator<<’ in ‘(&(&(&(& s.QPdf::ByteStream::operator<<(((const char*)"<<\012/ShadingType 3\012/ColorSpace ")))->QPdf::ByteStream::operator<<((alpha ? ((const char*)"/DeviceGray\012") : ((const char*)"/DeviceRGB\012"))))->QPdf::ByteStream::operator<<(((const char*)"/AntiAlias true\012/Domain [0 1]\012/Coords [")))->QPdf::ByteStream::operator<<(p0.QPointF::x()))->QPdf::ByteStream::operator<<(p0.QPointF::y()) << r0’
            painting/qpdf.cpp:2157:44: note: candidates are:
            painting/qpdf.cpp:180:17: note: QPdf::ByteStream& QPdf::ByteStream::operator<<(char)
            painting/qpdf.cpp:218:17: note: QPdf::ByteStream& QPdf::ByteStream::operator<<(qreal)
            painting/qpdf.cpp:225:17: note: QPdf::ByteStream& QPdf::ByteStream::operator<<(int)
            Makefile:47997: recipe for target '.obj/qpdf.o' failed
            make[3]: *** [.obj/qpdf.o] Error 1
            make[3]: Leaving directory '/home/pi/Downloads/qt-everywhere-opensource-src-5.5.0/qtbase/src/gui'
            Makefile:446: recipe for target 'sub-gui-make_first' failed
            make[2]: *** [sub-gui-make_first] Error 2
            make[2]: Leaving directory '/home/pi/Downloads/qt-everywhere-opensource-src-5.5.0/qtbase/src'
            Makefile:45: recipe for target 'sub-src-make_first' failed
            make[1]: *** [sub-src-make_first] Error 2
            make[1]: Leaving directory '/home/pi/Downloads/qt-everywhere-opensource-src-5.5.0/qtbase'
            Makefile:72: recipe for target 'module-qtbase-make_first' failed
            make: *** [module-qtbase-make_first] Error 2
            

            Setup is the same as above. Raspberry Pi 2 with Raspbian on it.

            Any ideas how to solve this?

            I thought about deactivating the PDFEngine in Qt because I don't need it at the moment. Due to that I took a look into "./configure -h" whether that is possible and I found options for a lot other plugins or parts of Qt, but no PDF engine

            EDIT: I tried to replace my qpdf.cpp with the qpdf of this page (https://codereview.qt-project.org/#/c/122004/) because I've had to use configure with '-qreal float' and that's there me google led to. But the error seems to be the same. (RE-EDIT: it isn't the same. There is still an error but it looks different. Output following)

            make
            cd qtbase/ && ( test -e Makefile || /home/pi/Downloads/qt-everywhere-opensource-src-5.5.0/qtbase/bin/qmake /home/pi/Downloads/qt-everywhere-opensource-src-5.5.0/qtbase/qtbase.pro -o Makefile ) && make -f Makefile 
            make[1]: Entering directory '/home/pi/Downloads/qt-everywhere-opensource-src-5.5.0/qtbase'
            cd src/ && ( test -e Makefile || /home/pi/Downloads/qt-everywhere-opensource-src-5.5.0/qtbase/bin/qmake /home/pi/Downloads/qt-everywhere-opensource-src-5.5.0/qtbase/src/src.pro -o Makefile ) && make -f Makefile 
            make[2]: Entering directory '/home/pi/Downloads/qt-everywhere-opensource-src-5.5.0/qtbase/src'
            cd tools/bootstrap/ && ( test -e Makefile || /home/pi/Downloads/qt-everywhere-opensource-src-5.5.0/qtbase/bin/qmake /home/pi/Downloads/qt-everywhere-opensource-src-5.5.0/qtbase/src/tools/bootstrap/bootstrap.pro -o Makefile ) && make -f Makefile 
            make[3]: Entering directory '/home/pi/Downloads/qt-everywhere-opensource-src-5.5.0/qtbase/src/tools/bootstrap'
            make[3]: Nothing to be done for 'first'.
            make[3]: Leaving directory '/home/pi/Downloads/qt-everywhere-opensource-src-5.5.0/qtbase/src/tools/bootstrap'
            cd tools/moc/ && ( test -e Makefile || /home/pi/Downloads/qt-everywhere-opensource-src-5.5.0/qtbase/bin/qmake /home/pi/Downloads/qt-everywhere-opensource-src-5.5.0/qtbase/src/tools/moc/moc.pro -o Makefile ) && make -f Makefile 
            make[3]: Entering directory '/home/pi/Downloads/qt-everywhere-opensource-src-5.5.0/qtbase/src/tools/moc'
            make[3]: Nothing to be done for 'first'.
            make[3]: Leaving directory '/home/pi/Downloads/qt-everywhere-opensource-src-5.5.0/qtbase/src/tools/moc'
            cd tools/rcc/ && ( test -e Makefile || /home/pi/Downloads/qt-everywhere-opensource-src-5.5.0/qtbase/bin/qmake /home/pi/Downloads/qt-everywhere-opensource-src-5.5.0/qtbase/src/tools/rcc/rcc.pro -o Makefile ) && make -f Makefile 
            make[3]: Entering directory '/home/pi/Downloads/qt-everywhere-opensource-src-5.5.0/qtbase/src/tools/rcc'
            make[3]: Nothing to be done for 'first'.
            make[3]: Leaving directory '/home/pi/Downloads/qt-everywhere-opensource-src-5.5.0/qtbase/src/tools/rcc'
            cd 3rdparty/pcre/ && ( test -e Makefile || /home/pi/Downloads/qt-everywhere-opensource-src-5.5.0/qtbase/bin/qmake /home/pi/Downloads/qt-everywhere-opensource-src-5.5.0/qtbase/src/3rdparty/pcre/pcre.pro -o Makefile ) && make -f Makefile 
            make[3]: Entering directory '/home/pi/Downloads/qt-everywhere-opensource-src-5.5.0/qtbase/src/3rdparty/pcre'
            make[3]: Nothing to be done for 'first'.
            make[3]: Leaving directory '/home/pi/Downloads/qt-everywhere-opensource-src-5.5.0/qtbase/src/3rdparty/pcre'
            cd corelib/ && ( test -e Makefile || /home/pi/Downloads/qt-everywhere-opensource-src-5.5.0/qtbase/bin/qmake /home/pi/Downloads/qt-everywhere-opensource-src-5.5.0/qtbase/src/corelib/corelib.pro -o Makefile ) && make -f Makefile 
            make[3]: Entering directory '/home/pi/Downloads/qt-everywhere-opensource-src-5.5.0/qtbase/src/corelib'
            make[3]: Nothing to be done for 'first'.
            make[3]: Leaving directory '/home/pi/Downloads/qt-everywhere-opensource-src-5.5.0/qtbase/src/corelib'
            cd tools/qlalr/ && ( test -e Makefile || /home/pi/Downloads/qt-everywhere-opensource-src-5.5.0/qtbase/bin/qmake /home/pi/Downloads/qt-everywhere-opensource-src-5.5.0/qtbase/src/tools/qlalr/qlalr.pro -o Makefile ) && make -f Makefile 
            make[3]: Entering directory '/home/pi/Downloads/qt-everywhere-opensource-src-5.5.0/qtbase/src/tools/qlalr'
            make[3]: Nothing to be done for 'first'.
            make[3]: Leaving directory '/home/pi/Downloads/qt-everywhere-opensource-src-5.5.0/qtbase/src/tools/qlalr'
            cd network/ && ( test -e Makefile || /home/pi/Downloads/qt-everywhere-opensource-src-5.5.0/qtbase/bin/qmake /home/pi/Downloads/qt-everywhere-opensource-src-5.5.0/qtbase/src/network/network.pro -o Makefile ) && make -f Makefile 
            make[3]: Entering directory '/home/pi/Downloads/qt-everywhere-opensource-src-5.5.0/qtbase/src/network'
            make[3]: Nothing to be done for 'first'.
            make[3]: Leaving directory '/home/pi/Downloads/qt-everywhere-opensource-src-5.5.0/qtbase/src/network'
            cd sql/ && ( test -e Makefile || /home/pi/Downloads/qt-everywhere-opensource-src-5.5.0/qtbase/bin/qmake /home/pi/Downloads/qt-everywhere-opensource-src-5.5.0/qtbase/src/sql/sql.pro -o Makefile ) && make -f Makefile 
            make[3]: Entering directory '/home/pi/Downloads/qt-everywhere-opensource-src-5.5.0/qtbase/src/sql'
            make[3]: Nothing to be done for 'first'.
            make[3]: Leaving directory '/home/pi/Downloads/qt-everywhere-opensource-src-5.5.0/qtbase/src/sql'
            cd xml/ && ( test -e Makefile || /home/pi/Downloads/qt-everywhere-opensource-src-5.5.0/qtbase/bin/qmake /home/pi/Downloads/qt-everywhere-opensource-src-5.5.0/qtbase/src/xml/xml.pro -o Makefile ) && make -f Makefile 
            make[3]: Entering directory '/home/pi/Downloads/qt-everywhere-opensource-src-5.5.0/qtbase/src/xml'
            make[3]: Nothing to be done for 'first'.
            make[3]: Leaving directory '/home/pi/Downloads/qt-everywhere-opensource-src-5.5.0/qtbase/src/xml'
            cd 3rdparty/harfbuzz-ng/ && ( test -e Makefile || /home/pi/Downloads/qt-everywhere-opensource-src-5.5.0/qtbase/bin/qmake /home/pi/Downloads/qt-everywhere-opensource-src-5.5.0/qtbase/src/3rdparty/harfbuzz-ng/harfbuzz-ng.pro -o Makefile ) && make -f Makefile 
            make[3]: Entering directory '/home/pi/Downloads/qt-everywhere-opensource-src-5.5.0/qtbase/src/3rdparty/harfbuzz-ng'
            make[3]: Nothing to be done for 'first'.
            make[3]: Leaving directory '/home/pi/Downloads/qt-everywhere-opensource-src-5.5.0/qtbase/src/3rdparty/harfbuzz-ng'
            cd gui/ && ( test -e Makefile || /home/pi/Downloads/qt-everywhere-opensource-src-5.5.0/qtbase/bin/qmake /home/pi/Downloads/qt-everywhere-opensource-src-5.5.0/qtbase/src/gui/gui.pro -o Makefile ) && make -f Makefile 
            make[3]: Entering directory '/home/pi/Downloads/qt-everywhere-opensource-src-5.5.0/qtbase/src/gui'
            g++ -c -include .pch/Qt5Gui -pipe -O3 -fvisibility=hidden -fvisibility-inlines-hidden -std=c++0x -fno-exceptions -Wall -W -D_REENTRANT -fPIC -DQT_NO_MTDEV -DQT_NO_LIBUDEV -DQT_NO_TSLIB -DQT_NO_LIBINPUT -DQT_NO_XKB -DQT_NO_USING_NAMESPACE -DQT_BUILD_GUI_LIB -DQT_BUILDING_QT -DQT_NO_CAST_TO_ASCII -DQT_ASCII_CAST_WARNINGS -DQT_MOC_COMPAT -DQT_USE_QSTRINGBUILDER -DQT_DEPRECATED_WARNINGS -DQT_DISABLE_DEPRECATED_BEFORE=0x050000 -DQT_ENABLE_HARFBUZZ_NG -DQT_NO_EXCEPTIONS -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -DQT_NO_DEBUG -DQT_CORE_LIB -I. -I../../include -I../../include/QtGui -I../../include/QtGui/5.5.0 -I../../include/QtGui/5.5.0/QtGui -Iimage -I../3rdparty/harfbuzz-ng/include -I../../include/QtCore/5.5.0 -I../../include/QtCore/5.5.0/QtCore -I../../include/QtCore -I.moc -I../../mkspecs/linux-g++ -o .obj/qpdf.o painting/qpdf.cpp
            painting/qpdf.cpp: In member function ‘int QPdfEnginePrivate::generateRadialGradientShader(const QRadialGradient*, const QTransform&, bool)’:
            painting/qpdf.cpp:2157:44: error: ambiguous overload for ‘operator<<’ in ‘(&(&(&(& s.QPdf::ByteStream::operator<<(((const char*)"<<\012/ShadingType 3\012/ColorSpace ")))->QPdf::ByteStream::operator<<((alpha ? ((const char*)"/DeviceGray\012") : ((const char*)"/DeviceRGB\012"))))->QPdf::ByteStream::operator<<(((const char*)"/AntiAlias true\012/Domain [0 1]\012/Coords [")))->QPdf::ByteStream::operator<<(p0.QPointF::x()))->QPdf::ByteStream::operator<<(p0.QPointF::y()) << r0’
            painting/qpdf.cpp:2157:44: note: candidates are:
            painting/qpdf.cpp:180:17: note: QPdf::ByteStream& QPdf::ByteStream::operator<<(char)
            painting/qpdf.cpp:218:17: note: QPdf::ByteStream& QPdf::ByteStream::operator<<(qreal)
            painting/qpdf.cpp:225:17: note: QPdf::ByteStream& QPdf::ByteStream::operator<<(int)
            Makefile:47997: recipe for target '.obj/qpdf.o' failed
            make[3]: *** [.obj/qpdf.o] Error 1
            make[3]: Leaving directory '/home/pi/Downloads/qt-everywhere-opensource-src-5.5.0/qtbase/src/gui'
            Makefile:446: recipe for target 'sub-gui-make_first' failed
            make[2]: *** [sub-gui-make_first] Error 2
            make[2]: Leaving directory '/home/pi/Downloads/qt-everywhere-opensource-src-5.5.0/qtbase/src'
            Makefile:45: recipe for target 'sub-src-make_first' failed
            make[1]: *** [sub-src-make_first] Error 2
            make[1]: Leaving directory '/home/pi/Downloads/qt-everywhere-opensource-src-5.5.0/qtbase'
            Makefile:72: recipe for target 'module-qtbase-make_first' failed
            make: *** [module-qtbase-make_first] Error 2
            

            EDIT No.3:
            I solved this right now by uncomment row 2157 of the asked document. But that's only a solution for me because qpdf isn't necessary in my case. Maybe the devs should look into this problem sometime. (Btw. I used the updated file not the standart one)

            1 Reply Last reply
            0

            • Login

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