UBports Robot Logo UBports Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    Help with SDL2

    Scheduled Pinned Locked Moved App Development
    8 Posts 4 Posters 641 Views 1 Watching
    Loading More Posts
    • 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.
      • F Offline
        FloVanUB
        last edited by

        Hi,

        does someone have an running SDL2 example. I try to port OrbTk to UT using SDL2. Everything build fine but if I try to start my example on the phone the libSDL2-2.0 is not found.

        AppLeeA 1 Reply Last reply Reply Quote 0
        • AppLeeA Offline
          AppLee @FloVanUB
          last edited by AppLee

          @FloVanUB Hello,
          The library you use shall be embeded within the click package.
          Do you use clickable ? Have you checked the dependencies attributes for clickable ?

          [Edit] This page might help you : http://clickable.bhdouglass.com/en/latest/clickable-json.html#clickable-json

          F 1 Reply Last reply Reply Quote 0
          • F Offline
            FloVanUB @AppLee
            last edited by

            @AppLee yes I use clickable and I tried also the dependencies field. After that it build without errors. But if I start the app it could not find the library.

            1 Reply Last reply Reply Quote 0
            • S Offline
              stefwe
              last edited by

              Can you look into your click package, is the lib there? maybe it is not in the right/expected place.

              Meizu MX4 16.04 | Nexus 5 16.04

              F 1 Reply Last reply Reply Quote 0
              • F Offline
                FloVanUB @stefwe
                last edited by

                @stefwe apparently not. I could not find it.

                1 Reply Last reply Reply Quote 0
                • lduboeufL Offline
                  lduboeuf
                  last edited by

                  If it help, there is a working demo here: https://gitlab.com/zub2/SDLDemo

                  F 1 Reply Last reply Reply Quote 1
                  • F Offline
                    FloVanUB @lduboeuf
                    last edited by

                    @lduboeuf Thank you.

                    1 Reply Last reply Reply Quote 0
                    • F Offline
                      FloVanUB
                      last edited by FloVanUB

                      What I alternative want to check is to draw in the frame buffer of a QWindow.

                      1 Reply Last reply Reply Quote 0
                      • First post
                        Last post