Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. hidapi.dll incompatible with 5.12

hidapi.dll incompatible with 5.12

Scheduled Pinned Locked Moved Solved Installation and Deployment
9 Posts 3 Posters 975 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.
  • SachinBhatS Offline
    SachinBhatS Offline
    SachinBhat
    wrote on last edited by
    #1

    Hi,

    Currently, we have developed a GUI for our embedded system with 5.3.2 version. We need to port to 5.12 for QImage format to support 10,12 14 and 16 bit images. When I install and try to open the same project which we can deploy successfully in 5.3.2, I get the following error while building in 5.12

    :-1: error: skipping incompatible ../GUI/hidapi-master/windows/debug/hidapi.dll when searching for -lhidapi

    We need this api for USB communication. Could you please suggest a way to resolve this issue?

    Thanks
    Sachin

    jsulmJ aha_1980A 2 Replies Last reply
    0
    • SachinBhatS SachinBhat

      Hi,

      Currently, we have developed a GUI for our embedded system with 5.3.2 version. We need to port to 5.12 for QImage format to support 10,12 14 and 16 bit images. When I install and try to open the same project which we can deploy successfully in 5.3.2, I get the following error while building in 5.12

      :-1: error: skipping incompatible ../GUI/hidapi-master/windows/debug/hidapi.dll when searching for -lhidapi

      We need this api for USB communication. Could you please suggest a way to resolve this issue?

      Thanks
      Sachin

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

      @SachinBhat Are you doing a clean rebuild? Delete build folder, run qmake and build.
      Also, is this hidapi.dll build as part of your project?

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

      1 Reply Last reply
      2
      • SachinBhatS SachinBhat

        Hi,

        Currently, we have developed a GUI for our embedded system with 5.3.2 version. We need to port to 5.12 for QImage format to support 10,12 14 and 16 bit images. When I install and try to open the same project which we can deploy successfully in 5.3.2, I get the following error while building in 5.12

        :-1: error: skipping incompatible ../GUI/hidapi-master/windows/debug/hidapi.dll when searching for -lhidapi

        We need this api for USB communication. Could you please suggest a way to resolve this issue?

        Thanks
        Sachin

        aha_1980A Offline
        aha_1980A Offline
        aha_1980
        Lifetime Qt Champion
        wrote on last edited by
        #3

        Hi @SachinBhat,

        On Windows, different compiler are not compatible.

        So,

        • which compiler have you used with Qt 5.3, and which with 5.12?
        • Is hidapi.dll compiled yourself? With which compiler?
        • Also make sure to use the same bitness, i.e. not mix 32 bit (x86) with 64 bit (x64) builds.

        Regads

        Qt has to stay free or it will die.

        1 Reply Last reply
        1
        • SachinBhatS Offline
          SachinBhatS Offline
          SachinBhat
          wrote on last edited by
          #4

          Thank you for your instant reponse. I just realised that i have installed 64 bit version whereas the dll installed was for 32 bit.

          Thanks
          Sachin

          1 Reply Last reply
          1
          • SachinBhatS Offline
            SachinBhatS Offline
            SachinBhat
            wrote on last edited by
            #5

            One more thing, during installation, I wasn't provided an option to install the 64bit or 32 bit. I am installing from here

            When I build the application, the build folder name has 64bit in it. How can I build for 32 bit?

            Thanks
            Sachin

            jsulmJ 1 Reply Last reply
            0
            • SachinBhatS SachinBhat

              One more thing, during installation, I wasn't provided an option to install the 64bit or 32 bit. I am installing from here

              When I build the application, the build folder name has 64bit in it. How can I build for 32 bit?

              Thanks
              Sachin

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

              @SachinBhat In the link you posted click on "View other options." and select "Qt Online Installer for Linux (32-bit)".

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

              SachinBhatS 1 Reply Last reply
              0
              • jsulmJ jsulm

                @SachinBhat In the link you posted click on "View other options." and select "Qt Online Installer for Linux (32-bit)".

                SachinBhatS Offline
                SachinBhatS Offline
                SachinBhat
                wrote on last edited by
                #7

                @jsulm But I need it for windows

                I install the unified installer on window which includes 32 and 64 bit
                bdccf838-295a-4ff4-9084-e24cec94f5c1-image.png

                After installation, I click on the build button and it builds for 64bit. I need it for 32 bit. How can I select this?

                Thanks
                Sachin

                jsulmJ 1 Reply Last reply
                0
                • SachinBhatS SachinBhat

                  @jsulm But I need it for windows

                  I install the unified installer on window which includes 32 and 64 bit
                  bdccf838-295a-4ff4-9084-e24cec94f5c1-image.png

                  After installation, I click on the build button and it builds for 64bit. I need it for 32 bit. How can I select this?

                  Thanks
                  Sachin

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

                  @SachinBhat What compiler do you want to use?
                  DO NOT SELECT EVERYTHING!

                  "I click on the build button and it builds for 64bit" - well, you have to select proper Kit and then build...

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

                  1 Reply Last reply
                  1
                  • SachinBhatS Offline
                    SachinBhatS Offline
                    SachinBhat
                    wrote on last edited by
                    #9

                    Issue is solved. Thanks a lot for your support

                    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