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. how to solve the error "Unsupported configuration"
QtWS25 Last Chance

how to solve the error "Unsupported configuration"

Scheduled Pinned Locked Moved Unsolved General and Desktop
3 Posts 2 Posters 211 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.
  • B Offline
    B Offline
    Blackzero
    wrote on 6 Aug 2024, 06:15 last edited by
    #1

    I tried to include the Crypto++ library in qtcreator, but there is always an error in the Crypto++ library that is included, how to solve this problem?

    encryptionfile.h:7:10: In included file: : "Unsupported configuration"
    config_os.h:33:3: error occurred here
    

    Screenshot 2024-08-06 131458.jpg

    C 1 Reply Last reply 6 Aug 2024, 06:23
    0
    • B Blackzero
      6 Aug 2024, 06:15

      I tried to include the Crypto++ library in qtcreator, but there is always an error in the Crypto++ library that is included, how to solve this problem?

      encryptionfile.h:7:10: In included file: : "Unsupported configuration"
      config_os.h:33:3: error occurred here
      

      Screenshot 2024-08-06 131458.jpg

      C Offline
      C Offline
      ChrisW67
      wrote on 6 Aug 2024, 06:23 last edited by ChrisW67 8 Jun 2024, 06:24
      #2

      Did you look at the specified line in the specified include file?

      // The problems with Clang pretending to be other compilers is
      // discussed at http://github.com/weidai11/cryptopp/issues/147.
      #if (defined(_MSC_VER) && defined(__clang__))
      # error: "Unsupported configuration"
      #endif
      

      The clang involved here is probably the parser that Qt Creator uses to provide context sensitive suggestions like the one you see there. Since that use has nothing to do with the compiler you are using to build your project it I would be a reasonable bet that the code actually compiles (with either GCC or MSVC).

      B 1 Reply Last reply 6 Aug 2024, 06:28
      0
      • C ChrisW67
        6 Aug 2024, 06:23

        Did you look at the specified line in the specified include file?

        // The problems with Clang pretending to be other compilers is
        // discussed at http://github.com/weidai11/cryptopp/issues/147.
        #if (defined(_MSC_VER) && defined(__clang__))
        # error: "Unsupported configuration"
        #endif
        

        The clang involved here is probably the parser that Qt Creator uses to provide context sensitive suggestions like the one you see there. Since that use has nothing to do with the compiler you are using to build your project it I would be a reasonable bet that the code actually compiles (with either GCC or MSVC).

        B Offline
        B Offline
        Blackzero
        wrote on 6 Aug 2024, 06:28 last edited by
        #3

        @ChrisW67 said in how to solve the error "Unsupported configuration":

        Since that use has nothing to do with the compiler you are using to build your project it I would be a reasonable bet that the code actually compiles (with either GCC or MSVC).

        yes the code can still run, but will it break the encryption or decryption process?

        1 Reply Last reply
        0

        1/3

        6 Aug 2024, 06:15

        • Login

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