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. Problem trying to fix a Qt bug
QtWS25 Last Chance

Problem trying to fix a Qt bug

Scheduled Pinned Locked Moved General and Desktop
4 Posts 2 Posters 2.7k 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.
  • S Offline
    S Offline
    sdiaz
    wrote on last edited by
    #1

    Hello everybody.

    We've sort of fixed a bug in Qt, it's a problem with NTLMv2 proxies and it's already reported ( https://bugreports.qt.nokia.com/browse/QTBUG-17322 ).

    In fact, we did it for version 4.7.1, the one we're currently linking to in our application.

    But now we want to contribute it to Qt so that it's added to 4.8. The fix we did was more of a hack that worked for us but can't be sent as is. There are some problems:

    • The bug itself only affects Windows systems because it's a proxy that uses Windows identity itself. In fact, you must be inside a Windows Domain and that can only happen when using a Windows system, so...

    • The code with the patch is system-specific (it uses Windows APIs), but given that the problem itself is system-specific that's understandable.

    I can add #ifdef WIN32 to the new code and comment what it's doing, but there's a catch, the APIs used are implemented inside secur32.lib, which is a library on Windows SDK. That means that the developer must have the Windows SDK installed (it's completely free but it doesn't come with Visual Studio) and the library and library path must be added to the Qt compilation... somehow.

    All of that is no problem when developing our own application but becomes a real pain when we want to contribute the fix to Qt. Is there a way we could solve this issue?

    [EDIT: fixed link, Volker]

    1 Reply Last reply
    0
    • L Offline
      L Offline
      loladiro
      wrote on last edited by
      #2

      You might want to talk to the Qt developers on IRC (#qt-labs on freenode)

      1 Reply Last reply
      0
      • S Offline
        S Offline
        sdiaz
        wrote on last edited by
        #3

        That's what I did, thanks.

        1 Reply Last reply
        0
        • L Offline
          L Offline
          loladiro
          wrote on last edited by
          #4

          If you need help with the merge request (I assumed from the IRC logs that that's what you're going to do), feel free to ask. Also, please post a link to the merge request here, once you have submitted it.

          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