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. Trying to make configure accepting Tslib
Qt 6.11 is out! See what's new in the release blog

Trying to make configure accepting Tslib

Scheduled Pinned Locked Moved Solved Mobile and Embedded
6 Posts 2 Posters 640 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.
  • J Offline
    J Offline
    JonasE
    wrote on last edited by
    #1

    Hello!

    I have been banging my head against this for a few hours now...

    I built Qt 5.12.7 natively on a Pi. I have one of the cheap SPI touchscreens. I got it working with the screen (just have to hide the cursor somehow) but the touch is a bit worse.

    Tslib downloaded, compiled and I got it working fine. Calibration and test application run as they should. All well there.

    But I can't make configure add Tslib as it should. "ERROR: Feature 'tslib' was enabled, but the pre-condition 'libs.tslib' failed.", it says. Looking in the log:

    loaded result for library config.qtbase_gui.libraries.tslib
    Trying source 0 (type inline) of library tslib ...
    None of [libts.so libts.a] found in [] and global paths.
    => source produced no result.
    test config.qtbase_gui.libraries.tslib FAILED

    I put symbolic links to the libs in the places I think they should be. I really can't make this work... Probably missed something simple.

    Please let me know if you have some input.

    Best regards, Jonas

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

      Hi and welcome to devnet,

      Did you install the development package of tslib ?

      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
      1
      • J Offline
        J Offline
        JonasE
        wrote on last edited by
        #3

        Thank you!

        You mean tslib-dev?

        I tried installing it now, it was not installed. No difference when running configure but probably makes a difference later on.

        I tried finding exactly where this test is made to see what it actually does but I cannot find where it is done. Maybe that could give a clue about missing environment variables or something?

        1 Reply Last reply
        0
        • J Offline
          J Offline
          JonasE
          wrote on last edited by
          #4

          @JonasE said in Trying to make configure accepting Tslib:

          None of [libts.so libts.a] found in [] and global paths.

          And where is configure looking, exactly? [] looks like a missing environment variable, but which one? And "global paths", what does it use? Tried adding -R with a path to where I put them, but that didn't help.

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

            Now that you installed it, did you run configure from a clean state ?

            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
            1
            • J Offline
              J Offline
              JonasE
              wrote on last edited by
              #6

              Oh yes. Thank you, Master SGaist.

              Builiding now, let's hope it builds!

              Best regards, Jonas

              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