﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
4989	Build error using homebrew's Qt 5.11 on macOS	Silvio Traversaro <pegua1@…>	Adeel Asghar	"When building GUIs exectuables such as `OMPlotGUI` and `OMEditGUI` on macOS using the latest Qt 5.11, I get the following error: 
{{{
clang++ -c -I/usr/local/opt/gettext/include -std=c++11 -O2 -std=gnu++11   x86_64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk -mmacosx-version-min=10.11 -w -fPIC -DQT_NO_DEBUG -DQT_SVG_LIB -DQT_PRINTSUPPORT_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I. -I../../../build/include/omplot/qwt -I../../../build/include/omc/c -I. -I/usr/local/Cellar/qt/5.11.0/lib/QtSvg.framework/Headers -I/usr/local/Cellar/qt/5.11.0/lib/QtPrintSupport.framework/Headers -I/usr/local/Cellar/qt/5.11.0/lib/QtWidgets.framework/Headers -I/usr/local/Cellar/qt/5.11.0/lib/QtGui.framework/Headers -I/usr/local/Cellar/qt/5.11.0/lib/QtCore.framework/Headers -I../generatedfiles/moc -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/OpenGL.framework/Headers -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/AGL.framework/Headers -I/usr/local/Cellar/qt/5.11.0/mkspecs/macx-clang -F/usr/local/Cellar/qt/5.11.0/lib -o Plot.o Plot.cpp
clang: error: no such file or directory: 'x86_64'
}}}

Apparently this is due to a `qmake.sh` that is stripping away the `-arch` flag from the makefile. A fix is proposed in https://github.com/OpenModelica/OpenModelica-common/pull/2 .
"	defect	assigned	high	Future	*unknown*				
