Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

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

    Mobile and Embedded
    qt5.12.x cross compile raspberry pi 3 ubuntu remote debuggin
    3
    7
    716
    Loading More Posts
    • 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
      alizadeh91 last edited by

      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 sneubert 2 Replies Last reply Reply Quote 0
      • K
        koahnig @alizadeh91 last edited by

        @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 Reply Quote 0
        • A
          alizadeh91 @koahnig last edited by

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

          K 1 Reply Last reply Reply Quote 0
          • K
            koahnig @alizadeh91 last edited by

            @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 Reply Quote 0
            • A
              alizadeh91 @koahnig last edited by

              @koahnig Raspbian Stretch

              1 Reply Last reply Reply Quote 0
              • sneubert
                sneubert @alizadeh91 last edited by

                @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 Reply Quote 4
                • A
                  alizadeh91 @sneubert last edited by

                  @sneubert Thanks :)

                  1 Reply Last reply Reply Quote 0
                  • First post
                    Last post