Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Using TWAIN/SANE/CUPS with Qt.
QtWS25 Last Chance

Using TWAIN/SANE/CUPS with Qt.

Scheduled Pinned Locked Moved General and Desktop
6 Posts 3 Posters 8.0k Views
  • 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.
  • M Offline
    M Offline
    Max13
    wrote on last edited by
    #1

    Hi,

    I'm Qt Ambassador, and as one of them, I talk about Qt everytime I can and to everyone interested in my T-Shirt/Stickers... ;)
    Recently, a friend told me "Qt is great, but have no class to manage scanners with TWAIN/SANE" (Adn I think cups too).

    Here is my question... Is there ANYTHING to start/get a scan from a scanner, directly from Qt ?

    Thank you for you help guys :)

    Cheers, Max13.

    We all have started by asking questions. Then after some time, we can begin answering them.

    1 Reply Last reply
    0
    • M Offline
      M Offline
      Max13
      wrote on last edited by
      #2

      Bump :/ ?

      We all have started by asking questions. Then after some time, we can begin answering them.

      1 Reply Last reply
      0
      • L Offline
        L Offline
        lgeyer
        wrote on last edited by
        #3

        I haven't seen such functionality in Qt yet. Probably there is some third-party Qt-based library that provides TWAIN/SANE access. If CUPS means printing this is "supported":http://doc.qt.nokia.com/latest/printing.html by Qt out of the box. You might take a look at the corresponding KDE applications - they are based on Qt.

        1 Reply Last reply
        0
        • M Offline
          M Offline
          Max13
          wrote on last edited by
          #4

          Ah thank you.
          And for scanning, is there such things supported by Qt ?

          Thank you for your help.

          We all have started by asking questions. Then after some time, we can begin answering them.

          1 Reply Last reply
          0
          • L Offline
            L Offline
            lgeyer
            wrote on last edited by
            #5

            Well, i don't think so. But just take a look at KDE, this is probably the most Qt-ish and up to date implementation you can get (libksane or similar).

            1 Reply Last reply
            0
            • S Offline
              S Offline
              swhweng
              wrote on last edited by
              #6

              Hi,
              Maybe next will help to those interested to invoke TWAIN API methods in C++/Qt code and add TWAIN to Qt application:

              "http://sourceforge.net/projects/scantwain/":http://sourceforge.net/projects/twain-samples/
              "http://www.koders.com/cpp/fidCA5B0F404A956335BE211F73907236CE8607B96B.aspx":http://www.koders.com/cpp/fidCA5B0F404A956335BE211F73907236CE8607B96B.aspx

              My question is :

              Can anybody share a piece of code and .pro file where you link to TWAIN library and call it ? A.W.
              How to link to TWAIN library on Windows in .pro file?

              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