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. QImage::Format_Grayscale16 not supported in 4.10.2 open source
Forum Updated to NodeBB v4.3 + New Features

QImage::Format_Grayscale16 not supported in 4.10.2 open source

Scheduled Pinned Locked Moved Solved Mobile and Embedded
23 Posts 2 Posters 3.5k 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
    #9

    I install using unified installer and select the follwing components as my application is 32 bit. I get hid api error as below

    Qtinstallsettings.PNG

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

    I am making sure it is 32 bit.

    I got this error before and i was able to resolve when i removed 64 bit components

    Sorry for bugging you continuously as I am new to this platform

    Thanks
    Sachin

    KroMignonK 1 Reply Last reply
    0
    • SachinBhatS SachinBhat

      I install using unified installer and select the follwing components as my application is 32 bit. I get hid api error as below

      Qtinstallsettings.PNG

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

      I am making sure it is 32 bit.

      I got this error before and i was able to resolve when i removed 64 bit components

      Sorry for bugging you continuously as I am new to this platform

      Thanks
      Sachin

      KroMignonK Offline
      KroMignonK Offline
      KroMignon
      wrote on last edited by
      #10

      @SachinBhat said in QImage::Format_Grayscale16 not supported in 4.10.2 open source:

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

      First: are you sure you need all those 6 Kits for Qt 5.13.2? To you really want to target 6 different hardware types?
      Second: when do you have this error? during Qt installation or during the build of your project?

      It is an old maxim of mine that when you have excluded the impossible, whatever remains, however improbable, must be the truth. (Sherlock Holmes)

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

        During build of my project

        KroMignonK 1 Reply Last reply
        0
        • SachinBhatS Offline
          SachinBhatS Offline
          SachinBhat
          wrote on last edited by
          #12

          for your first question, i need only for just one of them. I added them just to debug if hid api is using any other package

          KroMignonK 1 Reply Last reply
          0
          • SachinBhatS SachinBhat

            for your first question, i need only for just one of them. I added them just to debug if hid api is using any other package

            KroMignonK Offline
            KroMignonK Offline
            KroMignon
            wrote on last edited by
            #13

            @SachinBhat said in QImage::Format_Grayscale16 not supported in 4.10.2 open source:

            I added them just to debug if hid api is using any other package

            To avoid problems and to not slow down Qt Creator launch, install only the Qt Kit you want to use, this will save space on your disk and time!
            Qt Kit do never share packages, all libraries are build for a specific target + compiler combination, there no need to select all, the only things that are common are: Sources, Qt Charts, Qt Data Visualisation, Qt...

            It is an old maxim of mine that when you have excluded the impossible, whatever remains, however improbable, must be the truth. (Sherlock Holmes)

            1 Reply Last reply
            0
            • SachinBhatS SachinBhat

              During build of my project

              KroMignonK Offline
              KroMignonK Offline
              KroMignon
              wrote on last edited by
              #14

              @SachinBhat said in QImage::Format_Grayscale16 not supported in 4.10.2 open source:

              During build of my project

              this look like a problem with you project file

              It is an old maxim of mine that when you have excluded the impossible, whatever remains, however improbable, must be the truth. (Sherlock Holmes)

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

                I do not get when i build with 5.3.2 version. So I believe it wont be a problem with my project file..

                KroMignonK 1 Reply Last reply
                0
                • SachinBhatS SachinBhat

                  I do not get when i build with 5.3.2 version. So I believe it wont be a problem with my project file..

                  KroMignonK Offline
                  KroMignonK Offline
                  KroMignon
                  wrote on last edited by
                  #16

                  @SachinBhat said in QImage::Format_Grayscale16 not supported in 4.10.2 open source:

                  I do not get when i build with 5.3.2 version.

                  Interesting, which Qt Kit you are using for Qt 5.3.2:

                  • MSVC2013 64bit?
                  • MSVC2013 32bit?
                  • MSVC2012 32bit?
                  • MSVC2010 32bit?
                  • MinGW 4.8.2?

                  It is an old maxim of mine that when you have excluded the impossible, whatever remains, however improbable, must be the truth. (Sherlock Holmes)

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

                    @KroMignon
                    I am using MinGW 4.8.2
                    Build build-GUI-Desktop_Qt_5_3_MinGW_32bit-Debug
                    I also get this error along with hid api error if it helps collect2.exe:-1: error: error: ld returned 1 exit status

                    Thanks
                    Sachin

                    KroMignonK 1 Reply Last reply
                    0
                    • SachinBhatS Offline
                      SachinBhatS Offline
                      SachinBhat
                      wrote on last edited by
                      #18

                      Here are the build settings for 5.13.2
                      a39b3ae9-520d-4aba-9b54-f8c0dd85e77b-image.png

                      Here are the build settings for 4.8.2
                      6726d14c-2ce0-4e27-b994-23ce3094ad72-image.png

                      Thanks
                      Sachin

                      1 Reply Last reply
                      0
                      • SachinBhatS SachinBhat

                        @KroMignon
                        I am using MinGW 4.8.2
                        Build build-GUI-Desktop_Qt_5_3_MinGW_32bit-Debug
                        I also get this error along with hid api error if it helps collect2.exe:-1: error: error: ld returned 1 exit status

                        Thanks
                        Sachin

                        KroMignonK Offline
                        KroMignonK Offline
                        KroMignon
                        wrote on last edited by
                        #19

                        @SachinBhat said in QImage::Format_Grayscale16 not supported in 4.10.2 open source:

                        I also get this error along with hid api error if it helps collect2.exe:-1: error: error: ld returned 1 exit status

                        I am lost, is this project working with Qt 5.3.2 or not?
                        It is very hard to follow your explanations.
                        What is working and what is not working:

                        • can you build with Qt 5.3.2/MinGW?
                        • can you run your project with Qt 5.3.2/MinGW?
                        • can you build with Qt 5.13.2/MinGW 32bit?
                        • can you run your project with Qt 5.13.2/MinGW 32bit?

                        It is an old maxim of mine that when you have excluded the impossible, whatever remains, however improbable, must be the truth. (Sherlock Holmes)

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

                          @KroMignon said in QImage::Format_Grayscale16 not supported in 4.10.2 open source:

                          can you build with Qt 5.3.2/MinGW? yes
                          can you run your project with Qt 5.3.2/MinGW? yes
                          can you build with Qt 5.13.2/MinGW 32bit? No
                          can you run your project with Qt 5.13.2/MinGW 32bit? No

                          I apologise if i was not being clear.

                          I had a working version with 5.13.2 when i installed all the packages after only removing 64 bit ones.

                          I uninstalled it for getting the open source. I install with the packages selected in the image i sent. It doesn't build the project

                          What does the hidapi.dll require exactly?

                          Thanks
                          Sachin

                          KroMignonK 1 Reply Last reply
                          0
                          • SachinBhatS SachinBhat

                            @KroMignon said in QImage::Format_Grayscale16 not supported in 4.10.2 open source:

                            can you build with Qt 5.3.2/MinGW? yes
                            can you run your project with Qt 5.3.2/MinGW? yes
                            can you build with Qt 5.13.2/MinGW 32bit? No
                            can you run your project with Qt 5.13.2/MinGW 32bit? No

                            I apologise if i was not being clear.

                            I had a working version with 5.13.2 when i installed all the packages after only removing 64 bit ones.

                            I uninstalled it for getting the open source. I install with the packages selected in the image i sent. It doesn't build the project

                            What does the hidapi.dll require exactly?

                            Thanks
                            Sachin

                            KroMignonK Offline
                            KroMignonK Offline
                            KroMignon
                            wrote on last edited by
                            #21

                            @SachinBhat said in QImage::Format_Grayscale16 not supported in 4.10.2 open source:

                            What does the hidapi.dll require exactly?

                            As far as I know, hidapi.dll is not part of Qt, and a quick google search gives me ==> https://github.com/libusb/hidapi

                            So, how did you compile hidapi?

                            It is an old maxim of mine that when you have excluded the impossible, whatever remains, however improbable, must be the truth. (Sherlock Holmes)

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

                              I will let you know how the hidapi.dll was compiled by asking my team. Are the build settings correct?

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

                                Let me mark this thread as solved as the topic is something else. I will start a new one with better explanation of the issue

                                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