OpenStudioApplication icon indicating copy to clipboard operation
OpenStudioApplication copied to clipboard

macOS: seems like our CMake invocation picks up moc from homebrew

Open jmarrec opened this issue 6 months ago • 0 comments

Issue overview

I built this morning using the classic way (which is in our CI workflow) and realized that the moc executable was picked up from homebrew. Until now this was fine, but now there's a check added saying that the moc file was built with 6.9.0 and it errors out.

I think we should instead configure cmake like this:

cmake --preset conan-release -DCMAKE_PREFIX_PATH=/Users/julien/Qt/6.5.2/macos

Full command that worked

cmake --preset conan-release -DCMAKE_PREFIX_PATH=/Users/julien/Qt/6.5.2/macos -DQT_INSTALL_DIR:PATH=/Users/julien/Qt/6.5.2/macos -DBUILD_PACKAGE:BOOL=ON -DBUILD_DOCUMENTATION:BOOL=ON -DCPACK_CODESIGNING_DEVELOPPER_ID_APPLICATION:STRING="Developer ID Application: The Energy Coalition (UG9S5ZLM34)"               -DCPACK_CODESIGNING_NOTARY_PROFILE_NAME:STRING=OpenStudioApplication               -DCPACK_CODESIGNING_MACOS_IDENTIFIER:STRING=org.openstudiocoalition.OpenStudioApplication

Current Behavior

Expected Behavior

Steps to Reproduce

Possible Solution

Details

Environment

Some additional details about your environment for this issue (if relevant):

  • Platform (Operating system, version):
  • Version of OpenStudioApplication (if using an intermediate build, include SHA):

Context

jmarrec avatar Jun 19 '25 07:06 jmarrec