WindowsPhone : "This API is not supported for this application type"



  • Hello guys
    I'm using Qt 5.5 for a game on Windows Phone 8.1, using QOpenGLWindow.
    I build using Visual Studio 2013.
    It does work fine, i can play the game in emulator, but when I send the build to the Microsoft Store, it's rejected because of this :

    This API is not supported for this application type - Api=11. Module=libglesv2.dll. File=MyApp.exe.
    This API is not supported for this application type - Api=7. Module=libglesv2.dll. File=MyApp.exe.
    This API is not supported for this application type - Api=??0QByteArray@@QAA@ABV0@@Z. Module=qt5core.dll. File=MyApp.exe.
    This API is not supported for this application type - Api=??0QByteArray@@QAA@PBDH@Z. Module=qt5core.dll. File=MyApp.exe.
    This API is not supported for this application type - Api=??0QChar@@QAA@D@Z. Module=qt5core.dll. File=MyApp.exe.
    This API is not supported for this application type - Api=??0QChar@@QAA@H@Z. Module=qt5core.dll. File=MyApp.exe.

    Actually there is 400 lines like this, all complaining about qt dlls "not supported for this application type "

    Is someone know or guess what I should do?

    Thanks a lot for your help



  • From my experience I would try to contact Microsoft with this as well. They run the Application Certification Kit over the app and this kit sometimes produces erroneous results (for instance with one of my apps the kit 3.3 reported "unsupported API usage", in version 3.4 all tests passed, and in the latest update I get the "unsupported API usage" again).



  • thanks, i'm going to try to tell them, I'll tell how it goes :-)



  • Microsoft answer:
    "Thank you for the response and clarifying which DLLs are being kicked back. Is the Qt DLL essentially a DLL bundle? If there are any APIs included in this that are restricted, then that is likely the reason for failing."

    I don't know what i can answer them back, nor what I should do... :-/



  • After doing cleaning, removing unused dlls, and modifying the visual vcxproj it finally works, i'm not quiet sure why... But it's ok now!


Log in to reply
 

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