-
Notifications
You must be signed in to change notification settings - Fork 15
Description
(base) JerryWs-MacBook-Pro:examples jerryw$ cargo build
Finished dev [unoptimized + debuginfo] target(s) in 0.06s
(base) JerryWs-MacBook-Pro:examples jerryw$ cargo run --bin form1
Finished dev [unoptimized + debuginfo] target(s) in 0.06s
Running `target/debug/form1`
dyld: Library not loaded: @rpath/libQt5Widgets.5.dylib
Referenced from: /Users/jerryw/MyCode/StudyRust/examples/target/debug/form1
Reason: image not found
Abort trap: 6
(base) JerryWs-MacBook-Pro:examples jerryw$ otool -L /Users/jerryw/MyCode/StudyRust/examples/target/debug/form1
/Users/jerryw/MyCode/StudyRust/examples/target/debug/form1:
@rpath/libQt5Widgets.5.dylib (compatibility version 5.12.0, current version 5.12.5)
@rpath/libQt5Core.5.dylib (compatibility version 5.12.0, current version 5.12.5)
@rpath/libQt5Gui.5.dylib (compatibility version 5.12.0, current version 5.12.5)
@rpath/libc++.1.dylib (compatibility version 1.0.0, current version 1.0.0)
/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 1281.0.0)
/usr/lib/libresolv.9.dylib (compatibility version 1.0.0, current version 1.0.0)
(base) JerryWs-MacBook-Pro:examples jerryw$
and I also
export DYLD_LIBRARY_PATH=/usr/local/Qt-5.14.0/lib/
to spepcify the QT library path.
by the way, Does my Qt install incorrect on Mac OS 10.15.3?
** I installed QT, but None of dylib (mybe libQt5Widgets.5.dylib) files found in lib path.
in directory there are frameworks ,
ls /usr/local/Qt-5.14.0/lib/
Qt3DAnimation.framework QtTextToSpeech.framework libQt5GraphicsSupport_debug.prl
Qt3DCore.framework QtUiPlugin.framework libQt5OpenGLExtensions.a
Qt3DExtras.framework QtVirtualKeyboard.framework libQt5OpenGLExtensions.la
Qt3DInput.framework QtWebChannel.framework libQt5OpenGLExtensions.prl
Qt3DLogic.framework QtWebEngine.framework libQt5OpenGLExtensions_debug.a
Qt3DQuick.framework QtWebEngineCore.framework libQt5OpenGLExtensions_debug.la
Qt3DQuickAnimation.framework QtWebEngineWidgets.framework libQt5OpenGLExtensions_debug.prl
Qt3DQuickExtras.framework QtWebSockets.framework libQt5PacketProtocol.a
Qt3DQuickInput.framework QtWebView.framework libQt5PacketProtocol.la
Qt3DQuickRender.framework QtWidgets.framework libQt5PacketProtocol.prl
Qt3DQuickScene2D.framework QtXml.framework libQt5PacketProtocol_debug.a
Qt3DRender.framework QtXmlPatterns.framework libQt5PacketProtocol_debug.la
QtBluetooth.framework cmake libQt5PacketProtocol_debug.prl
QtBodymovin.framework libQt5AccessibilitySupport.a libQt5PlatformCompositorSupport.a
QtCharts.framework libQt5AccessibilitySupport.la libQt5PlatformCompositorSupport.la
QtConcurrent.framework libQt5AccessibilitySupport.prl libQt5PlatformCompositorSupport.prl
QtCore.framework libQt5AccessibilitySupport_debug.a libQt5PlatformCompositorSupport_debug.a
QtDBus.framework libQt5AccessibilitySupport_debug.la libQt5PlatformCompositorSupport_debug.la
QtDataVisualization.framework libQt5AccessibilitySupport_debug.prl libQt5PlatformCompositorSupport_debug.prl
QtDesigner.framework libQt5Bootstrap.a libQt5QmlDebug.a
QtDesignerComponents.framework libQt5Bootstrap.la libQt5QmlDebug.la
QtGamepad.framework libQt5Bootstrap.prl libQt5QmlDebug.prl
QtGui.framework libQt5ClipboardSupport.a libQt5QmlDebug_debug.a
QtHelp.framework libQt5ClipboardSupport.la libQt5QmlDebug_debug.la
QtLocation.framework libQt5ClipboardSupport.prl libQt5QmlDebug_debug.prl
QtMacExtras.framework libQt5ClipboardSupport_debug.a libQt5QmlDevTools.a
QtMultimedia.framework libQt5ClipboardSupport_debug.la libQt5QmlDevTools.la
QtMultimediaQuick.framework libQt5ClipboardSupport_debug.prl libQt5QmlDevTools.prl
QtMultimediaWidgets.framework libQt5DeviceDiscoverySupport.a libQt5ServiceSupport.a
QtNetwork.framework libQt5DeviceDiscoverySupport.la libQt5ServiceSupport.la
QtNetworkAuth.framework libQt5DeviceDiscoverySupport.prl libQt5ServiceSupport.prl
QtNfc.framework libQt5DeviceDiscoverySupport_debug.a libQt5ServiceSupport_debug.a
QtOpenGL.framework libQt5DeviceDiscoverySupport_debug.la libQt5ServiceSupport_debug.la
QtPositioning.framework libQt5DeviceDiscoverySupport_debug.prl libQt5ServiceSupport_debug.prl
QtPositioningQuick.framework libQt5EdidSupport.a libQt5ThemeSupport.a
QtPrintSupport.framework libQt5EdidSupport.la libQt5ThemeSupport.la
QtPurchasing.framework libQt5EdidSupport.prl libQt5ThemeSupport.prl
QtQml.framework libQt5EdidSupport_debug.a libQt5ThemeSupport_debug.a
QtQmlModels.framework libQt5EdidSupport_debug.la libQt5ThemeSupport_debug.la
QtQmlWorkerScript.framework libQt5EdidSupport_debug.prl libQt5ThemeSupport_debug.prl
QtQuick.framework libQt5EventDispatcherSupport.a libQt5UiTools.a
QtQuick3D.framework libQt5EventDispatcherSupport.la libQt5UiTools.la
QtQuick3DAssetImport.framework libQt5EventDispatcherSupport.prl libQt5UiTools.prl
QtQuick3DRender.framework libQt5EventDispatcherSupport_debug.a libQt5UiTools_debug.a
QtQuick3DRuntimeRender.framework libQt5EventDispatcherSupport_debug.la libQt5UiTools_debug.la
QtQuick3DUtils.framework libQt5EventDispatcherSupport_debug.prl libQt5UiTools_debug.prl
QtQuickControls2.framework libQt5FbSupport.a libQtRepParser.prl
QtQuickParticles.framework libQt5FbSupport.la libQtRepParser_debug.prl
QtQuickShapes.framework libQt5FbSupport.prl libQtUiPlugin.prl
QtQuickTemplates2.framework libQt5FbSupport_debug.a libQtUiPlugin_debug.prl
QtQuickTest.framework libQt5FbSupport_debug.la libQtWebEngineCore.prl
QtQuickWidgets.framework libQt5FbSupport_debug.prl libQtWebEngineCore_debug.prl
QtRemoteObjects.framework libQt5FontDatabaseSupport.a libqtfreetype.a
QtRepParser.framework libQt5FontDatabaseSupport.la libqtfreetype.prl
QtScript.framework libQt5FontDatabaseSupport.prl libqtfreetype_debug.a
QtScriptTools.framework libQt5FontDatabaseSupport_debug.a libqtfreetype_debug.prl
QtScxml.framework libQt5FontDatabaseSupport_debug.la libqtlibpng.a
QtSensors.framework libQt5FontDatabaseSupport_debug.prl libqtlibpng.prl
QtSerialBus.framework libQt5GraphicsSupport.a libqtlibpng_debug.a
QtSerialPort.framework libQt5GraphicsSupport.la libqtlibpng_debug.prl
QtSql.framework libQt5GraphicsSupport.prl pkgconfig
QtSvg.framework libQt5GraphicsSupport_debug.a
QtTest.framework libQt5GraphicsSupport_debug.la