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 cross compile for Raspbian Jessie
Forum Updated to NodeBB v4.3 + New Features

Qt cross compile for Raspbian Jessie

Scheduled Pinned Locked Moved Solved QtonPi
raspberrycross compilejessie
23 Posts 2 Posters 10.2k 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.
  • S SGaist
    3 Nov 2015, 22:23

    That looks correct, do you have the configure summary ?

    V Offline
    V Offline
    vish
    wrote on 3 Nov 2015, 22:29 last edited by
    #12

    @SGaist

    Configure summary

    Building on: linux-g++ (x86_64, CPU features: mmx sse sse2)
    Building for: devices/linux-rasp-pi-g++ (arm, CPU features: none detected)
    Platform notes:

            - Also available for Linux: linux-clang linux-kcc linux-icc linux-cxx
    

    Build options:
    Configuration .......... accessibility audio-backend c++11 clock-gettime clock-monotonic compile_examples concurrent cross_compile dbus egl eglfs eglfs_brcm enable_new_dtags evdev eventfd freetype full-config getaddrinfo getifaddrs harfbuzz iconv inotify ipv6ifname large-config largefile linuxfb medium-config minimal-config mremap nis opengl opengles2 pcre png posix_fallocate precompile_header qpa qpa reduce_exports release rpath shared small-config system-png system-zlib threadsafe-cloexec
    Build parts ............ libs
    Mode ................... release
    Using sanitizer(s)...... none
    Using C++ standard ..... c++11
    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 (bundled copy)
    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)
    libinput................ no
    Logging backends:
    journald ............... no
    syslog ............... no
    mtdev .................. no
    Networking:
    getaddrinfo .......... yes
    getifaddrs ........... yes
    IPv6 ifname .......... yes
    libproxy.............. no
    OpenSSL .............. no
    NIS .................... yes
    OpenGL / OpenVG:
    EGL .................. yes
    OpenGL ............... yes (OpenGL ES 2.0+)
    OpenVG ............... no
    PCRE ................... yes (bundled copy)
    pkg-config ............. yes
    PulseAudio ............. no
    QPA backends:
    DirectFB ............. no
    EGLFS ................ yes
    EGLFS i.MX6....... . no
    EGLFS KMS .......... no
    EGLFS Mali ......... no
    EGLFS Raspberry Pi . yes
    EGLFS X11 .......... no
    LinuxFB .............. yes
    Mir client............ no
    XCB .................. no
    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........... no
    xkbcommon-evdev......... no
    zlib ................... yes (system library)

    NOTE: Qt is using double for qreal on this system. This is binary incompatible against Qt 5.1.
    Configure with '-qreal float' to create a build that is binary compatible with 5.1.

    Development is possible at any level.

    1 Reply Last reply
    0
    • S Offline
      S Offline
      SGaist
      Lifetime Qt Champion
      wrote on 3 Nov 2015, 22:33 last edited by
      #13

      Looks good…

      Might be a glitch when you ran make install

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

      V 1 Reply Last reply 7 Nov 2015, 06:39
      0
      • S SGaist
        3 Nov 2015, 22:33

        Looks good…

        Might be a glitch when you ran make install

        V Offline
        V Offline
        vish
        wrote on 7 Nov 2015, 06:39 last edited by
        #14

        @SGaist I tries some stuff but not able to fix it. Can u guide me how to fix this and wht could be reason for this ??

        Development is possible at any level.

        1 Reply Last reply
        0
        • S Offline
          S Offline
          SGaist
          Lifetime Qt Champion
          wrote on 7 Nov 2015, 21:15 last edited by
          #15

          Well, basically and if I understood you correctly, you are able to cross-compile without any problem, correct ? When calling make install did you have the root file system of the Pi mounted correctly ?

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

          V 1 Reply Last reply 8 Nov 2015, 07:04
          0
          • S SGaist
            7 Nov 2015, 21:15

            Well, basically and if I understood you correctly, you are able to cross-compile without any problem, correct ? When calling make install did you have the root file system of the Pi mounted correctly ?

            V Offline
            V Offline
            vish
            wrote on 8 Nov 2015, 07:04 last edited by vish 11 Aug 2015, 07:05
            #16

            @SGaist I checked install log properly it should make QtWidget, QtPlateformHeaders, QtPlateformSupport, QtTest, QtOpenGL, QtPrintSupport, QtConcurrent, QtCore, QtDBus, QtGui, QtNetwork , QtPositioning, QtScript, QtSensors, QtSql , QtXml , QtXmlPatterns folders. But after finishing installation i m getting only QtConcurrent, QtCore, QtDBus, QtGui, QtNetwork , QtPositioning, QtScript, QtSensors, QtSql , QtXml , QtXmlPatterns folders in my install and similar in lib directory. So it cant install QtWidget, QtPlateformHeaders, QtPlateformSupport, QtTest, QtOpenGL, QtPrintSupport modules. I did nt find anything unusual in log.

            Development is possible at any level.

            1 Reply Last reply
            0
            • S Offline
              S Offline
              SGaist
              Lifetime Qt Champion
              wrote on 8 Nov 2015, 21:14 last edited by
              #17

              Did you build only qtbase or all of Qt ?

              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
              • V Offline
                V Offline
                vish
                wrote on 8 Nov 2015, 21:21 last edited by
                #18

                well according to https://wiki.qt.io/RaspberryPi_Beginners_Guide i have to build and install qtbase and than other modules. So I could not finish this step and I am blocked.

                Development is possible at any level.

                1 Reply Last reply
                0
                • S Offline
                  S Offline
                  SGaist
                  Lifetime Qt Champion
                  wrote on 8 Nov 2015, 21:30 last edited by
                  #19

                  That's correct. Do you have libQtWidget.so somewhere in your build folder ?

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

                  V 1 Reply Last reply 8 Nov 2015, 21:37
                  0
                  • S SGaist
                    8 Nov 2015, 21:30

                    That's correct. Do you have libQtWidget.so somewhere in your build folder ?

                    V Offline
                    V Offline
                    vish
                    wrote on 8 Nov 2015, 21:37 last edited by
                    #20

                    @SGaist Nope...

                    Development is possible at any level.

                    1 Reply Last reply
                    0
                    • S Offline
                      S Offline
                      SGaist
                      Lifetime Qt Champion
                      wrote on 8 Nov 2015, 22:05 last edited by
                      #21

                      That one's really puzzling…

                      What happens if you call make -C src/widgets in your builder ?

                      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
                      • V Offline
                        V Offline
                        vish
                        wrote on 9 Nov 2015, 21:46 last edited by
                        #22

                        Hi @SGaist ,
                        I dont know what exactly was the problem. But I re cloned repo and than tried all steps and it works as expected. Could be a problem of broken download. But it neither gave me any unexpected error message not it failed. :P
                        But now i m happy tht i wll have kernel 4.1 with qt in my pi.. thanks for your time and support man.

                        Development is possible at any level.

                        1 Reply Last reply
                        0
                        • S Offline
                          S Offline
                          SGaist
                          Lifetime Qt Champion
                          wrote on 9 Nov 2015, 22:02 last edited by
                          #23

                          Well, that was a good idea !

                          You're welcome !

                          Since you have it working now, please mark the thread as solved using the "Topic Tool" button so other forum users may know a solution has been found :)

                          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

                          21/23

                          8 Nov 2015, 22:05

                          • Login

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