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. Crypt32.dll Unresolved Symbol
Qt 6.11 is out! See what's new in the release blog

Crypt32.dll Unresolved Symbol

Scheduled Pinned Locked Moved Unsolved General and Desktop
7 Posts 4 Posters 1.4k 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.
  • T Offline
    T Offline
    tobias.v
    wrote on last edited by
    #1

    Hi,

    I have a function that uses a function from wincrypt.h. But when I build my project I got the error 'unresolved external symbol...' I already tried to include the library with "win32:LIBS += -LC:/Windows/System32 -lcrypt32" but nothing works.

    Can anybody help me?

    I'm using Qt5.8.0 with MSVC 2015 32-Bit.
    The wincrypt.h is in this folder: C:\Program Files (x86)\Windows Kits\10\Include\10.0.10240.0\um

    Thanks,
    Tobi

    1 Reply Last reply
    0
    • VRoninV Offline
      VRoninV Offline
      VRonin
      wrote on last edited by
      #2

      C:/Windows/System32 contains the DLL, not the lib, I think you need to have something like win32:LIBS += -LC:/Program Files (x86)/Windows Kits/10/lib

      "La mort n'est rien, mais vivre vaincu et sans gloire, c'est mourir tous les jours"
      ~Napoleon Bonaparte

      On a crusade to banish setIndexWidget() from the holy land of Qt

      1 Reply Last reply
      0
      • T Offline
        T Offline
        tobias.v
        wrote on last edited by
        #3

        Hi,

        thanks but when I set the path to the library, I have still the same error.

        I used this: win32:LIBS += -L"C:\Program Files (x86)\Windows Kits\10\Lib\10.0.10240.0\um\x86" -lCrypt32

        mrjjM 1 Reply Last reply
        0
        • T tobias.v

          Hi,

          thanks but when I set the path to the library, I have still the same error.

          I used this: win32:LIBS += -L"C:\Program Files (x86)\Windows Kits\10\Lib\10.0.10240.0\um\x86" -lCrypt32

          mrjjM Offline
          mrjjM Offline
          mrjj
          Lifetime Qt Champion
          wrote on last edited by
          #4

          hi

          Can you check with
          LIBS += -lcrypt32

          Works in mingw but might be different with VS.

          1 Reply Last reply
          0
          • T Offline
            T Offline
            tobias.v
            wrote on last edited by
            #5

            Hi mrjj,

            I tried it but it doesn't work...

            mrjjM 1 Reply Last reply
            0
            • T tobias.v

              Hi mrjj,

              I tried it but it doesn't work...

              mrjjM Offline
              mrjjM Offline
              mrjj
              Lifetime Qt Champion
              wrote on last edited by
              #6

              @tobias.v

              Ok, was worth a shot. :)

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

                Hi,

                Which symbol is missing exactly ?

                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
                0

                • Login

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