Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Special Interest Groups
  3. QtonPi
  4. Qt 5.4 Compile problem for Raspberry Pi
Forum Updated to NodeBB v4.3 + New Features

Qt 5.4 Compile problem for Raspberry Pi

Scheduled Pinned Locked Moved QtonPi
18 Posts 2 Posters 8.8k Views 1 Watching
  • 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.
  • N Offline
    N Offline
    nikohal
    wrote on last edited by
    #9

    In -raspberry pi compile it is too slow. I try this http://qt-project.org/forums/viewthread/53149 and this instructions http://qt-project.org/wiki/Native_Build_of_Qt5_on_a_Raspberry_Pi but I get this error:
    E: Package 'libudev-dev' has no installation candidate
    E: Pakettia libxslt1-dev ei löydy
    E: Pakettia libgstreamer0.10-dev ei löydy
    E: Couldn't find any package by regex 'libgstreamer0.10-dev'
    E: Pakettia libgstreamer-plugins-base0.10-dev ei löydy
    E: Couldn't find any package by regex 'libgstreamer-plugins-base0.10-dev'
    E: Pakettia gstreamer-tools ei löydy
    E: Pakettia libraspberrypi-dev ei löydy
    E: Pakettia libpulse-dev ei löydy
    E: Pakettia freetds-dev ei löydy
    E: Package 'libsqlite0-dev' has no installation candidate
    E: Pakettia libiodbc2-dev ei löydy
    E: Package 'libjpeg62-dev' has no installation candidate
    E: Pakettia libgst-dev ei löydy
    E: Pakettia libxcb-keysyms1-dev ei löydy
    E: Pakettia libxcb-image0-dev ei löydy
    E: Pakettia libxcb-icccm4-dev ei löydy
    E: Pakettia libxcb-render-util0-dev ei löydy
    E: Package 'libdrm-dev' has no installation candidate

    What is new packages?

    1 Reply Last reply
    0
    • N Offline
      N Offline
      nikohal
      wrote on last edited by
      #10

      In raspberry pi I get this interesing error when I run config.
      eam.o qxmlutils.o qlogging.o qjson.o qjsondocument.o qjsonparser.o qjsonarray.o qjsonobject.o qjsonvalue.o qfilesystemengine_unix.o qfilesystemiterator_unix.o qfsfileengine_unix.o qlocale_unix.o -Wl,--gc-sections
      unixmake2.o: tiedostoa ei ole tunnistettu: Tiedosto typistetty (the file is not recognized: File truncated)
      collect2: ld returned 1 exit status
      Makefile:139: recipe for target '/home/pi/opt/qt5/qtbase/bin/qmake' failed
      make: *** [/home/pi/opt/qt5/qtbase/bin/qmake] Error 1

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

        Did you started from a clean state ?

        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
        • N Offline
          N Offline
          nikohal
          wrote on last edited by
          #12

          Yes I make new clone from repository. But now I get this error:

          g++ -c -include .pch/Qt5PrintSupport -pipe -O2 -fvisibility=hidden -fvisibility-inlines-hidden -std=c++0x -fno-exceptions -Wall -W -D_REENTRANT -fPIC -DQT_NO_MTDEV -DQT_NO_XKB -DQT_NO_USING_NAMESPACE -DQT_BUILD_PRINTSUPPORT_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_NO_EXCEPTIONS -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I. -I../../include -I../../include/QtPrintSupport -I../../include/QtPrintSupport/5.4.2 -I../../include/QtPrintSupport/5.4.2/QtPrintSupport -Iwidgets -I../plugins/printsupport/cups -Idialogs -I../../include/QtCore/5.4.2 -I../../include/QtCore/5.4.2/QtCore -I../../include/QtGui/5.4.2 -I../../include/QtGui/5.4.2/QtGui -I../../include/QtWidgets/5.4.2 -I../../include/QtWidgets/5.4.2/QtWidgets -I../../include/QtWidgets -I../../include/QtGui -I../../include/QtCore -I.moc -I.uic -I../../mkspecs/linux-g++ -o .obj/qpaintengine_alpha.o kernel/qpaintengine_alpha.cpp

          g++: internal compiler error: Segmentation fault (program cc1plus)
          Please submit a full bug report,
          with preprocessed source if appropriate.
          See <file:///usr/share/doc/gcc-4.6/README.Bugs> for instructions.
          Makefile:5277: recipe for target '.obj/qpaintengine_alpha.o' failed
          make[3]: *** [.obj/qpaintengine_alpha.o] Error 4
          make[3]: Leaving directory '/home/pi/opt/qt5/qtbase/src/printsupport'
          Makefile:551: recipe for target 'sub-printsupport-make_first' failed
          make[2]: *** [sub-printsupport-make_first] Error 2
          make[2]: Leaving directory '/home/pi/opt/qt5/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/opt/qt5/qtbase'
          Makefile:58: recipe for target 'module-qtbase-make_first' failed
          make: *** [module-qtbase-make_first] Error 2

          1 Reply Last reply
          0
          • N Offline
            N Offline
            nikohal
            wrote on last edited by
            #13

            Or I clone wrong version?

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

              AFAIK no, does it always fail at that point ?

              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
              • N Offline
                N Offline
                nikohal
                wrote on last edited by
                #15

                Not, now it's clean copy of qt from git. config goes ok, but crash this error. What I need to do?

                Regards, Niko H.

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

                  Just to be sure, we are still talking about a native build on the Raspberry Pi ?

                  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
                  • N Offline
                    N Offline
                    nikohal
                    wrote on last edited by
                    #17

                    Yes native build.

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

                      Then you should check the "bug report system":http://bugreports.qt.io to see if it's something known

                      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

                      • Login

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