Recompiling Qt Windows DLLs
-
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?
-
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.
-
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.
-
@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