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. Integrate WIA (Windows Image Acquisition) into Qt project
Forum Updated to NodeBB v4.3 + New Features

Integrate WIA (Windows Image Acquisition) into Qt project

Scheduled Pinned Locked Moved Unsolved General and Desktop
wia com
7 Posts 3 Posters 2.7k 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.
  • M Offline
    M Offline
    moravas
    wrote on last edited by
    #1

    Hi Folks,

    I have to capture scanner image trough my Qt based application on Windows 7. As I saw, WIA would be the most Windows conform solution to do that, but it based on COM.
    Can anybody help me, how can I compile COM based source via Qt project? Even more, does anybody have experience in WIA + Qt usage?

    Regards,
    Norbert

    jsulmJ 1 Reply Last reply
    0
    • M moravas

      Hi Folks,

      I have to capture scanner image trough my Qt based application on Windows 7. As I saw, WIA would be the most Windows conform solution to do that, but it based on COM.
      Can anybody help me, how can I compile COM based source via Qt project? Even more, does anybody have experience in WIA + Qt usage?

      Regards,
      Norbert

      jsulmJ Offline
      jsulmJ Offline
      jsulm
      Lifetime Qt Champion
      wrote on last edited by
      #2

      @moravas If it is COM then you can use http://doc.qt.io/qt-5.7/activeqt-container.html

      https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      0
      • M Offline
        M Offline
        moravas
        wrote on last edited by
        #3

        Thank you very much!!! It seems to be a good starting point, but how can I compile IDL files? If you can check the link, it points to have a header and IDL file to.
        https://msdn.microsoft.com/en-us/library/windows/desktop/ms630133(v=vs.85).aspx

        Moreover, does anybody have experience in WIA?

        Regards,
        Norbert

        jsulmJ 1 Reply Last reply
        0
        • M moravas

          Thank you very much!!! It seems to be a good starting point, but how can I compile IDL files? If you can check the link, it points to have a header and IDL file to.
          https://msdn.microsoft.com/en-us/library/windows/desktop/ms630133(v=vs.85).aspx

          Moreover, does anybody have experience in WIA?

          Regards,
          Norbert

          jsulmJ Offline
          jsulmJ Offline
          jsulm
          Lifetime Qt Champion
          wrote on last edited by
          #4

          @moravas https://msdn.microsoft.com/en-us/library/windows/desktop/ms693359(v=vs.85).aspx

          https://forum.qt.io/topic/113070/qt-code-of-conduct

          1 Reply Last reply
          0
          • M Offline
            M Offline
            moravas
            wrote on last edited by
            #5

            Thanks, it seems to be nice. It sounds to me, that the IDL should be compiled before the regular C++ sources. What should I write into my .pro file to do that?

            Regards,
            Norbert

            jsulmJ 1 Reply Last reply
            0
            • M moravas

              Thanks, it seems to be nice. It sounds to me, that the IDL should be compiled before the regular C++ sources. What should I write into my .pro file to do that?

              Regards,
              Norbert

              jsulmJ Offline
              jsulmJ Offline
              jsulm
              Lifetime Qt Champion
              wrote on last edited by
              #6

              @moravas http://doc.qt.io/qt-5/qmake-advanced-usage.html#adding-custom-targets

              https://forum.qt.io/topic/113070/qt-code-of-conduct

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

                Hi,

                There's an example here for IDL.

                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

                • Login

                • Login or register to search.
                • First post
                  Last post
                0
                • Categories
                • Recent
                • Tags
                • Popular
                • Users
                • Groups
                • Search
                • Get Qt Extensions
                • Unsolved