Navigation

    UBports Robot Logo

    UBports Forum

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search

    Help with SDL2

    App Development
    4
    8
    301
    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
      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.

      AppLee 1 Reply Last reply Reply Quote 0
      • AppLee
        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
          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
            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
              FloVanUB @stefwe last edited by

              @stefwe apparently not. I could not find it.

              1 Reply Last reply Reply Quote 0
              • lduboeuf
                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
                  FloVanUB @lduboeuf last edited by

                  @lduboeuf Thank you.

                  1 Reply Last reply Reply Quote 0
                  • F
                    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