Patches to Qt5Pas / LCLQt5 for crash-free Win64 Support at application startup when more complex widgets are used
Original Reporter info from Mantis: benjamin@0ok.de @bero1985
-
Reporter name: Benjamin Rosseaux
Original Reporter info from Mantis: benjamin@0ok.de @bero1985
- Reporter name: Benjamin Rosseaux
Description:
I've quasi-IFDEF-ed the Qt5 network etc. stuff in the Qt5Pas.pro for the Windows targets, because it crashs at least Win64 LCLQt5 applications, when they are using more enhanced LCL widget components as such as TOpenDialog, TSaveDialog, TShellTreeView, TTreeView, etc. There are only working under the Win64 target when the Qt5 network stuff isn't compiled in inside the Qt5Pas1.dll. And I've commented "QMAKE_CXXFLAGS += -Wfatal-errors" out, because it doesn't compile to me. (And it seems that the DoubleCommander does patching it also out for their Win64 build, possibly due to similiar problems)
I've added a patch to this issue to fix this.
And in this Qt5Pas I've added QPixMapCache_Clear for to clear the style pixmap cache (see https://stackoverflow.com/a/48023351/371322 ) after applying a new application color palette.
And I've changed the PTRINT ad PTRUINT to the new standard intptr_t and uintptr_t types from cstdint / stdint.h in order to make it more standard complaint C++.
And I've changed "#if defined(WIN32)" to "#if defined(WIN32) || defined(__WIN32) || defined(WIN32)" for to support MSVC in a better way.
I think, this should be all, what I've changed or added.
Mantis conversion info:
- Mantis ID: 38844
- OS: Windows
- Platform: x86_64
- Version: 2.0.13 (SVN)
- Monitored by: » @bero1985 (Benjamin Rosseaux)