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

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 16 Jun 2019, 16:14 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 S 2 Replies Last reply 17 Jun 2019, 07:54
    0
    • A alizadeh91
      16 Jun 2019, 16:14

      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 17 Jun 2019, 07:54 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 17 Jun 2019, 08:07
      0
      • K koahnig
        17 Jun 2019, 07:54

        @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 17 Jun 2019, 08:07 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 17 Jun 2019, 08:18
        0
        • A alizadeh91
          17 Jun 2019, 08:07

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

          K Offline
          K Offline
          koahnig
          wrote on 17 Jun 2019, 08:18 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 17 Jun 2019, 09:14
          0
          • K koahnig
            17 Jun 2019, 08:18

            @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 17 Jun 2019, 09:14 last edited by
            #5

            @koahnig Raspbian Stretch

            1 Reply Last reply
            0
            • A alizadeh91
              16 Jun 2019, 16:14

              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.

              S Offline
              S Offline
              sneubert
              wrote on 17 Jun 2019, 09:58 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 17 Jun 2019, 16:16
              4
              • S sneubert
                17 Jun 2019, 09:58

                @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 17 Jun 2019, 16:16 last edited by
                #7

                @sneubert Thanks :)

                1 Reply Last reply
                0

                2/7

                17 Jun 2019, 07:54

                topic:navigator.unread, 5
                • Login

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