[Bug 225436] [exp-run] Update Qt5 to 5.9.4

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Mon Jan 29 11:46:19 UTC 2018


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=225436

--- Comment #4 from commit-hook at freebsd.org ---
A commit references this bug:

Author: rakuco
Date: Mon Jan 29 11:45:43 UTC 2018
New revision: 460286
URL: https://svnweb.freebsd.org/changeset/ports/460286

Log:
  Add a patch to drop CMake calls to QT5_WRAP_CPP().

  cmake/Utils.cmake already sets CMAKE_AUTOMOC to on.

  Calling QT5_WRAP_CPP() used to be just redundant, as QUAZIP_MOC_SRC and
  LIBQPSD_MOC_SRC were never actually added as source dependencies in
  MacBuildTarget.cmake and UnixBuildTarget.cmake. In other words, CMake's own
  automoc infrastructure was actually being used and the moc invocations from
  QT5_WRAP_CPP() were not being made at all.

  Starting with Qt 5.9.4, calling QT5_WRAP_CPP() disables the AUTOMOC property
on
  the macro's input files, which means neither CMake's automoc infrastructure
not
  QT5_WRAP_CPP()'s code were being used and we ended up with several 'undefined
  reference to vtable' errors when linking.

  Sent upstream: https://github.com/nomacs/nomacs/pull/187

  PR:           225436

Changes:
  head/graphics/nomacs/files/patch-cmake_Unix.cmake

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the kde-freebsd mailing list