specifying QMAKE_MACOSX_DEPLOYMENT_TARGET doesn't work?



  • when i specify this:

    QMAKE_MACOSX_DEPLOYMENT_TARGET = 10.9
    

    my app still fails to run on 10.9. runs fine on 10.12.

    here's the error i get:

    Application Specific Information:
    *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '+[NSGraphicsContext graphicsContextWithCGContext:flipped:]: unrecognized selector sent to class 0x7fff757ff8f8'
    terminating with uncaught exception of type NSException
    abort() called
    
    Application Specific Backtrace 1:
    0   CoreFoundation                      0x00007fff8e27b25c __exceptionPreprocess + 172
    1   libobjc.A.dylib                     0x00007fff8c626e75 objc_exception_throw + 43
    2   CoreFoundation                      0x00007fff8e27e02d +[NSObject(NSObject) doesNotRecognizeSelector:] + 205
    3   CoreFoundation                      0x00007fff8e1d9272 ___forwarding___ + 1010
    4   CoreFoundation                      0x00007fff8e1d8df8 _CF_forwarding_prep_0 + 120
    5   QtWidgets                           0x000000010b4020e3 _ZN23QPixmapDropShadowFilter11qt_metacallEN11QMetaObject4CallEiPPv + 8611
    6   QtWidgets                           0x000000010b40f117 _ZN23QPixmapDropShadowFilter11qt_metacallEN11QMetaObject4CallEiPPv + 61911
    7   QtWidgets                           0x000000010b40a480 _ZN23QPixmapDropShadowFilter11qt_metacallEN11QMetaObject4CallEiPPv + 42304
    8   QtWidgets                           0x000000010b20cca4 _ZN20QWidgetResizeHandler11qt_metacallEN11QMetaObject4CallEiPPv + 676
    9   QtWidgets                           0x000000010b20cab9 _ZN20QWidgetResizeHandler11qt_metacallEN11QMetaObject4CallEiPPv + 185
    10  QtWidgets                           0x000000010b41b700 _ZN23QPixmapDropShadowFilter11qt_metacallEN11QMetaObject4CallEiPPv + 112576
    11  QtWidgets                           0x000000010b056bdd _ZN19QApplicationPrivate13notify_helperEP7QObjectP6QEvent + 269
    12  QtWidgets                           0x000000010b0594ac _ZN12QApplication6notifyEP7QObjectP6QEvent + 5852
    13  QtCore                              0x000000010bd069f4 _ZN16QCoreApplication15notifyInternal2EP7QObjectP6QEvent + 164
    14  QtWidgets                           0x000000010b054aa7 _ZN19QApplicationPrivate14setFocusWidgetEP7QWidgetN2Qt11FocusReasonE + 471
    15  QtWidgets                           0x000000010b08cd4a _ZN7QWidget8setFocusEN2Qt11FocusReasonE + 618
    16  QtWidgets                           0x000000010b055ac8 _ZN12QApplication15setActiveWindowEP7QWidget + 1096
    17  QtWidgets                           0x000000010b055eb2 _ZN19QApplicationPrivate24notifyActiveWindowChangeEP7QWindow + 50
    18  QtGui                               0x000000010b63ba52 _ZN22QGuiApplicationPrivate21processActivatedEventEPN29QWindowSystemInterfacePrivate20ActivatedWindowEventE + 626
    19  QtGui                               0x000000010b62025b _ZN22QWindowSystemInterface22sendWindowSystemEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE + 155
    20  QtGui                               0x000000010b61c65c _ZN22QWindowSystemInterface23flushWindowSystemEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE + 572
    21  libqcocoa.dylib                     0x000000010d90c76c qt_plugin_instance + 87756
    22  libqcocoa.dylib                     0x000000010d90613a qt_plugin_instance + 61594
    23  QtCore                              0x000000010bd10bf0 _ZNK11QMetaMethod6invokeEP7QObjectN2Qt14ConnectionTypeE22QGenericReturnArgument16QGenericArgumentS5_S5_S5_S5_S5_S5_S5_S5_S5_ + 1360
    24  libqcocoa.dylib                     0x000000010d908f8c qt_plugin_instance + 73452
    25  Foundation                          0x00007fff86c8b5b7 -[__NSObserver _doit:] + 300
    26  CoreFoundation                      0x00007fff8e249e0c __CFNOTIFICATIONCENTER_IS_CALLING_OUT_TO_AN_OBSERVER__ + 12
    27  CoreFoundation                      0x00007fff8e13d82d _CFXNotificationPost + 2893
    28  Foundation                          0x00007fff86c6bdda -[NSNotificationCenter postNotificationName:object:userInfo:] + 68
    29  AppKit                              0x00007fff87a3fece -[NSWindow _setFrameCommon:display:stashSize:] + 1779
    30  AppKit                              0x00007fff87a6fd09 -[NSWindow _reallyDoOrderWindow:relativeTo:findKey:forCounter:force:isModal:] + 1543
    31  AppKit                              0x00007fff87a6f460 -[NSWindow _doOrderWindow:relativeTo:findKey:forCounter:force:isModal:] + 786
    32  AppKit                              0x00007fff87a6f0e0 -[NSWindow orderWindow:relativeTo:] + 162
    33  AppKit                              0x00007fff87a60686 -[NSWindow makeKeyAndOrderFront:] + 51
    34  libqcocoa.dylib                     0x000000010d903234 qt_plugin_instance + 49556
    35  QtGui                               0x000000010b644142 _ZN7QWindow10setVisibleEb + 1010
    36  QtWidgets                           0x000000010b08ea2c _ZN14QWidgetPrivate8show_sysEv + 876
    37  QtWidgets                           0x000000010b08f931 _ZN14QWidgetPrivate11show_helperEv + 417
    38  QtWidgets                           0x000000010b09052c _ZN7QWidget10setVisibleEb + 956
    39  kJams 2 Debug                       0x000000010afab99c main + 76
    40  libdyld.dylib                       0x00007fff894cc5fd start + 1
    

  • Lifetime Qt Champion

    Hi,

    Which version of Qt are you using ?



  • latest: Creator 4.3.1 Based on Qt 5.9.1

    this seems like a major bug?


  • Lifetime Qt Champion

    No it's not, Qt 5.9.1 lowest deployment target is 10.10.

    See this page for information about the lowest target you can have per Qt version.



  • well now i just feel derpy!


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.