At this moment, I've successfully managed to run the calculator example that comes with Qt Creator under iOS apps section through the Simulator and the actual iPhone (ie in my case iPhone 5s). Qt insists that the provisioning profile must be provided. I've provided an ad-hoc provisioning profile with the following setting
When I run the project it shows me this message
No profiles for 'com.test.profile.calculator' were
found:-1: error: Xcode couldn't find a provisioning profile matching
'com.test.profile.calculator'.
It insists on using this profile com.test.profile.calculator
whereas in the setting I've provided my own. I went to the folder where the Xcode project has been generated and I did run it. It works and the app has been deployed successfully to my iPhone 5s. My question is how can I change the provisioning profile name? There is nothing in .pro
regarding this issue.
QT += widgets
HEADERS = button.h \
calculator.h
SOURCES = button.cpp \
calculator.cpp \
main.cpp
# install
target.path = $$[QT_INSTALL_EXAMPLES]/widgets/widgets/calculator
INSTALLS += target
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.