Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. 3rd Party Software
  4. Qt 4.8.4 on MAC with openssl 0.9.8 Crash
Forum Updated to NodeBB v4.3 + New Features

Qt 4.8.4 on MAC with openssl 0.9.8 Crash

Scheduled Pinned Locked Moved 3rd Party Software
13 Posts 2 Posters 5.7k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • G Offline
    G Offline
    gpazo
    wrote on last edited by
    #3

    The error might somewhere else. From your “Error Context” your compiling with one version of Qt while executing with another one (and it seems framework vs pure library)

    I'm not sure I follow this. Framework vs pure library?

    Did you installed correctly your Qt 4.8.4 ? and why -prefix install is empty ?

    I believe so, I am able to compile and run my application. prefix-install I assumed was a required configure option

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #4

      Wait... You application crashes when not started from QtCreator ?

      Did you run macdeployqt ?

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      0
      • G Offline
        G Offline
        gpazo
        wrote on last edited by
        #5

        Yes currently I start the application from terminal via /xtuple.app/Contents/MacOS/xtuple and I have ran macdeployqt with no success. The application will still crash with a segmentation fault at startup. Any other ideas?

        1 Reply Last reply
        0
        • SGaistS Offline
          SGaistS Offline
          SGaist
          Lifetime Qt Champion
          wrote on last edited by
          #6

          What does otool -L return ?

          Interested in AI ? www.idiap.ch
          Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

          1 Reply Last reply
          0
          • G Offline
            G Offline
            gpazo
            wrote on last edited by
            #7

            @@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)@@

            1 Reply Last reply
            0
            • SGaistS Offline
              SGaistS Offline
              SGaist
              Lifetime Qt Champion
              wrote on last edited by
              #8

              Check also that your dependencies are correctly linked to the libs in your bundle

              Interested in AI ? www.idiap.ch
              Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

              1 Reply Last reply
              0
              • G Offline
                G Offline
                gpazo
                wrote on last edited by
                #9

                Everything seems to look okay running otool -L on the individual libraries in the bundle. Is there a way to check if external dependencies are being linked in?

                1 Reply Last reply
                0
                • SGaistS Offline
                  SGaistS Offline
                  SGaist
                  Lifetime Qt Champion
                  wrote on last edited by
                  #10

                  Have a look at everything that doesn't start with @executable_path. Also, do you use some external lib like Qwt or Qxt ?

                  Interested in AI ? www.idiap.ch
                  Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

                  1 Reply Last reply
                  0
                  • G Offline
                    G Offline
                    gpazo
                    wrote on last edited by
                    #11

                    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

                    1 Reply Last reply
                    0
                    • SGaistS Offline
                      SGaistS Offline
                      SGaist
                      Lifetime Qt Champion
                      wrote on last edited by
                      #12

                      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

                      Interested in AI ? www.idiap.ch
                      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

                      1 Reply Last reply
                      0
                      • G Offline
                        G Offline
                        gpazo
                        wrote on last edited by
                        #13

                        It seems we were running into this bug running qt 4.8.4 and mac osx 10.6:

                        https://bugreports.qt-project.org/browse/QTBUG-15344?page=com.atlassian.jira.plugin.system.issuetabpanels:changehistory-tabpanel

                        1 Reply Last reply
                        0

                        • Login

                        • Login or register to search.
                        • First post
                          Last post
                        0
                        • Categories
                        • Recent
                        • Tags
                        • Popular
                        • Users
                        • Groups
                        • Search
                        • Get Qt Extensions
                        • Unsolved