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 Creator builds and start running my cross compiled app (raspberry), but the app never shows up
QtWS25 Last Chance

Qt Creator builds and start running my cross compiled app (raspberry), but the app never shows up

Scheduled Pinned Locked Moved Solved Mobile and Embedded
qt5.12.xcross compileraspberry pi 3ubunturemote debuggin
7 Posts 3 Posters 1.3k 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.
  • A Offline
    A Offline
    alizadeh91
    wrote on last edited by
    #1

    I have cross compiled Qt5.12.3 on my Ubuntu machine for raspberry pi 3B+ as the target device. Everything is fine and my application is cross-compiled successfully.

    The issues is that after building the app, the app runs but never opens. The qt creator just shows this message: "Starting /home/pi/myApp..." but the app never shows up.

    It seems the application process is running on the target device. Also I can run the app from my rasp terminal. I think there should be some problem with displaying the app in my Ubuntu remotely.

    Any help will be appreciated. thanks.

    K sneubertS 2 Replies Last reply
    0
    • A alizadeh91

      I have cross compiled Qt5.12.3 on my Ubuntu machine for raspberry pi 3B+ as the target device. Everything is fine and my application is cross-compiled successfully.

      The issues is that after building the app, the app runs but never opens. The qt creator just shows this message: "Starting /home/pi/myApp..." but the app never shows up.

      It seems the application process is running on the target device. Also I can run the app from my rasp terminal. I think there should be some problem with displaying the app in my Ubuntu remotely.

      Any help will be appreciated. thanks.

      K Offline
      K Offline
      koahnig
      wrote on last edited by
      #2

      @alizadeh91

      When starting the application through Qt creator on your remote device, you should see at least some output in the application output window of creator. Do you see warnings or error messsages?

      Vote the answer(s) that helped you to solve your issue(s)

      A 1 Reply Last reply
      0
      • K koahnig

        @alizadeh91

        When starting the application through Qt creator on your remote device, you should see at least some output in the application output window of creator. Do you see warnings or error messsages?

        A Offline
        A Offline
        alizadeh91
        wrote on last edited by
        #3

        @koahnig No messages no warnings. The process starts but the GUI of the app is not showing.

        K 1 Reply Last reply
        0
        • A alizadeh91

          @koahnig No messages no warnings. The process starts but the GUI of the app is not showing.

          K Offline
          K Offline
          koahnig
          wrote on last edited by
          #4

          @alizadeh91

          I was playing around with RPi3 begin of year. IIRC there have been a response in the application window pointing towards issues with the OpenGL installation on RPi.
          Unfortunately I had stopped the trials because of other priorities. Therefore I do not know a cure yet.

          What OS build did you install on RPi?

          Vote the answer(s) that helped you to solve your issue(s)

          A 1 Reply Last reply
          0
          • K koahnig

            @alizadeh91

            I was playing around with RPi3 begin of year. IIRC there have been a response in the application window pointing towards issues with the OpenGL installation on RPi.
            Unfortunately I had stopped the trials because of other priorities. Therefore I do not know a cure yet.

            What OS build did you install on RPi?

            A Offline
            A Offline
            alizadeh91
            wrote on last edited by
            #5

            @koahnig Raspbian Stretch

            1 Reply Last reply
            0
            • A alizadeh91

              I have cross compiled Qt5.12.3 on my Ubuntu machine for raspberry pi 3B+ as the target device. Everything is fine and my application is cross-compiled successfully.

              The issues is that after building the app, the app runs but never opens. The qt creator just shows this message: "Starting /home/pi/myApp..." but the app never shows up.

              It seems the application process is running on the target device. Also I can run the app from my rasp terminal. I think there should be some problem with displaying the app in my Ubuntu remotely.

              Any help will be appreciated. thanks.

              sneubertS Offline
              sneubertS Offline
              sneubert
              wrote on last edited by
              #6

              @alizadeh91 said in Qt Creator builds and start running my cross compiled app (raspberry), but the app never shows up:

              I think there should be some problem with displaying the app in my Ubuntu remotely.

              Your app will output the ui to the rpi´s connected display. It won´t show up on your remote development device.

              A 1 Reply Last reply
              4
              • sneubertS sneubert

                @alizadeh91 said in Qt Creator builds and start running my cross compiled app (raspberry), but the app never shows up:

                I think there should be some problem with displaying the app in my Ubuntu remotely.

                Your app will output the ui to the rpi´s connected display. It won´t show up on your remote development device.

                A Offline
                A Offline
                alizadeh91
                wrote on last edited by
                #7

                @sneubert Thanks :)

                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