Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. Qt 5.4.1 and Raspberry 2
Forum Updated to NodeBB v4.3 + New Features

Qt 5.4.1 and Raspberry 2

Scheduled Pinned Locked Moved Mobile and Embedded
5 Posts 4 Posters 2.3k 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.
  • L Offline
    L Offline
    LongChair
    wrote on last edited by
    #1

    Raspberry Pi foundation started to ship PI2 this morning.

    It's using a BCM2836 chip embedding a Quad Core Cortex A7 processor.

    There is a raspberryPi "profile" to build qt from source on RPI.

    I was wondering if someone (maybe devs) could give some information on how to rebuild Qt 5.4 for RPI2 target ?

    Thanks,

    Lionel.

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

      Hi,

      You should rather ask this question on the "interest":http://lists.qt-project.org/mailman/listinfo/interest mailing list. You'll find there Qt's developers/maintainers (this forum is more user oriented)

      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
      • sierdzioS Offline
        sierdzioS Offline
        sierdzio
        Moderators
        wrote on last edited by
        #3

        The hardware is almost the same, and the foundation claims the CPU is compatible. So the instructions for rPi 1 should also work for the new rPi 2.

        (Z(:^

        1 Reply Last reply
        0
        • A Offline
          A Offline
          agocs
          wrote on last edited by
          #4

          You will want to change the compiler flags in mkspecs/devices/linux-rasp-pi-g++ to get properly optimized code. Everything else, including the EGL/OpenGL integration, should be the same.

          In the future we will need to introduce a new device mkspec for the Pi 2.

          1 Reply Last reply
          0
          • L Offline
            L Offline
            LongChair
            wrote on last edited by
            #5

            agocs : i tried this and switched the compilation flags to :

            @-marm -mfpu=neon -mtune=cortex-a7 -march=armv7-a -mabi=aapcs-linux
            @
            The build made it thru. Some qt samples work fine, but i'm encountering issues with the QML webview.

            For some reason it doesnt load at all. I also checked some samples using it like flickrview and the whole app starts fine but the WebView area is desperately black.

            the only log i'm getting from commandline is :

            @QML debugging is enabled. Only use this in a safe environment.
            Failed to start " "QtWebProcess" 15"@

            any clue is welcome :)

            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