-
Notifications
You must be signed in to change notification settings - Fork 14
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
success compiled, but can load the qt library. #7
Comments
(base) JerryWs-MacBook-Pro:examples jerryw$ still can not find libs file properly (base) JerryWs-MacBook-Pro:examples jerryw$ cargo run --bin form1 Finished dev [unoptimized + debuginfo] target(s) in 0.10s Abort trap: 6 (base) JerryWs-MacBook-Pro:examples jerryw$ cargo run --bin form1 and finally works! 💆 I just luckily that anaconda have these QT dylib files. My question is Why Qt build from source can not have these dylib files, Do I need some special config for build QT for Mac OS ? |
Looks like the build script failed to detect that Qt is built in framework mode. How did you build and install Qt? Is Please show output of these commands:
|
I build my Qt from the source code repository. Actually I run the qmake -query, it is output And my build version is at /usr/local I guess, the PATH environment lets qmake find Qt Library from Anaconda stuffs. echo $PATH and my PATH environment also looks not correct ... |
The
You should also set
|
Yes, after I set these environment variables. |
Have you tried running Are you able to build and run C++ Qt projects (e.g. examples bundled with Qt) using this Qt build? |
I just struggled with this same error for a few hours. I finally figured something out. Try this:
Make sure I can now do |
Man, you have just saved me. |
Why rust even generates dependencies with @rpath? I had an issue with |
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
The text was updated successfully, but these errors were encountered: