Qt 4.8.4 on MAC with openssl 0.9.8 Crash
-
Wait... You application crashes when not started from QtCreator ?
Did you run macdeployqt ?
-
What does otool -L return ?
-
@@Gregorys-MacBook-Pro:bin Greg$ otool -L xtuple.app/Contents/MacOS/xtuple
xtuple.app/Contents/MacOS/xtuple:
@executable_path/../Frameworks/QtDesignerComponents.framework/Versions/4/QtDesignerComponents (compatibility version 4.8.0, current version 4.8.4)
/usr/lib/libz.1.dylib (compatibility version 1.0.0, current version 1.2.5)
@executable_path/../Frameworks/QtHelp.framework/Versions/4/QtHelp (compatibility version 4.8.0, current version 4.8.4)
@executable_path/../Frameworks/QtSql.framework/Versions/4/QtSql (compatibility version 4.8.0, current version 4.8.4)
@executable_path/../Frameworks/QtCore.framework/Versions/4/QtCore (compatibility version 4.8.0, current version 4.8.4)
@executable_path/../Frameworks/QtGui.framework/Versions/4/QtGui (compatibility version 4.8.0, current version 4.8.4)
@executable_path/../Frameworks/QtNetwork.framework/Versions/4/QtNetwork (compatibility version 4.8.0, current version 4.8.4)
@executable_path/../Frameworks/QtWebKit.framework/Versions/4/QtWebKit (compatibility version 4.9.0, current version 4.9.3)
@executable_path/../Frameworks/QtScript.framework/Versions/4/QtScript (compatibility version 4.8.0, current version 4.8.4)
@executable_path/../Frameworks/QtScriptTools.framework/Versions/4/QtScriptTools (compatibility version 4.8.0, current version 4.8.4)
@executable_path/../Frameworks/QtXmlPatterns.framework/Versions/4/QtXmlPatterns (compatibility version 4.8.0, current version 4.8.4)
@executable_path/../Frameworks/QtXml.framework/Versions/4/QtXml (compatibility version 4.8.0, current version 4.8.4)
@executable_path/../Frameworks/QtDesigner.framework/Versions/4/QtDesigner (compatibility version 4.8.0, current version 4.8.4)
/usr/lib/libstdc++.6.dylib (compatibility version 7.0.0, current version 52.0.0)
/usr/lib/libgcc_s.1.dylib (compatibility version 1.0.0, current version 1094.0.0)
/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 159.1.0)@@ -
Check also that your dependencies are correctly linked to the libs in your bundle
-
Have a look at everything that doesn't start with @executable_path. Also, do you use some external lib like Qwt or Qxt ?
-
I apologize for the late response (almost a month now) but I took a look at each of the libraries that didn't start with @executable_path and didn't find any inconsistencies besides this:
<code>
otool -L /usr/lib/libSystem.B.dylib
/usr/lib/libSystem.B.dylib:
/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, version 125.1.11)
/usr/lib/system/libmathCommon.A.dylib (compatibility version 1.0.0 current version 315.0.0)
</code>libmathCommon.A.dylib is not currently included in our .app bundle. We do not currently use Qwt or Qxt.
Regards,
Greg -
Sorry for the late reply, I reread the error message and it seams to look at Frameworks and libraries outside frameworks.
You might want to check with otool the libs in the frameworks inside your bundle
-
It seems we were running into this bug running qt 4.8.4 and mac osx 10.6: