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. Can qt embedded still use png if it was not configured with -qt-libpng ?
Forum Updated to NodeBB v4.3 + New Features

Can qt embedded still use png if it was not configured with -qt-libpng ?

Scheduled Pinned Locked Moved Mobile and Embedded
6 Posts 2 Posters 1.5k 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.
  • W Offline
    W Offline
    wowy
    wrote on last edited by
    #1

    I configured qt embedded without this options and when create an application with simple pushbutton i have no problem running it on my card but when i try add an icon to a push button (by using a resource file) the program don't work anymore (error SEGV). My program is static.
    I can't find informations about -qt-libpng, this is why i did not put it in the configuration. i thought that simply displaying a image would not need it and that this lib would be to work (change colors, painting...) with them.

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

      Hi,

      What configuration options did you use ?
      What does a run through the debugger tell you ?

      If you don't specify that option, Qt will try to use your system's libpng.

      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
      • W Offline
        W Offline
        wowy
        wrote on last edited by wowy
        #3

        I used the configuration :

        ./configure -embedded arm -no-armfpa -big-endian -qt-gfx-transformed -qt-gfx-linuxfb -nomake demos -nomake examples -no-svg -no-phonon -no-qt3support -no-feature-CURSOR -qt-mouse-tslib -L/usr/local/lib -I/usr/local/include -static

        I can't currently debug because the board don't have a ssh server to connect with qt creator.

        After searching in the board i don't think it has a libpng so i should be forced to use the one from qt i think.

        EDIT : One error is solved but another appeared !
        My segv error came from the way my ftp client was sending files to the board even when using a ubuntu pc and selecting "unix" server as target filezilla was thinking it was dos and was modifying some file. I am now using the simple ftp client of ubuntu and i don't have this SEGV error anymore, the application s running.
        But the images are not loading "nicely", the colors are wrong.

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

          What board is it ?

          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
          • W Offline
            W Offline
            wowy
            wrote on last edited by
            #5

            A sbc6000x (at91sam9261 micro, linux 2.6.24) from embest.

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

              How are the colors wrong ?

              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