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. How to isolate my Qt program in raspberry pi!?
Forum Updated to NodeBB v4.3 + New Features

How to isolate my Qt program in raspberry pi!?

Scheduled Pinned Locked Moved Unsolved Mobile and Embedded
28 Posts 4 Posters 4.7k Views 5 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.
  • jsulmJ jsulm

    @MAthias_Va What is running on your device? Raspbian?

    M Offline
    M Offline
    MAthias_Va
    wrote on last edited by
    #9

    @jsulm yes Raspbian Stretch

    jsulmJ 1 Reply Last reply
    0
    • M MAthias_Va

      @jsulm yes Raspbian Stretch

      jsulmJ Online
      jsulmJ Online
      jsulm
      Lifetime Qt Champion
      wrote on last edited by
      #10

      @MAthias_Va And what is your desktop environment (is it a standard Raspbian set-up?)?

      https://forum.qt.io/topic/113070/qt-code-of-conduct

      M 1 Reply Last reply
      0
      • jsulmJ jsulm

        @MAthias_Va And what is your desktop environment (is it a standard Raspbian set-up?)?

        M Offline
        M Offline
        MAthias_Va
        wrote on last edited by
        #11

        @jsulm yes I never Change it

        jsulmJ 1 Reply Last reply
        0
        • M MAthias_Va

          @jsulm yes I never Change it

          jsulmJ Online
          jsulmJ Online
          jsulm
          Lifetime Qt Champion
          wrote on last edited by
          #12

          @MAthias_Va Then it is X11. What display do you use?

          https://forum.qt.io/topic/113070/qt-code-of-conduct

          M 1 Reply Last reply
          0
          • jsulmJ jsulm

            @MAthias_Va Then it is X11. What display do you use?

            M Offline
            M Offline
            MAthias_Va
            wrote on last edited by
            #13

            @jsulm I use the standard Touch display supplied with Raspberry board

            jsulmJ 1 Reply Last reply
            0
            • M MAthias_Va

              @jsulm I use the standard Touch display supplied with Raspberry board

              jsulmJ Online
              jsulmJ Online
              jsulm
              Lifetime Qt Champion
              wrote on last edited by
              #14

              @MAthias_Va Did you try any other Qt based app like VLC?
              What Qt version do you use?

              https://forum.qt.io/topic/113070/qt-code-of-conduct

              M 1 Reply Last reply
              0
              • jsulmJ jsulm

                @MAthias_Va Did you try any other Qt based app like VLC?
                What Qt version do you use?

                M Offline
                M Offline
                MAthias_Va
                wrote on last edited by
                #15

                @jsulm VLC, no I didn't! I use Qt5.10.1

                jsulmJ 1 Reply Last reply
                0
                • M MAthias_Va

                  @jsulm VLC, no I didn't! I use Qt5.10.1

                  jsulmJ Online
                  jsulmJ Online
                  jsulm
                  Lifetime Qt Champion
                  wrote on last edited by
                  #16

                  @MAthias_Va said in How to isolate my Qt program in raspberry pi!?:

                  I use Qt5.10.1

                  Is it the one provided by Raspbian?

                  https://forum.qt.io/topic/113070/qt-code-of-conduct

                  M 1 Reply Last reply
                  0
                  • jsulmJ jsulm

                    @MAthias_Va said in How to isolate my Qt program in raspberry pi!?:

                    I use Qt5.10.1

                    Is it the one provided by Raspbian?

                    M Offline
                    M Offline
                    MAthias_Va
                    wrote on last edited by
                    #17

                    @jsulm No I didn't install Qt in my Raspberry

                    jsulmJ 1 Reply Last reply
                    0
                    • M MAthias_Va

                      @jsulm No I didn't install Qt in my Raspberry

                      jsulmJ Online
                      jsulmJ Online
                      jsulm
                      Lifetime Qt Champion
                      wrote on last edited by
                      #18

                      @MAthias_Va Then I guess you're doing cross compilation with cross compiled Qt?
                      You could try this: install Qt and Qt-dev packages from Raspbian on your device and build your app there. Then try to run it to see whether it behaves in same way or not.

                      https://forum.qt.io/topic/113070/qt-code-of-conduct

                      M 2 Replies Last reply
                      0
                      • jsulmJ jsulm

                        @MAthias_Va Then I guess you're doing cross compilation with cross compiled Qt?
                        You could try this: install Qt and Qt-dev packages from Raspbian on your device and build your app there. Then try to run it to see whether it behaves in same way or not.

                        M Offline
                        M Offline
                        MAthias_Va
                        wrote on last edited by
                        #19

                        @jsulm Ok I will, thanks

                        1 Reply Last reply
                        0
                        • jsulmJ jsulm

                          @MAthias_Va Then I guess you're doing cross compilation with cross compiled Qt?
                          You could try this: install Qt and Qt-dev packages from Raspbian on your device and build your app there. Then try to run it to see whether it behaves in same way or not.

                          M Offline
                          M Offline
                          MAthias_Va
                          wrote on last edited by
                          #20

                          @jsulm said in How to isolate my Qt program in raspberry pi!?:

                          what do you mean with:

                          and build your app there

                          Do mean the destination folder where I sent the compiled file should be there!

                          jsulmJ 1 Reply Last reply
                          0
                          • M MAthias_Va

                            @jsulm said in How to isolate my Qt program in raspberry pi!?:

                            what do you mean with:

                            and build your app there

                            Do mean the destination folder where I sent the compiled file should be there!

                            jsulmJ Online
                            jsulmJ Online
                            jsulm
                            Lifetime Qt Champion
                            wrote on last edited by
                            #21

                            @MAthias_Va No, I mean build your app directly on your device

                            https://forum.qt.io/topic/113070/qt-code-of-conduct

                            1 Reply Last reply
                            0
                            • M Offline
                              M Offline
                              MAthias_Va
                              wrote on last edited by
                              #22

                              So I Installed Qt Creator using this commands on my Raspberry:

                              sudo apt-get install qt4-dev-tools
                              sudo apt-get install qt5-default
                              sudo apt-get install qtcreator
                              

                              I build a simple program on it to open an ApplicationWindow, but I didn't get the same problem on this case!!

                              I couldn't build my same program with Qt installed on my raspberry as it is older version than I use on PC!

                              Any Advice?

                              jsulmJ 1 Reply Last reply
                              0
                              • M MAthias_Va

                                So I Installed Qt Creator using this commands on my Raspberry:

                                sudo apt-get install qt4-dev-tools
                                sudo apt-get install qt5-default
                                sudo apt-get install qtcreator
                                

                                I build a simple program on it to open an ApplicationWindow, but I didn't get the same problem on this case!!

                                I couldn't build my same program with Qt installed on my raspberry as it is older version than I use on PC!

                                Any Advice?

                                jsulmJ Online
                                jsulmJ Online
                                jsulm
                                Lifetime Qt Champion
                                wrote on last edited by
                                #23

                                @MAthias_Va said in How to isolate my Qt program in raspberry pi!?:

                                qt4-dev-tools

                                This is for Qt4. I guess you want to use Qt5? Then install the Qt5 version.

                                https://forum.qt.io/topic/113070/qt-code-of-conduct

                                M 1 Reply Last reply
                                1
                                • jsulmJ jsulm

                                  @MAthias_Va said in How to isolate my Qt program in raspberry pi!?:

                                  qt4-dev-tools

                                  This is for Qt4. I guess you want to use Qt5? Then install the Qt5 version.

                                  M Offline
                                  M Offline
                                  MAthias_Va
                                  wrote on last edited by
                                  #24

                                  @jsulm on My Raspberry now I have Qt5.7.1

                                  jsulmJ 1 Reply Last reply
                                  0
                                  • M MAthias_Va

                                    @jsulm on My Raspberry now I have Qt5.7.1

                                    jsulmJ Online
                                    jsulmJ Online
                                    jsulm
                                    Lifetime Qt Champion
                                    wrote on last edited by
                                    #25

                                    @MAthias_Va And does your app build now? If not - do you use Qt5 Kit?

                                    https://forum.qt.io/topic/113070/qt-code-of-conduct

                                    M 1 Reply Last reply
                                    0
                                    • jsulmJ jsulm

                                      @MAthias_Va And does your app build now? If not - do you use Qt5 Kit?

                                      M Offline
                                      M Offline
                                      MAthias_Va
                                      wrote on last edited by MAthias_Va
                                      #26

                                      @jsulm yes it is! I can build with it

                                      alt text

                                      1 Reply Last reply
                                      0
                                      • M Offline
                                        M Offline
                                        MAthias_Va
                                        wrote on last edited by
                                        #27

                                        It looks like I am not the only one faced this problem!

                                        I found this similar situation https://www.qtcentre.org/threads/68141-Using-touch-screen-affects-both-qt-application-and-desktop

                                        and there it say I might avoid it by not showing the desktop :)

                                        1 Reply Last reply
                                        0
                                        • O Offline
                                          O Offline
                                          oniongarlic
                                          wrote on last edited by
                                          #28

                                          If you built Qt for Raspberry it will default to eglfs platform plugin.
                                          Try starting your app with the "-platform xcb" parameter to use the X11 platform if you are running your app from X.

                                          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