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. Recompiling Qt Windows DLLs
Forum Updated to NodeBB v4.3 + New Features

Recompiling Qt Windows DLLs

Scheduled Pinned Locked Moved Unsolved General and Desktop
4 Posts 3 Posters 345 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.
  • P Offline
    P Offline
    pderocco
    wrote on last edited by
    #1

    I need to make a tweak to something in Qt, just to eliminate an unavoidable but useless warning that is clogging my console output. I know where it is in the source.

    I've successfully built static libraries using 32-bit MSVC2017, which I use with my app, but what I need is a replacement for the DLLs that get used by Qt Creator when debugging.

    What configure options do I need to use, to replicate what comes pre-installed with Qt? The DLLs I want to regenerate are in C:\Qt\Qt5.12.3\5.12.3\msvc2017\bin, so I believe I could specify "-prefix C:\Qt\Qt5.12.3\5.12.3\msvs2017" to get it to overwrite those files. But what other options do I need, so that everything works exactly the same, except for my change?

    JKSHJ 1 Reply Last reply
    0
    • Christian EhrlicherC Offline
      Christian EhrlicherC Offline
      Christian Ehrlicher
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Here is the description on how to compile for windows: https://doc.qt.io/qt-5/windows-requirements.html

      What what warning to you want to remove from Qt? A wrong one? If so please write a bug report so it can be removed directly in Qt.

      Qt Online Installer direct download: https://download.qt.io/official_releases/online_installers/
      Visit the Qt Academy at https://academy.qt.io/catalog

      P 1 Reply Last reply
      2
      • Christian EhrlicherC Christian Ehrlicher

        Here is the description on how to compile for windows: https://doc.qt.io/qt-5/windows-requirements.html

        What what warning to you want to remove from Qt? A wrong one? If so please write a bug report so it can be removed directly in Qt.

        P Offline
        P Offline
        pderocco
        wrote on last edited by
        #3

        @Christian-Ehrlicher

        The issue is that when I build Qt static libraries, and use them in my application, I'm finding that the graphics don't work over Windows Remote Desktop, while they work fine when I use the stock DLLs that come with Qt Creator. That must be an issue with my configure parameters. So if I rebuild the DLLs using the same graphics related configure parameters I've now got, graphics will probably stop working when I'm debugging under Qt Creator over Remote Desktop. On the other hand, if I can find out what exact configure options to use to rebuild the DLLs, I'll probably also learn what to adjust in my static library build so that the graphics always work.

        As to the warning, no, the warning isn't wrong, the problem is that in order to get GridLayout to do what I want, I have to do something that it unsurprisingly thinks may be wrong, but actually works fine. If you're curious about that issue, I've reported it here: https://bugreports.qt.io/browse/QTBUG-76145. But in the meantime, I just want to be able to recompile the DLLs, knowing that I'll get something that matches the original DLLs but for my tiny change. Someone must know what the right configure parameters are.

        1 Reply Last reply
        0
        • P pderocco

          I need to make a tweak to something in Qt, just to eliminate an unavoidable but useless warning that is clogging my console output. I know where it is in the source.

          I've successfully built static libraries using 32-bit MSVC2017, which I use with my app, but what I need is a replacement for the DLLs that get used by Qt Creator when debugging.

          What configure options do I need to use, to replicate what comes pre-installed with Qt? The DLLs I want to regenerate are in C:\Qt\Qt5.12.3\5.12.3\msvc2017\bin, so I believe I could specify "-prefix C:\Qt\Qt5.12.3\5.12.3\msvs2017" to get it to overwrite those files. But what other options do I need, so that everything works exactly the same, except for my change?

          JKSHJ Offline
          JKSHJ Offline
          JKSH
          Moderators
          wrote on last edited by
          #4

          @pderocco said in Recompiling Qt Windows DLLs:

          What configure options do I need to use, to replicate what comes pre-installed with Qt?

          https://code.qt.io/cgit/qtsdk/qtsdk.git/tree/packaging-tools/bld_config/configure_win_opensource

          Qt Doc Search for browsers: forum.qt.io/topic/35616/web-browser-extension-for-improved-doc-searches

          1 Reply Last reply
          3

          • Login

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