You probably heard, that Apple recently relaxed their SDK agreement, (probably out of concern regarding antitrust investigations). So some major blockers were removed. (There is still a limitation on Apple WebKit for downloaded scripts, but not for local anymore, so QtScript should be legit. Of course in the end it's up to their store approval to decide, but we are talking about legal concerns of using their SDK, not about approval itself. I.e. it may be legal, but not approved, for example because of some side reasons. In such cases one can use Cydia app store for example, etc.

Here is an example of what they changed:

OLD:
3.3.1 Applications may only use Documented APIs in the manner prescribed by Apple and must not use or call any private APIs. Applications must be originally written in Objective-C, C, C++, or JavaScript as executed by the iPhone OS WebKit engine, and only code written in C, C++, and Objective-C may compile and directly link against the Documented APIs (e.g., Applications that link to Documented APIs through an intermediary translation or compatibility layer or tool are prohibited).
NEW:
3.3.1 Applications may only use Documented APIs in the manner prescribed by Apple and must not use or call any private APIs.