Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt Creator and other tools
  4. Setting up a raspberry for remote development for running an application
Forum Updated to NodeBB v4.3 + New Features

Setting up a raspberry for remote development for running an application

Scheduled Pinned Locked Moved Solved Qt Creator and other tools
14 Posts 4 Posters 1.9k Views 4 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.
  • K Offline
    K Offline
    K-Str
    wrote on 12 Sept 2018, 15:38 last edited by K-Str 9 Dec 2018, 17:09
    #1

    Hello to all,
    I worked with QT-Creator on my UBUNTU PC very well.
    But now I crashed my LCD screen an I do not get a new identical one.
    I bought a new on and now I try to run my application on a new installed Raspberry.
    Now my real problem:
    What must I setup on the Raspberry to run and debug the application without any errors.
    Now I see the listening on port 10000
    Remote debugging from host 192.168.180.26
    Process /home/pi/Teleskop created; pid = 2187
    Here I got more information:
    When I run it on a Terminal
    pi@raspberrypi:~ $ ./TestL-Kuman-CD
    ./TestL-Kuman-CD: /usr/lib/arm-linux-gnueabihf/libQt5Core.so.5: no version information available (required by ./TestL-Kuman-CD)
    ./TestL-Kuman-CD: /usr/lib/arm-linux-gnueabihf/libQt5Widgets.so.5: no version information available (required by ./TestL-Kuman-CD)
    QXcbConnection: Could not connect to display
    Aborted

    Thats it.
    I think i must configure the raspberry.
    Please can you give me a hint what to do
    Thanks
    Kirt

    1 Reply Last reply
    0
    • K Offline
      K Offline
      K-Str
      wrote on 12 Sept 2018, 17:25 last edited by K-Str 9 Dec 2018, 17:25
      #2

      Hello again,
      I found out that I have possibly a wrong version of QT. It is
      Qt Creator 4.5.0
      Based on Qt 5.10.0 (GCC 5.3.1 20160406 (Red Hat 5.3.1-6), 64 bit)

      Built on Dec 4 2017 04:11:21

      From revision fcea6ceba6
      Is this correct?
      Thanks
      Kurt

      1 Reply Last reply
      0
      • S Offline
        S Offline
        SGaist
        Lifetime Qt Champion
        wrote on 12 Sept 2018, 21:44 last edited by
        #3

        Hi,

        No, the Qt version used to build Qt Creator has nothing to do with the version you are using to build your application.

        Is your current RPi configured the same way as the other one ?

        Interested in AI ? www.idiap.ch
        Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

        1 Reply Last reply
        1
        • K Offline
          K Offline
          K-Str
          wrote on 14 Sept 2018, 18:19 last edited by
          #4

          Hi,
          thanks for your answer.
          I think I have to rebuild the rpi configuration.
          But is it possible to make it on a windows PC? And how can I setup the qt version? I can not find a qmake*.exe.
          Kurt

          1 Reply Last reply
          0
          • S Offline
            S Offline
            SGaist
            Lifetime Qt Champion
            wrote on 14 Sept 2018, 21:33 last edited by
            #5

            It should be possible to do on a Windows machine however it's way harder. You should then consider using a virtual machine with Linux running on it.

            @K-Str said in Setting up a raspberry for remote development for running an application:

            And how can I setup the qt version?

            What do you mean ?

            Interested in AI ? www.idiap.ch
            Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

            1 Reply Last reply
            0
            • K Offline
              K Offline
              K-Str
              wrote on 15 Sept 2018, 08:47 last edited by K-Str
              #6

              Hello SGaist,
              thanks for your answer!
              I have a basic question:
              what about
              Qt Creator 4.7.0
              Based on Qt 5.11.1 (MSVC 2015, 32 bit)

              Erstellt am Jul 17 2018 04:27:33

              Revision dedbb40f57
              It seems it doeas not support a raspberry device. It says:
              "The compiler RPI C++... cannot create a code for the Qt-Version "Qt5.11.1 ..."
              See attached picture!
              0_1536994006865_QT Kits.JPG
              What does it mean Qt-Version 5.1.11.1 (Raspberry) (x86-windows-mysys-pe-32bit)?

              1 Reply Last reply
              0
              • S Offline
                S Offline
                SGaist
                Lifetime Qt Champion
                wrote on 15 Sept 2018, 21:53 last edited by
                #7

                Did you cross-compile Qt already ?

                Interested in AI ? www.idiap.ch
                Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

                1 Reply Last reply
                0
                • K Offline
                  K Offline
                  K-Str
                  wrote on 16 Sept 2018, 12:36 last edited by K-Str
                  #8

                  Hi SGaist,
                  yes and it worked fine.
                  But now I got a new LCD display and I need to change something because the graphic driver on the Raspberry have changed.
                  I got a new image for the Raspberry.
                  I need to know how to change the tool-chain on a host and raspberry.
                  Kurt

                  1 Reply Last reply
                  0
                  • S Offline
                    S Offline
                    SGaist
                    Lifetime Qt Champion
                    wrote on 16 Sept 2018, 21:07 last edited by
                    #9

                    What exactly did change ?

                    A graphic driver change doesn't imply a full toolchain change more likely a re-build of the Qt backend used for your application.

                    Interested in AI ? www.idiap.ch
                    Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

                    1 Reply Last reply
                    0
                    • K Offline
                      K Offline
                      K-Str
                      wrote on 16 Sept 2018, 21:53 last edited by K-Str
                      #10

                      Hi SGaist,
                      I got a new LCD screen. The old one used a HDMI interface and the new one uses SPI ports.
                      What does it mean "re-build of the Qt backend"? Where can I find a description for such a work?

                      1 Reply Last reply
                      0
                      • sneubertS Offline
                        sneubertS Offline
                        sneubert
                        wrote on 17 Sept 2018, 08:59 last edited by
                        #11

                        Due to the nature of the brcm chip on the raspberry one can not use the eglfs platform plugin with spi displays. You have to use linuxfb or run something to mirrow the hdmi out to the framebuffer of your spi display. Didn´t we talked about this some time ago?

                        1 Reply Last reply
                        2
                        • K Offline
                          K Offline
                          K-Str
                          wrote on 17 Sept 2018, 17:27 last edited by
                          #12

                          Hello sneubert,
                          thanks for your hint!
                          Yes we talked about this and I didn'remember.
                          But it seems it works.
                          Thank you to everybody else!
                          Kurt

                          Pablo J. RoginaP 1 Reply Last reply 17 Sept 2018, 17:58
                          0
                          • K K-Str
                            17 Sept 2018, 17:27

                            Hello sneubert,
                            thanks for your hint!
                            Yes we talked about this and I didn'remember.
                            But it seems it works.
                            Thank you to everybody else!
                            Kurt

                            Pablo J. RoginaP Offline
                            Pablo J. RoginaP Offline
                            Pablo J. Rogina
                            wrote on 17 Sept 2018, 17:58 last edited by
                            #13

                            @K-Str if your issue is solved, please don't forget to mark your post as such! Thanks.

                            Upvote the answer(s) that helped you solve the issue
                            Use "Topic Tools" button to mark your post as Solved
                            Add screenshots via postimage.org
                            Don't ask support requests via chat/PM. Please use the forum so others can benefit from the solution in the future

                            1 Reply Last reply
                            0
                            • K Offline
                              K Offline
                              K-Str
                              wrote on 17 Sept 2018, 21:37 last edited by K-Str
                              #14

                              Hello,
                              sorry, but the real problem has not been solved because I still do not know how to setup qt5-creator on a Windows 10 PC. See my post above (3 days ago).
                              Maybe sombody has some experience with this problem.
                              Kurt

                              1 Reply Last reply
                              0

                              1/14

                              12 Sept 2018, 15:38

                              • Login

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