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 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 Online
    jsulmJ Online
    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 Online
                    jsulmJ Online
                    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 Online
                                      jsulmJ Online
                                      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

                                          • Login

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