Qt 5.6 beta cannot build iOS apps that run on devices lower than 9.x ? Runtime error : [UITraitCollection forceTouchCapability]: unrecognized selector sent to instance?



  • Hi,
    I've tried building hello world with Qt 5.6 beta for iOS using Xcode 7.2 on El Capitain. But at runtime if I use a non-iOS 9.x device, I get an error about an unsupported forceTouchCapability in the Application Output:

    Starting remote process.
    QML debugging is enabled. Only use this in a safe environment.
    2016-01-25 17:12:57.506 tryit56[346:47073] -[UITraitCollection forceTouchCapability]: unrecognized selector sent to instance 0x156414b0
    program received signal -111, thread:b7e1;qaddr:37ad8ad0;00:00000000;01:00000000;02:ffffffff;03:00000000;04:00000000;05:b1f9af00;06:02000000;07:b03a0e02;08:e0c46415;09:02000000;0a:2409f02a;0b:04c56415;0c:8c68dd00;0d:603a0e02;0e:57083f00;0f:f6c43f00;10:30000040;metype:1;mecount:2;medata:1;medata:0;
    program received signal -111, thread:b7e1;qaddr:37ad8ad0;00:00000000;01:00000000;02:ffffffff;03:00000000;04:00000000;05:b1f9af00;06:02000000;07:b03a0e02;08:e0c46415;09:02000000;0a:2409f02a;0b:04c56415;0c:8c68dd00;0d:603a0e02;0e:57083f00;0f:f6c43f00;10:30000040;metype:1;mecount:2;medata:1;medata:0;
    program received signal -111, thread:b7e1;qaddr:37ad8ad0;00:00000000;01:00000000;02:ffffffff;03:00000000;04:00000000;05:b1f9af00;06:02000000;07:b03a0e02;08:e0c46415;09:02000000;0a:2409f02a;0b:04c56415;0c:8c68dd00;0d:603a0e02;0e:57083f00;0f:f6c43f00;10:30000040;metype:1;mecount:2;medata:1;medata:0;
    program received signal -111, thread:b7e1;qaddr:37ad8ad0;00:00000000;01:00000000;02:ffffffff;03:00000000;04:00000000;05:b1f9af00;06:02000000;07:b03a0e02;08:e0c46415;09:02000000;0a:2409f02a;0b:04c56415;0c:8c68dd00;0d:603a0e02;0e:57083f00;0f:f6c43f00;10:30000040;metype:1;mecount:2;medata:1;medata:0;
    program received signal -111, thread:b7e1;qaddr:37ad8ad0;00:00000000;01:00000000;02:ffffffff;03:00000000;04:00000000;05:b1f9af00;06:02000000;07:b03a0e02;08:e0c46415;09:02000000;0a:2409f02a;0b:04c56415;0c:8c68dd00;0d:603a0e02;0e:57083f00;0f:f6c43f00;10:30000040;metype:1;mecount:2;medata:1;medata:0;
    program received signal -111, thread:b7e1;qaddr:37ad8ad0;00:00000000;01:00000000;02:ffffffff;03:00000000;04:00000000;05:b1f9af00;06:02000000;07:b03a0e02;08:e0c46415;09:02000000;0a:2409f02a;0b:04c56415;0c:8c68dd00;0d:603a0e02;0e:57083f00;0f:f6c43f00;10:30000040;metype:1;mecount:2;medata:1;medata:0;
    hit maximum number of consecutive signals, stopping
    Run ended.

    Has anyone else run into this problem?

    If I use Qt 5.5.1 then the app runs fine using the same build hw and device.

    I've raised a Qt bug about this too:
    https://bugreports.qt.io/browse/QTBUG-50650

    Any thoughts welcome...

    Andrew Haigh



  • Looks like this bug has been found and fixed since 5.6 beta was released. I will double-check but then likely this should be marked as answered and fix will be in 5.6 release version :)

    Andrew Haigh


Log in to reply
 

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