Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. Cross compile dont gen QLabel and QPushbutton and Fontconfig pre-condition
Forum Updated to NodeBB v4.3 + New Features

Cross compile dont gen QLabel and QPushbutton and Fontconfig pre-condition

Scheduled Pinned Locked Moved Unsolved Installation and Deployment
52 Posts 3 Posters 19.9k Views 2 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.
  • C Offline
    C Offline
    CrazyCreepy
    wrote on last edited by
    #33

    they have other plugin but i didn't take it because i tougth that two plugin it's necessary to know if i use xcb,linuxFB or EGLFS or other. All other plugin seemeds to Qt object... Do you want the complete result or i need to check some specific plugin?

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #34

      You should check for the entries that start with loaded library, you'll have the information you seek.

      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
      • C CrazyCreepy

        if you are not root you need to add sudo :P tanks i try this

        jsulmJ Offline
        jsulmJ Offline
        jsulm
        Lifetime Qt Champion
        wrote on last edited by
        #35

        @CrazyCreepy said in Cross compile dont gen QLabel and QPushbutton and Fontconfig pre-condition:

        if you are not root you need to add sudo :P tanks i try this

        Sure. But the question was: why do you need to start your app as root?

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

        1 Reply Last reply
        0
        • C Offline
          C Offline
          CrazyCreepy
          wrote on last edited by CrazyCreepy
          #36

          thats all of load library i have found.

          loaded library "/usr/local/qt5/plugins/platforms/libqeglfs.so"
          loaded library "/usr/local/qt5/plugins/egldeviceintegrations/libqeglfs-brcm-integration.so"
          loaded library "/usr/local/qt5/plugins/imageformats/libqgif.so"
          loaded library "/usr/local/qt5/plugins/imageformats/libqicns.so"
          loaded library "/usr/local/qt5/plugins/imageformats/libqico.so"
          loaded library "/usr/local/qt5/plugins/imageformats/libqjpeg.so"
          loaded library "/usr/local/qt5/plugins/imageformats/libqsvg.so"
          loaded library "/usr/local/qt5/plugins/imageformats/libqtga.so"
          loaded library "/usr/local/qt5/plugins/imageformats/libqtiff.so"
          loaded library "/usr/local/qt5/plugins/imageformats/libqwbmp.so"
          loaded library "/usr/local/qt5/plugins/imageformats/libqwebp.so"

          so with this it's seem i use the eglfs backend. Now i can't tell if it's normal or not...

          and jslum in ancien projet on a raspberry pi i always need to need to be root to start a application ... so i tought it's always like this but it seems that isn't necessary.

          1 Reply Last reply
          0
          • SGaistS Offline
            SGaistS Offline
            SGaist
            Lifetime Qt Champion
            wrote on last edited by
            #37

            Ok, so it means no window manager.

            Can you post an image of what you are getting exactly on screen when running 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

            C 2 Replies Last reply
            0
            • SGaistS SGaist

              Ok, so it means no window manager.

              Can you post an image of what you are getting exactly on screen when running your application ?

              C Offline
              C Offline
              CrazyCreepy
              wrote on last edited by
              #38

              @SGaist this is what i get on my screen:
              alt text

              1 Reply Last reply
              0
              • SGaistS SGaist

                Ok, so it means no window manager.

                Can you post an image of what you are getting exactly on screen when running your application ?

                C Offline
                C Offline
                CrazyCreepy
                wrote on last edited by
                #39

                @SGaist so what this is mean?

                1 Reply Last reply
                0
                • SGaistS Offline
                  SGaistS Offline
                  SGaist
                  Lifetime Qt Champion
                  wrote on last edited by
                  #40

                  Firat thing, you won't have any window decoration. The EGLFS plugin only works in full screen mode.

                  Can you test the LinuxFB plugin ?

                  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
                  • C Offline
                    C Offline
                    CrazyCreepy
                    wrote on last edited by CrazyCreepy
                    #41

                    I have some new. I finally have the push button on my raspberry pi... but the label still missing. Some one give me a program that work correctly on another raspberry pi, but I have the same issue so think it's missing file on my rasp... but i don't understand why i use "apt-get install qt5-default" to install the lib....

                    how i do that? also all programme i run in full screen mod.

                    1 Reply Last reply
                    0
                    • SGaistS Offline
                      SGaistS Offline
                      SGaist
                      Lifetime Qt Champion
                      wrote on last edited by
                      #42

                      How are you positioning them ?

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

                      C 1 Reply Last reply
                      0
                      • SGaistS SGaist

                        How are you positioning them ?

                        C Offline
                        C Offline
                        CrazyCreepy
                        wrote on last edited by
                        #43

                        @SGaist positionning them? who is them? I'm confuse... and i don't know how i can test the linuxFB plugin...

                        jsulmJ 1 Reply Last reply
                        0
                        • C CrazyCreepy

                          @SGaist positionning them? who is them? I'm confuse... and i don't know how i can test the linuxFB plugin...

                          jsulmJ Offline
                          jsulmJ Offline
                          jsulm
                          Lifetime Qt Champion
                          wrote on last edited by
                          #44

                          @CrazyCreepy How do you position the widgets (label and button)? Do you use layouts?

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

                          C 1 Reply Last reply
                          0
                          • jsulmJ jsulm

                            @CrazyCreepy How do you position the widgets (label and button)? Do you use layouts?

                            C Offline
                            C Offline
                            CrazyCreepy
                            wrote on last edited by
                            #45

                            @jsulm no i juste use Qdesign and drag and drop.

                            1 Reply Last reply
                            0
                            • SGaistS Offline
                              SGaistS Offline
                              SGaist
                              Lifetime Qt Champion
                              wrote on last edited by
                              #46

                              Then you should put them in a layout in your main widget.

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

                              C 2 Replies Last reply
                              0
                              • SGaistS SGaist

                                Then you should put them in a layout in your main widget.

                                C Offline
                                C Offline
                                CrazyCreepy
                                wrote on last edited by
                                #47

                                @SGaist I never do that on windows and it's work.Also, the text on the pushboutton not appear and if i add a another widget like a jauge the pourcent doesn't appear... i try to uninstall qt5-default package and reinstall it, I have also upgrate all package, but it's not work.

                                1 Reply Last reply
                                0
                                • SGaistS SGaist

                                  Then you should put them in a layout in your main widget.

                                  C Offline
                                  C Offline
                                  CrazyCreepy
                                  wrote on last edited by CrazyCreepy
                                  #48

                                  @SGaist I run my program with this commande ./test -platform linuxfb. The result is i have some graphique bug like 2 curso one white and the second is black.If i pass the cursor on windows programs the icons of my task bar appear and the text is always missing. but it's not in full screen.

                                  look the picture:
                                  alt text

                                  1 Reply Last reply
                                  0
                                  • SGaistS Offline
                                    SGaistS Offline
                                    SGaist
                                    Lifetime Qt Champion
                                    wrote on last edited by
                                    #49

                                    Is it me or are you trying to run an application on the framebuffer while also having Xorg running ?

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

                                    C 1 Reply Last reply
                                    0
                                    • SGaistS SGaist

                                      Is it me or are you trying to run an application on the framebuffer while also having Xorg running ?

                                      C Offline
                                      C Offline
                                      CrazyCreepy
                                      wrote on last edited by
                                      #50

                                      @SGaist it's possible... i just follow a tutoriel to get a screenshot and they said enter startx and afther when i open my terminal i have lxterminal on it. i though it's normal and i didn't care about it. but if i run an application in the normale terminale it have the same result of the graphic bug.

                                      1 Reply Last reply
                                      0
                                      • C Offline
                                        C Offline
                                        CrazyCreepy
                                        wrote on last edited by
                                        #51

                                        I have finally solved the problem! to do that i take a another micro sd card with raspbian and i install qt5-default.

                                        1 Reply Last reply
                                        0
                                        • SGaistS Offline
                                          SGaistS Offline
                                          SGaist
                                          Lifetime Qt Champion
                                          wrote on last edited by
                                          #52

                                          Great :)

                                          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

                                          • Login

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