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.
  • SGaistS Offline
    SGaistS Offline
    SGaist
    Lifetime Qt Champion
    wrote on last edited by
    #17

    So this thread is solved ?

    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
      #18

      No because this is what i get on my raspberry pi:  screen blank

      and that was what I want to get:
      windows

      how i can fix it?

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

        Good question that requires that you provide more information like warning/error messages your application is generating. Type of backend used to start your application etc.

        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

          Good question that requires that you provide more information like warning/error messages your application is generating. Type of backend used to start your application etc.

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

          @SGaist this i why i'm so confused and i call help... they doesn't have any warnning or error.

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

            Again, what backend are you using on the Pi ?

            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
              #22

              Ok sorry guys , maybe it's my poor english but what do you exactly mean by backend ?

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

                Are you using xcb, LinuxFB, EGLFS, other ?

                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
                  #24

                  How I can verify which one i use?

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

                    What parameters are passed to your application when you start it ?

                    You can start your application with the QT_DEBUG_PLUGINS environment variable set to 1 so you can see what plugins are loaded.

                    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
                      #26

                      i think i passed no parameter i just write in my console "sudo ./Test5".
                      so you tell me to do write "sudo ./Test 5 QT_DEBUG_PLUGINS=1" or i need to add QT_DEBUG_PLUGINS and set value at 1 in build environment of qt creator.

                      jsulmJ 1 Reply Last reply
                      0
                      • C CrazyCreepy

                        i think i passed no parameter i just write in my console "sudo ./Test5".
                        so you tell me to do write "sudo ./Test 5 QT_DEBUG_PLUGINS=1" or i need to add QT_DEBUG_PLUGINS and set value at 1 in build environment of qt creator.

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

                        @CrazyCreepy Why sudo?
                        What @SGaist means is:

                        QT_DEBUG_PLUGINS=1
                        ./Test
                        

                        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
                          #28

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

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

                            Well i try to do that, but nothing it's happenning...

                            alt text

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

                              Either it's:

                              export QT_DEBUG_PLUGINS=1
                              ./Test
                              

                              or

                              QT_DEBUG_PLUGINS=1 ./Test
                              

                              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
                                #31

                                export QT_DEBUG_PLUGINS=1 it's work and the result is ```
                                QFactoryLoader::QFactoryLoader() checking directory path "/usr/local/qt5/plugins/platforms" ...
                                QFactoryLoader::QFactoryLoader() looking at "/usr/local/qt5/plugins/platforms/libqeglfs.so"
                                Found metadata in lib /usr/local/qt5/plugins/platforms/libqeglfs.so, metadata=
                                {
                                "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3",
                                "MetaData": {
                                "Keys": [
                                "eglfs"
                                ]
                                },
                                "className": "QEglFSIntegrationPlugin",
                                "debug": false,
                                "version": 329728
                                }

                                Got keys from plugin meta data ("eglfs")
                                QFactoryLoader::QFactoryLoader() looking at "/usr/local/qt5/plugins/platforms/libqlinuxfb.so"
                                Found metadata in lib /usr/local/qt5/plugins/platforms/libqlinuxfb.so, metadata=
                                {
                                "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3",
                                "MetaData": {
                                "Keys": [
                                "linuxfb"
                                ]
                                },
                                "className": "QLinuxFbIntegrationPlugin",
                                "debug": false,
                                "version": 329728
                                }

                                Got keys from plugin meta data ("linuxfb")

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

                                  It looks incomplete

                                  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
                                    #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

                                          • Login

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