[Interest] Crash due to missing symbol
Elvis Stansvik
elvstone at gmail.com
Sat Jun 6 12:33:34 CEST 2020
Den lör 6 juni 2020 kl 08:54 skrev Alexander Carôt <alexander_carot at gmx.net>:
>
> Hi Ben and all,
>
> thanks for the quick reply. In fact I am using two Qt versions - one for recent and one for older OSX. For the older ones I am using Qt5.9.2 and so far this had been working until now. Furthermore, I am compiling my app via qmake / make on the terminal and don't use XCode. In case you have further ideas please let me know.
When building using QMake from command line, you can use e.g.
qmake QMAKE_MACOSX_DEPLOYMENT_TARGET=10.12
to set the deployment target version.
Remember to check the supported target versions for the Qt you're using:
- Qt 5.12: https://doc.qt.io/qt-5.12/macos.html#supported-versions
- Qt 5.14: https://doc.qt.io/qt-5.14/macos.html#supported-versions
- Qt 5.15: https://doc.qt.io/qt-5.15/macos.html#supported-versions
In short: The minimum for Qt 5.12 is macOS 10.12, while for Qt 5.14
and Qt 5.15 it's macOS 10.13.
I'm not sure what the minimum for Qt 5.9 was, but I believe it may
have been macOS 10.10.
Cheers,
Elvis
>
> Best
>
> Alex
>
>
> --
> http://www.carot.de
> Email : Alexander at Carot.de
> Tel.: +49 (0)177 5719797
>
>
> > Gesendet: Freitag, 05. Juni 2020 um 22:03 Uhr
> > Von: "Ben Haller" <bhaller at mac.com>
> > An: "Alexander Carôt" <alexander_carot at gmx.net>
> > Cc: "qt qt" <interest at qt-project.org>
> > Betreff: Re: [Interest] Crash due to missing symbol
> >
> > Hi Alex. Do you have the “deployment target” set to 10.10, not 10.14, in your project? In Xcode this is in the project settings; in Qt Creator it’s a setting in the .pro file. You can’t set it to be any earlier than the Qt version you are running against, however, or precisely this sort of thing will happen. If you need to run on older OS X versions, you need to make sure the Qt version you’re using is compatible with those older versions. (I forget where this information is, but Google always finds it for me. :->)
> >
> > Cheers,
> > -B.
> >
> > Benjamin C. Haller
> > Messer Lab
> > Cornell University
> >
> >
> > > On Jun 5, 2020, at 3:55 PM, Alexander Carôt <alexander_carot at gmx.net> wrote:
> > >
> > > Hi all,
> > >
> > > when running my Qt app (compiled on Catalona with SDK10.15) on older OSX < 10.14 down to 10.10 I get the following crash when initializing the audio interface:
> > >
> > > Termination Reason: DYLD, [0x4] Symbol missing
> > >
> > > Dyld Error Message:
> > > Symbol not found: ____chkstk_darwin
> > > Referenced from: /Applications/soundjack.app/Contents/MacOS/soundjack
> > > Expected in: /usr/lib/libSystem.B.dylib
> > >
> > > Does anyone know how to debug this ?
> > >
> > > Thanks in advance,
> > > best
> > >
> > > Alex
> > >
> > > --
> > > http://www.carot.de
> > > Email : Alexander at Carot.de
> > > Tel.: +49 (0)177 5719797
> > >
> > > _______________________________________________
> > > Interest mailing list
> > > Interest at qt-project.org
> > > https://lists.qt-project.org/listinfo/interest
> >
> >
> _______________________________________________
> Interest mailing list
> Interest at qt-project.org
> https://lists.qt-project.org/listinfo/interest
More information about the Interest
mailing list