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 + RaspberryPi Compile issues
Forum Updated to NodeBB v4.3 + New Features

Qt + RaspberryPi Compile issues

Scheduled Pinned Locked Moved Solved QtonPi
4 Posts 3 Posters 1.7k Views 3 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.
  • ? Offline
    ? Offline
    A Former User
    wrote on last edited by A Former User
    #1

    Hi,

    My friend is working on a Pi project and he found some issues on cross compiling Qt5 with raspberry pi. The issues are added below. Any help is really appreciated.

    1). After referring this guide http://wiki.qt.io/Raspberrypi_beginners_guide, I was able to deploy my project on raspberry but i am not able to see GUI on my PC. Then i connect raspberry pi with TV through HDMI and there i am able to see the GUI. So does that mean GUI will only display on separate connected TV or i have done something wrong step?

    2). The "websocket" project builds successfully on DESKTOP KIT. But when i select my RASPBERRY KIT, it shows error like 'no websocket module'.

    3). Using 'wiringPi' library with Qt deploys successfully to Raspberrypi, but it shows run time error like: "wiringPi must be root", So is there any way to run my qt project with root privilege ?

    Thanks in advance
    Ansif

    1 Reply Last reply
    0
    • sneubertS Offline
      sneubertS Offline
      sneubert
      wrote on last edited by
      #2

      Hi ansispi,

      1.) You haven´t done something wrong. The deployed application is running on your pi and therfore not displayed on your pc.

      2.) It seems you didn´t configure / compile the websocket modul.

      3.) You can change the deployment configuration of your projects to run your application with sudo. The default pi user is in root group.

      ? 1 Reply Last reply
      1
      • sneubertS sneubert

        Hi ansispi,

        1.) You haven´t done something wrong. The deployed application is running on your pi and therfore not displayed on your pc.

        2.) It seems you didn´t configure / compile the websocket modul.

        3.) You can change the deployment configuration of your projects to run your application with sudo. The default pi user is in root group.

        ? Offline
        ? Offline
        A Former User
        wrote on last edited by
        #3

        @sneubert

        Thanks for that. Let me check with my friend, I hope this will solve his problem.

        Regards
        Ansif

        1 Reply Last reply
        0
        • mrdebugM Offline
          mrdebugM Offline
          mrdebug
          wrote on last edited by
          #4

          Hi, I suggest you to use pigpio instead of wiringpi. You can run an application on raspberry with ssh -X and sudo.

          Need programmers to hire?
          www.labcsp.com
          www.denisgottardello.it
          GMT+1
          Skype: mrdebug

          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