Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. How to use Qt's example project as a Bike Dashboard?
QtWS25 Last Chance

How to use Qt's example project as a Bike Dashboard?

Scheduled Pinned Locked Moved Unsolved General and Desktop
2 Posts 2 Posters 1.0k 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.
  • M Offline
    M Offline
    malayil
    wrote on 17 Sept 2022, 11:02 last edited by
    #1

    I'm trying out qt to build a Dashboard for a electric scooter that which I am building. I found this (https://doc.qt.io/qtdesignstudio/qtdesignstudio-ebikedesign-example.html) neat dasboard on the internet and would like someone to walk me through how all can I proceed with this.
    Most of the features that I need is already present in the above mentioned project.
    I accessed that project in Designer Studio Community Edition in where this project was present as an Example.
    I hoping to deploy this application to a raspberry pi with a touch display which would be present on our bike.
    The problems that I would like to get solved are:

    1. Is it possible to connect my sensor data's to this application? If so, how?
    2. How should I build the qt project so that I should be able to run it on the raspberry pi and the project should boot first when the system boots.

    Any help would be greatly beneficial.

    Reference:
    https://doc.qt.io/qtdesignstudio/studioexamples.html
    https://doc.qt.io/qtdesignstudio/qtdesignstudio-ebikedesign-example.html

    Image References
    0caf92b7-0b73-42a1-b003-4c26d4e6f064-image.png
    24a5ec4c-92e2-40b3-b4f6-84da69741a13-image.png

    1 Reply Last reply
    0
    • J Offline
      J Offline
      Jarko Vihriala
      wrote on 19 Sept 2022, 09:31 last edited by
      #2

      Hey!
      Awesome project you have going on there. Let me guide you a bit forward.
      For using Qt Design Studio with Raspberry you have couple options, you can use Qt Creator and run a B2Qt image (commercial option) on it or you can get going by installing Qt development environment on RaspOS (formerly Raspbian). It sounds a bit complex but it can be done.
      After you have the toolchain running, you can run & deploy your application from Qt Creator at least to the target. How to get started is described here: https://wiki.qt.io/Raspberry_Pi_Beginners_Guide

      All right, so if you have exported the UI project and compiled it with Qt Creator, you are already quite far but what is missing is - the backend. Qt Design Studio is UI composition tool, meaning you can do functional UI but not the backend. What you need to do next is to build the backend that deals with the sensors and once you have it, tie that up with the properties, signals and slots of the UI layer.

      Let me know if this helps you!

      1 Reply Last reply
      1

      1/2

      17 Sept 2022, 11:02

      • Login

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