[qt/qt/qtopcua]: Summary of bulk changes made

KDE Git Services - Bulk Change <[email protected]>
Newsgroups gmane.comp.kde.cvs
Message-ID <[email protected]>
Git repository change summary for qt/qt/qtopcua
Pushed by mirror-service into branch '6.12'.
Changed from 00b1c7551b75cebcdc8c86eb2169c9f1e8038efa to c41cbc8f840ca232841ca68663ab0592c39d6745
Acknowledgement was received that this change introduces only existing code that has been pushed to another public open source repository.

This change contains the following new commits:

Git commit c41cbc8f840ca232841ca68663ab0592c39d6745 by Qt Cherry-pick Bot (on behalf of Alexandru Croitor) on 30/07/2026 at 16:01..
CMake: Fix simulationserver external project MINGW linking error

When building examples as external projects, the simulationserver
example fails to link on MINGW.

The error is:
  ld.exe: open62541.c.obj: in function `setMulticastInterface':
  undefined reference to `GetAdaptersAddresses'

In a non-external project build, this was previously handled by the
'GCC' check. But this is an Qt internal CMake variable that is not set
for public projects, and thus neither for external project examples.

Make sure to check the CMAKE_CXX_COMPILER_ID variable instead, which
is set by CMake for all projects.

This makes sure to link to the iphlpapi library on MINGW in an
external project scenario.

Change-Id: I8761192fe798b5486bb070880c4e07fd7befd98d
Reviewed-by: Orkun Tokdemir <[email protected]>
(cherry picked from commit 1218fca26ee875f3c42b65142b276042a817b85a)
Reviewed-by: Qt Cherry-pick Bot <[email protected]>
https://invent.kde.org/qt/qt/qtopcua/-/commit/c41cbc8f840ca232841ca68663ab0592c39d6745
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.