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-app embedded on Raspberry Pi (B+)
QtWS25 Last Chance

Qt-app embedded on Raspberry Pi (B+)

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

    I've been building my own media center in Qt/C++ which seems to run fine on my Mac and my Ubuntu machines.
    I'm primarily using QtWebKit.

    I've just bought a Raspberry Pi B+ and would love to get it on there.

    Googling around shows a lot of tutorials on compiling to the Pi on Raspbian and other distro's, but I would love to run the Qt-app embedded on the Raspberry Pi, so I'm only getting the actual Qt-app on there on not other operating system stuff... So the goal is to have a Pi booting into the Qt-app within seconds not showing anything else but the app (no boot messages, no operating system stuff, no nothing).

    I've been reading on the http://qt-project.org/doc/qt-5/embedded-linux.html site, but as I'm a complete newbee on the Raspberry Pi and on compiling my own kernel, toolchain etc. I would love to know if there exists some sort of tutorial, image or other guide to how I can achieve my goal?

    I'm not interested in rpi-buildroot, buildroot-rpi and other open source projects, as I would like to know how do this kind of stuff and know exactly (to some extend) what's compiled to my Pi.

    So, the goal is to get a Qt-app running embedded on the Pi with QtWebKit etc. being able to show HD video (via Webkit). The Qt-app I've got.

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

      Hi and welcome to devnet,

      You should still consider open-source projects like buildroot. With it you can start with a functional setup that you know works for the RPi and fiddle with it.

      Otherwise you'll have to first build the cross-tool chain (trust me, you don't want to do that), get the correct boot loader (with the correct parameters to load the kernel), kernel and correct kernel options (again, if you don't need to do that by trial and error, it's better) and then create the root filesystem which means cross-compiling every package and their dependencies by hand which is not always trivial.

      So while your goal is respectable, I'd recommend to not ignore what already exists. You will be able to learn from it without all the problems that might arise when starting from scratch.

      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
      • H Offline
        H Offline
        hensor
        wrote on last edited by
        #3

        Hello,

        Thank you very much for the answer.

        I've written it wrong. I'm OK with using buildroot (http://buildroot.uclibc.org/) and also do believe this is the way to go.
        But I've seen other open source projects which have changed buildroot for specific purposes, such as rpi-buildroot, buildroot-rpi and others. Those are the ones I'm "afraid" to use.

        I would love to create my own Raspberry Pi image by using original buildroot, Qt embedded, Webkit (or QtWebKit) and such.

        Just so I learn how to due it, but also can update Qt, buildroot, Linux distro independently in the future if nessecary.

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

          Don't be afraid, search what they modified, that might help you understand how things works faster.

          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
          • H Offline
            H Offline
            hensor
            wrote on last edited by
            #5

            I will and are trying to get a grasp of it.
            However I would love if there was some kind of tutorial walking me through the various steps on how do to it on my own.
            Ending up with a minimal install for my Qt-app.

            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